Problems with Rehosting work flow designer in ASP.NET example

Hi,

I am trying to run the example fromhttp://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,28601754-c305-4597-a0a6-48f32be1eddb.aspx.

When I try to run the page AsAControl.aspx it doesn't show the designer on the screen. When checking logs on IIS, I found that I was gettign error 500.

Running default.aspx doesn't show the workflow image.

Any ideas?

Thanks.

[625 byte] By [wwfnovice] at [2007-12-22]
# 1

What version of WF are you running? I think that sample was built on beta 2. You may have to modify the workflow to have public fields instead of private fields - among other things

Also - try debugging the project and see if you get any exceptions.

JonFlanders at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2
If it is a version problem - I've updated it against the June CTP - http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,3d9fa285-76a1-423c-b72e-eee82ed5002f.aspx
JonFlanders at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 3

Hi Jon,

I've downloaded and looked at your sample code for displaying the workflow image in a webpage. I'm not interested in providing editing capabilities in the web page, so my rehosting page simply needs to provide a readonly view of a workflow instance. I was able to implement a simple page that shows the workflow image as a png in an iframe. I do this by returning the byte stream from workflowView.SaveWorkflowImage(). However what I also want to do is apply a zooming or scaling factor to the workflowView _before_ it's saved and have the resulting image stream observe this. I also want to hook in a Glyph provider like the SDK WorkflowMonitor sample does, but this is not being called either. Is what I want to do possible? If so, can you - or any other designer re-host expert out there - possibly give me some tips for achieving this.

Many thanks

Steve

SteveNesbitt at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 4
Steve - if you download the atlas based tracking sample from my blog you can see the glyphs in use. i haven't tackled the zoom issue yet - so i am afraid I can't help you there.
JonFlanders at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified