Profile Picture

Failed to map path '/' error.

Posted By Rob Gibson 14 Years Ago
Author
Message
bob milanov
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Rob,

I'm not quite sure what causes the problem as this is an old version, but you can try to set the following path for the temp directory:

"~/NevronTemp"

I think the "~" came with ASP.NET 2.0. Also if possible I would recommend upgrading to a newer version of the component as we
cannot fix problems in 1.1.

Let me know if the problem persists.

Best regards,
Bob



Rob Gibson
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 1, Visits: 1

Hi,

I wander if anyone can possibly help me.

We've been successfully using Nevron for many years now but recently have been getting problems displaying charts on our web pages in development and test environments.

As an overview we display the charts as images.  In an XSLT attached to an ASPX page we have an <IMG> tag which points to another ASPX page which generates the image for the chart.

We're currently experiencing an issue where when the ASPX page that generates the chart image is called and tries to run the following line of code:

Dim objChartServer As New NChartServerControl

We get an exception of Failed to map the path '/' and the following stack trace:

System.InvalidOperationException was unhandled by user code
  Message="Failed to map the path '/'."
  Source="System.Web"
  StackTrace:
       at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)
       at System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath)
       at System.Web.VirtualPath.MapPathInternal()
       at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping)
       at System.Web.HttpRequest.MapPath(VirtualPath virtualPath)
       at System.Web.HttpServerUtility.MapPath(String path)
       at Nevron.NChartServer.NGeneralSettings.l11lllI1l1(HttpServerUtility server)
       at Nevron.NChartServer.NServerConfiguration.l11lllI1l1(HttpServerUtility server)
       at Nevron.NChartServer.NChartServerControl.LoadXMLConfiguration(Boolean modifyXMLConfiguration)
       at Nevron.NChartServer.NChartServerControl..ctor()
       at AspireNet.clientassessmentgraph.Page_Load(Object sender, EventArgs e) in C:\ABS\Aspire\current\AspireNetSolution\AspireNet\clientassessmentgraph.aspx.vb:line 35
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Has anyone else experienced this issue? We have an older version of our software on our test server displaying the chart successfully but when we install our latest version ( as a seperate site) it doesn't work.  We get the above stack trace on our development machines running VS2005.  Our Nevron software version is v1.1.4322.

All help is appreciated.

Regards

Rob





Similar Topics


Reading This Topic