locked
Visual Studio Web Application Loads a Blank Page RRS feed

  • Question

  • User-691759321 posted

    I have a web application that runs perfectly fine, when I start Visual Studio as an administrator.  If I start the application normally and try to load the project the web page is blank with no generated HTML and the output window shows several critical DLLs as unloaded.  (See the log below).  I am using Visual Studio 2013 with the latest update.  I am using IIS Express for debugging mode.  I have disabled Browser Link.  My application is using impersonation with a general domain application account (i.e. MyDomain\MyUser).  This user has been added to the Administrators and IIS_IUSRS groups (the machine has been rebooted since).  When I disable impersonation the application appears to run fine.  This points me to an access issue for the impersonating user.  Any ideas what I need to do in order for the application user to run the application on my local machine?

    'iisexpress.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: Domain 2): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

    'iexplore.exe' (Script): Loaded 'Script Code (Windows Internet Explorer)'.

    'iisexpress.exe' (CLR v2.0.50727: Domain 2): Unloaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Unloaded 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Unloaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Unloaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Unloaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'

    'iisexpress.exe' (CLR v2.0.50727: /LM/W3SVC/11/ROOT-1-131060669501742709): Unloaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll'

    Monday, April 25, 2016 2:19 PM

Answers

  • User-166373564 posted

    Hi,

    When I disable impersonation the application appears to run fine.  This points me to an access issue for the impersonating user. 

    For this issue, I'd like to suggest you to check the procedure of implementing impersonation.

    To impersonate a specific user for all the requests on all pages of an ASP.NET application, you can specify the userName and password attributes in the <identity> tag of the Web.config file for that application. For example:

    <identity impersonate="true" userName="accountname" password="password" />

    Have a good day.

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 26, 2016 7:21 AM