Running ASP.NET Dev Server on Vista.... RRS feed

  • Question

  • User-1093115277 posted

     I just installed Web Dev Express 2008 on a work Vista machine, and I can't get the Dev Server to work.

    I have two different problems. Wierdly, if I create a "Web Site" and try to run it then I get an error that the Dev Server could not be contaced and I see that the server never even starts.

    However, if I create a "Project" and run it then the Dev Server does launch and I do connect to it, but then I get the error:

    Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
       System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0
       System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +42
       System.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase) +145
       System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) +73
       System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) +111
       System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) +279

    Its so easy getting ths all working on XP, and there seesms to be so little help on how to get this working on Vista. Any idea on what I need to do here?



    Thursday, August 13, 2009 11:05 AM


All replies

  • User-1853252149 posted

     Does this apply?



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 13, 2009 3:23 PM
  • User-1093115277 posted

     Could be, my project is in my Document folder which is mapped to a folder on the server. I'll try moving it to me local machine.



    Edit: Yes, that was it.

    Thursday, August 13, 2009 5:03 PM