Foros del Web » Programación para mayores de 30 ;) » .NET »

Error de escritura??

Estas en el tema de Error de escritura?? en el foro de .NET en Foros del Web. Hola gente. Tengo una página web que localmente anda bien y que en el servidor de hosting da error. Me he fijado y mi frameworks ...
  #1 (permalink)  
Antiguo 25/01/2007, 13:52
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 23 años, 6 meses
Puntos: 19
Error de escritura??

Hola gente.

Tengo una página web que localmente anda bien y que en el servidor de hosting da error. Me he fijado y mi frameworks y el del hosting es el mismo. Quería saber si tienen idea porque es este error.
Mil gracias

--------------------------------------------------------------------------
Exception Details: System.UnauthorizedAccessException: Access to the path "c:\domains\sitex.com.ar\wwwroot\zip\tSharpZipLib. txt" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!
  #2 (permalink)  
Antiguo 25/01/2007, 16:54
Avatar de RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 2 meses
Puntos: 50
Re: Error de escritura??

Cita:
right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account
es cuesion de darle permisos a ese directorio que en tu caso es agregar al usuario Network Services

Salu2
__________________
Nadie roba nada ya que en la vida todo se paga . . .

Exentrit - Soluciones SharePoint & Net
  #3 (permalink)  
Antiguo 26/01/2007, 07:09
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 23 años, 6 meses
Puntos: 19
Re: Error de escritura??

Gracias, voy a hablar con la gente de mi hosting a ver que me dicen.
Muchas gracias
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:41.