Mailinglist Archive: opensuse-es (2022 mails)

< Previous Next >
Server Error in '\' Application.
  • From: Víctor Pérez Pereira <vperez@xxxxxxxxxx>
  • Date: Thu, 09 Sep 2004 17:05:26 -0400
  • Message-id: <4140C596.3040900@xxxxxxxxxx>
Buenas Tardes,

estoy presentando un problema con un servidor SuSE 9.0 con proxy habilitado, el detalle se presenta en que no puedo realizar la descarga de un archivo con extensión .txt.

Tengo varias politicas en el squid, la primera es que solo tienen acceso a 5 paginas web, tambien tiene bloqueado los .exe, .bat, .rpm, .mp3, .pmg, etc..., pero nunca tiene restringido los .txt

Uno de los mensajes que indica:

Server Error in '\' Application, donde '\' es un entrada al servidor

Ejemplo: www.lapaginas.com/despacho/pedidos\Almp.txt

¿Alguna sugerencia?

Saludos Cordiales
--
Víctor Pérez Pereira
Condor Systems S.A.
Maracay - Venezuela


Anexando mensaje de error:
------------------------------------------------------------------------

Access to the path "e:\accounts\despacho\WWW\pedidos\A1mp.txt" is denied.
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.UnauthorizedAccessException: Access to the path
"e:\accounts\despacho\WWW\pedidos\A1mp.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.

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:


[UnauthorizedAccessException: Access to the path
"e:\accounts\despacho\WWW\pedidos\A1mp.txt" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String
msgPath, Boolean bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize) +44
System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding
encoding, Int32 bufferSize) +49
System.IO.StreamWriter..ctor(String path) +60
pwso.descargar_pedidos.Button2_Click(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573
--------------------------------------------------------------------------------



< Previous Next >