Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/10/2005, 04:55
Avatar de Nombela
Nombela
 
Fecha de Ingreso: abril-2005
Mensajes: 611
Antigüedad: 19 años, 1 mes
Puntos: 1
Error de Servidor por el web.config

BUenas acabo de subir mi aplicacion a un servidor de internet, y me han asegurado puedo usar forms autetification pero al poner esto:

<authentication mode="Forms">
<forms loginUrl="SGC/login.aspx" protection="All" name="SGCAuthCookie" timeout="60" path="/" />
</authentication>

Me da este 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 50: por Microsoft que ofrece un inicio de sesión único y servicios de perfil principal para sitios miembro.
Line 51: -->
Line 52: <authentication mode="Forms">
Line 53: <forms loginUrl="SGC/login.aspx" protection="All" name="SGCAuthCookie" timeout="60" path="/" />
Line 54: </authentication>


Source File: \\premfs2\sites\premium7\nombela\webroot\SGC\web.c onfig Line: 52

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

Xq pudiera ser???
__________________
:si: El hombre es el único animal que come sin tener hambre, bebe sin tener sed y habla sin tener nada que decir. :si: