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???