View Single Post
  #1 (permalink)  
Old August 6th, 2009, 09:30 AM
msman88 msman88 is offline
Authorized User
Points: 437, Level: 7
Points: 437, Level: 7 Points: 437, Level: 7 Points: 437, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Feb 2008
Location: Tareem, Hadramout, Yemen.
Posts: 89
Thanks: 13
Thanked 0 Times in 0 Posts
Default <authentication mode="Forms"/>

i created a simple website without database or login part, and then uploaded it to the server , but gives 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 79: ASP.NET to identify an incoming user. Line 80: -->Line 81: <authentication mode="Forms"/>Line 82: <!--Line 83: The <customErrors> section enables configuration
Source File: D:\hshome\c259998\\new_directory\web.con fig Line: 81

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082