webForumDet fria alternativet

Samma felmeddelande på olika Cms

.NET

1 svar · 372 visningar · startad av J07

Medlem sedan maj 2007172 inlägg
Frågan#1

Har installerat ett antal asp.net cms men får samma fel på de 3 första jag testar. Vad kan vara fel? Se fel meddelande:

Server Error in '/Inetpub' 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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 2:  <configuration>
Line 3:      <system.web>
Line 4:          <roleManager enabled="true" />
Line 5:      </system.web>
Line 6:  </configuration>

Source File: C:\Inetpub\wwwroot\web.config    Line: 4

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
Medlem sedan nov. 20011 551 inlägg
#2

Har du skapat virtual directories för dem då? Är det lokalt på en devserver så får du gå in på iis:en och högerklicka på mappen, skapa nytt V D och sen kan du köra skulle jag gissa...

Du kan annars läsa lite här te x: http://geekswithblogs.net/ranganh/archive/2005/04/25/37609.aspx

Är det hos din leverantör så är du i mer klister, om du nu vill ha dem i undermappar...

jag misstänker att de kommer att gå att köra var för sig under roten på webhotellet annars :)

Lycka till

262 ms totalt · 4 externa anrop · v20260731065814-full.a51de22e
130 ms — deklarationer (db)
0 ms — hämta statistik (cache)
129 ms — hämta tråd, inlägg och bilagor (db)
129 ms — ändringar (db)