Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Server Error in '/asp.netwebadminfiles' Application.

$
0
0

Hello. I have been trying to get Visual Studio 2010/2012 Express up and running with IIS 8 and ASP.NET 4.5 on my Windows 8 machine.

So, I came across this problem after trying to do a simple tutorial here http://msdn.microsoft.com/en-us/library/879kf95c(VS.100).aspx.  I got to the section Configuring Membership and they asked me to open the ASP.NET Website Administration Tool by going through the Website Menu and clicking on ASP.NET Configuration, which gives me the following error page in my brower:

Server Error in '/asp.netwebadminfiles' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Could not load type 'System.Web.Administration.WebAdminModule'. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\asp.netwebadminfiles\web.config line 10)

Source Error: 

Line 8:          </membership>
Line 9:          <httpModules>Line 10: <add name="WebAdminModule" type="System.Web.Administration.WebAdminModule"/> Line 11:         </httpModules>
Line 12:         <authentication mode="Windows"/>

Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\asp.netwebadminfiles\web.config    Line: 10 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045

I have been scouring the internet for 2 days now trying to figure out how to solve the issue. I have uninstalled/installed .NET 3/4 and tried various things in the IIS manager including changing the ApplicationPool settings to every different permutation possible.  If anyone could lead me in the correct path for how to approach fixing this issue please let me know.

-- The type "System.Web.Administration.WebAdminModule" is defined in a WebAdminPage.cs in the location C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NETWebAdminFiles\App_Code if that helps at all. And the webconfig file itself is:

<configuration>
  <system.web>
    <compilation targetFramework="4.5" />
      <membership>
        <providers>
          <add name="WebAdminMembershipProvider" type="System.Web.Administration.WebAdminMembershipProvider" />
        </providers>
      </membership>
      <httpModules>
        <add name="WebAdminModule" type="System.Web.Administration.WebAdminModule"/>
      </httpModules>
      <authentication mode="Windows"/>
      <authorization>
        <deny users="?"/>
      </authorization>
      <identity impersonate="true"/>
      <trust level="Full"/>
      <pages validateRequest="true"/>
      <globalization uiCulture="auto:en-US" />
    </system.web>
  <system.webServer>
    <modules>
      <add name="WebAdminModule" type="System.Web.Administration.WebAdminModule" preCondition="managedHandler" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
</configuration>

Note: The WebAdminMembershipProvider class is defined in the same .cs file as WebAdminModule and doesn't give the error.


Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>