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()
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 1, 2021, 12:13 AM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Mar 1, 2021, 1:14 AM EST
Guest User140 reputationPosted Mar 1, 2021, 1:24 AM EST
Guest User140 reputationPosted Mar 1, 2021, 1:26 AM EST
Guest User140 reputationPosted Mar 1, 2021, 1:28 AM EST
Guest User140 reputationPosted Mar 5, 2021, 5:02 AM EST
Guest User140 reputationPosted Mar 5, 2021, 5:09 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Mar 1, 2021, 12:34 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts