
19/05/2005, 07:34
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 611
Antigüedad: 19 años, 10 meses Puntos: 1 | |
No se no se He conseguido que no se tenga acceso a las paginas .htm y .html pero el problema que tengo ahora es que nadie tiene acceso. Y me gustaria que los que tienen permiso para acceder a un directorio donde estan esas paginas si que pudieran acceder.
Cuando intento entrar con un usuario que tiene permiso por el rol que tiene me da este error:
Session state is not available in this context
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Session state is not available in this context.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Session state is not available in this context.]
System.Web.HttpApplication.get_Session() +89
SGC.Global.Global_AcquireRequestState(Object sender, EventArgs e) in K:\Global.asax.cs:98
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +87
Y cuando intento entrar con uno que no tiene permiso me lo hace bien xq me redirecciona.
Me podrian echar una mano???
Gracias
Última edición por Nombela; 19/05/2005 a las 07:56 |