User Control - failed to map the path

C

Craig Santoli

Hello,
I have an ASP.Net 1.1 web page running on an IIS6.0/Windows 2003 Server. In
the page I have a user control that is dynamically created using
LoadControl. The page works fine at first (after being installed on the
server), but after a while (say 30 minutes), the page returns the error
below when loading...

Any help is greatly appreciated. Thanks!


Failed to map the path '<myfilename>.ascx'. at

System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.MapPathSlowUsingIISCore(String
path)
at System.Web.Hosting.ISAPIWorkerRequest.MapPath(String path)
at System.Web.HttpRequest.MapPath(String virtualPath, String
baseVirtualDir, Boolean allowCrossAppMapping)
at
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledType(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.UserControlParser.GetCompiledUserControlType(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top