Guest User

Guest User

  • Tech Writer
  • 111
  • 15.7k

When i browse the ASP.net Web application in c# language getting error

Mar 1 2021 4:50 AM
When i browse the ASP.net Web application in c# language getting error in the Microsoft.Web.Administration.ConfigurationManager throws in an error.
 
Same installation is working fine in others system.
 
this below information is from the Trace.
 
application information:
Application domain: /LM/W3SVC/1/ROOT/WebSaturne-1-132585640402927230
Trust level: Full
Application Virtual Path: /WebSaturne
Application Path: C:\inetpub\wwwroot\WebSaturne\
Machine name: AZNE-S10DUWB
Process information:
Process ID: 5236
Process name: w3wp.exe
Account name: IIS APPPOOL\ClassicWebSaturne
Exception information:
Exception type: TypeInitializationException
Exception message: The type initializer for 'Microsoft.Web.Administration.ConfigurationManager' threw an exception.
at Microsoft.Web.Administration.ConfigurationManager.get_IisBinPath()
at Microsoft.Web.Administration.WebConfigurationManager..cctor()
Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.Web.Administration.ConfigurationManager..cctor()
Request information:
Request URL: http://azne-s10duwb.ms.itron.com/websaturne
Request path: /websaturne
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\ClassicWebSaturne
Thread information:
Thread ID: 3
Thread account name: IIS APPPOOL\ClassicWebSaturne
Is impersonating: False
Stack trace: at Microsoft.Web.Administration.ConfigurationManager.get_IisBinPath()
at Microsoft.Web.Administration.WebConfigurationManager..cctor()

Attachment: websaturneissue.zip

Answers (8)