web.config error

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
rezaeima
User
Posts: 1

web.config error

Post by rezaeima »

Hello
I am a beginner of asp.net maker , I made my project and run it with my localhost but I found the following error :

Server Error in '/' 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 26: </assemblies>
Line 27: </compilation>
Line 28: <sessionState mode="InProc" cookieless="false" timeout="20" />
Line 29: <identity impersonate="false" />
Line 30: <!-- GLOBALIZATION

Source File: C:\inetpub\wwwroot\amlaknet\web.config Line: 28

Anybody can help me to fix the above error ?
Thanks in advance
M.A.Rezaei


Webmaster
User
Posts: 9430

Post by Webmaster »

Make sure you configure your destination folder as an ASP.NET application. Read "Introduction to ASP.NET" and "Introduction to ASP.NET Web Pages (Razor)" in the help file.


Post Reply