Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Recompile of ascx - Urgent

Reply
Thread Tools

Recompile of ascx - Urgent

 
 
=?Utf-8?B?VmlzaA==?=
Guest
Posts: n/a
 
      07-18-2006
Hi,
We are having issues whenever we push the dynamically compiled .ascx files
into prod. These are the files with no codebehind and what happens is that
the old users see this error and the new ones are ok so somewhere the
reference gets lost. We have also observed if we remove the asp.net cache
files manually and restart the IIS the problem goes away. We are using
ASP.NET 2.0 and did not see this issue in the 1.0 version. Can anybody from
Microsoft help ?



This is the full error:
ystem.Web.HttpParseException: The file
'/usercontrols/ui/lnav_feature_links.ascx' does not exist. --->
System.Exception: The file '/usercontrols/ui/lnav_feature_links.ascx' does
not exist. ---> System.Web.HttpException: The file
'/usercontrols/ui/lnav_feature_links.ascx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualP ath virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at System.Web.UI.BaseTemplateParser.GetReferencedType (VirtualPath
virtualPath, Boolean allowNoCompile)
at System.Web.UI.BaseTemplateParser.GetUserControlTyp e(VirtualPath
virtualPath)
at
System.Web.UI.MainTagNameToTypeMapper.ProcessUserC ontrolRegistration(UserControlRegisterEntry ucRegisterEntry)
at System.Web.UI.BaseTemplateParser.ProcessDirective( String
directiveName, IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirecti ve(String
directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(S tring text, Encoding
fileEncoding)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ProcessException(Exce ption ex)
at System.Web.UI.TemplateParser.ParseStringInternal(S tring text, Encoding
fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath
virtualPath, Encoding fileEncoding)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath
virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath,
VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType()
at
System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild()
at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath
virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at System.Web.UI.TemplateControl.LoadControl(VirtualP ath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at Hsn.Web.UI.BasePage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.error_default_aspx.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TabStrip/Multipage using UserControl (.ascx) contained within a UserControl(.ascx) shaileenpatel@yahoo.com ASP .Net Web Controls 2 05-03-2005 05:01 PM
Multiple *.ascx files with a single *.ascx.cs in VS.NET 2003 Holger (David) Wagner ASP .Net 2 07-03-2004 09:23 AM
datasource of child .ascx not visible to parent .ascx Joe ASP .Net Web Controls 1 02-16-2004 07:27 AM
can a dg be added to an ascx? ascx call a ws? Jason Shohet ASP .Net 1 11-10-2003 07:08 PM
[ASCX] Add an ascx in a webcontrol... Quentin ASP .Net 1 07-29-2003 07:37 PM



Advertisments