开发者

Publish web site in IIS 7.0

I want to publish my ASP.net based web page on Windows 7 machine.But,I got continually an error inside the below code.

<sessionState mode="Inproc" timeout="30"></sessionState>

Error Message:

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:

<sessionState mode="Inproc" timeout="30"></sessionState>

How to get rid of this problem?


The clue lies in the error message:

This error can be caused by a virtual directory not being configured as an application in IIS.

Have you created an "Application" for it in IIS? Does the website's node in IIS look like a folder or a globe?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜