
15/05/2006, 11:21
|
 | | | Fecha de Ingreso: febrero-2002 Ubicación: Santiago de Chile
Mensajes: 367
Antigüedad: 23 años, 1 mes Puntos: 0 | |
Mickel, priemro q nada muchas Gracias por responder.......pero mira elimine el directorio virtual, le coloco una ruta fisica.......y me sigue dando error
Server Error in '/aaa' Application.
--------------------------------------------------------------------------------
'D:/sbruna/GESTION/INDICADOR/Facturas/tiempo_facturas.mdb' is a physical path, but a virtual path was expected.
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: 'D:/sbruna/GESTION/INDICADOR/Facturas/tiempo_facturas.mdb' is a physical path, but a virtual path was expected.
Source Error:
Line 6: <script runat="server">
Line 7: Sub Page_Load(sender As Object,e As EventArgs)
Line 8: Chart.DefaultSeries.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;data source=" + Server.MapPath ("D:\sbruna\GESTION\INDICADOR\Facturas\tiempo_fact uras.mdb")
Line 9: ' set global properties
Line 10: Chart.Title="Tiempo Facturas x Mes"
Source File: C:\Inetpub\wwwroot\aaa\aaa.aspx Line: 8
Stack Trace:
[HttpException (0x80004005): 'D:/sbruna/GESTION/INDICADOR/Facturas/tiempo_facturas.mdb' is a physical path, but a virtual path was expected.]
System.Web.Util.UrlPath.CheckValidVirtualPath(Stri ng path) +3488857
System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean allowCrossAppMapping) +90
System.Web.HttpServerUtility.MapPath(String path) +44
ASP.aaa_aspx.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\aaa\aaa.aspx:8
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +36
System.Web.UI.Control.OnLoad(EventArgs e) +102
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1064
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44
__________________ yerba mala nunca....te la fumes... |