Saturday, March 31, 2012

Web config error

When you hit my web site I get error in the web config file, but after you hit refresh all is well any clues? Help...well, may be if you post the error and your web.config we could have a "clue" ;-)
Server Error in '/' Application.
------------------------

Cannot use a leading .. to exit above the top directory.
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: Cannot use a leading .. to exit above the top directory.

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): Cannot use a leading .. to exit above the top directory.]
System.Web.Util.UrlPath.Reduce(String path) +701
System.Web.Util.UrlPath.Combine(String basepath, String relative) +304
System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean allowCrossAppMapping) +201
System.Web.HttpServerUtility.MapPath(String path) +61
RSI.CWT.Helper.WebSettings.CacheSetting(NameValueCollection keys) +190
RSI.CWT.Web.Global.Application_Start(Object sender, EventArgs e) +82

------------------------
OK - - show us the line you have that's trying to point to a file above the top directory of your web site? Is it pointing to a database or a regular web file?

It appears that's the problem...show us your code.
It's pointing to a SQL Server for all the content good old port 1433 for now, and an XML file for all the drop down menu's. Hit the site I don't get why it does not work on the intial load then you hit refresh and it does? http://www.galacticinfosys.com

0 comments:

Post a Comment