Web.Config Error?

S

Sam

I try to create login page name authentication.aspx and encounter following
error message.


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 5: </appSettings>
Line 6: <system.web>
Line 7: <authentication mode="Forms">
Line 8: <forms name="Intranet" loginUrl="authentication.aspx"
protection="All" path="/" timeout="20"/>
Line 9: </authentication>

Source File: c:\inetpub\wwwroot\JDE_Archival\authentication\web.config
Line: 7
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET
Version:1.0.3705.0

Location c:\inetpub\wwwroot\JDE_Archival\authentication\authentication.aspx

Please advise.
 
G

Guest

Hi Sam,,

Try to change your node <authentication mode=3D"Forms"> and run.

Are you using WinXP OS? Coz WinXP has restriction of having only one
application ie. root so install website into that root directory. If above
method doesn't work and u r using WinXP then try this method.

With Best Regards
Naveen K S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top