Workflow Soluiton

 View Only
  • 1.  7.1 workflow deployed but not showing images, css or static files

    Posted Sep 27, 2011 11:47 AM

    I'm a web developer and yet I'm stumped by this:

    I can run our workflow in Debug mode in the designer with all the themes images and css just fine, but when I deploy the workflow locally to IIS7 on the same machine (Windows Server 8 64bit), the workflow works but there are no images, css, and the static html "end page" isn't served, just a blank page.  Those items are all deployed in the virtual directory, but IIS refuses to serve them, even when manaully pointed at by the browser.  All file permissons look correct. and IIS administrator settings seem normal. 

    How is IIS7 supposed to be configured for shared content?   What about the Sym* folders? 



  • 2.  RE: 7.1 workflow deployed but not showing images, css or static files

    Posted Sep 27, 2011 12:02 PM

    Images and css not loading seems like a MIME types issue. I'd verify in IIS that the Default Web site (and any children) serve these extensions as static files.



  • 3.  RE: 7.1 workflow deployed but not showing images, css or static files

    Posted Sep 27, 2011 12:48 PM

    Of course, immediately after posting my problem I stumbled upon the solution.  Our IIS7 "static content" feature was not enabled by default when they built our server.  A web server that doesn't serve pages... I'm sure it's a security feature.

    Anyway, here is a link with screenshots to show how to enable IIS7 to serve static content like images and pages.

    http://brendan.enrick.com/post/IIS-7-Not-Serving-Static-Files.aspx