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.
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.
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