locked
VS Elevated mode RRS feed

  • Question

  • A number of the lab exercises for WF / WCF warn that you need to be running VS 2010 in elevated mode.  But not all exercises have this warning.

    What makes some exercises require elevated mode (is it certain activity types?) while some exercises do not?
    Tuesday, July 7, 2009 5:01 PM

Answers

  • Hi Notre,
    You will also see issues within VS when attempting to create a IIS hosted service as IIS requires elevated perimissions as well.

    Thanks,
    Amy
    Monday, July 13, 2009 6:57 AM

All replies

  • Try and you will see...

    From my experience the problems are self-hosted services. WorkflowServiceHost uses http.sys, which places some restrictions on allowed urls for non-adminstrators.

    My suggestion for tests and tutorials is, instead of using the elevated mode, replace the path for the service with one of the predefined urls. E.g.

    http://localhost/Temporary_Listen_Addresses/myService
    Tuesday, July 7, 2009 5:28 PM
  • Thanks for the reply Martin. 

    So, am I to understand then you are saying that the 'requirement' for some of the exercises to use Adminstrative rights is really restricted to running some of the workflows (rather than designing them in VS) and is really related to the URLs used in WCF communication?
    Wednesday, July 8, 2009 8:35 PM
  • Hi Notre,
    You will also see issues within VS when attempting to create a IIS hosted service as IIS requires elevated perimissions as well.

    Thanks,
    Amy
    Monday, July 13, 2009 6:57 AM