1

I have inherited an app....

When I try to run it locally it works great when I use Local IIS Web Server IIS Express. :

"http://localhost:port/"

When I try to use IIS7.5 I get the below stated error. :

This method cannot be called during the application's pre-start initialization stage

I have seen these posts but none of them have helped. :

ASP.NET: This method cannot be called during the application's pre-start initialization stage

asp.net 4.5 custom membership provider configuration throws strange exception

I already have these in my web.config. :

<add key="enableSimpleMembership" value="false"/>
<add key="autoFormsAuthentication" value="false"/>

And I have checked for these in my bin folders and they are not to be found. :

WebMatrix.WebData.dll and WebMatrix.Data.dll

Confused at the moment as the developer of this fairly large application is no longer available to contact. So attempting to figure out how to run this application locally but have been stuck at this point for quite some time.

Community
  • 1
  • 1
Bill Blankenship
  • 3,316
  • 6
  • 43
  • 73

0 Answers0