Recompile of ascx - Urgent

Discussion in 'ASP .Net' started by =?Utf-8?B?VmlzaA==?=, Jul 18, 2006.

  1. 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(VirtualPath virtualPath)
    at
    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath
    virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
    allowBuildInPrecompile)
    at
    System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(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.GetUserControlType(VirtualPath
    virtualPath)
    at
    System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)
    at System.Web.UI.BaseTemplateParser.ProcessDirective(String
    directiveName, IDictionary directive)
    at System.Web.UI.TemplateControlParser.ProcessDirective(String
    directiveName, IDictionary directive)
    at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding
    fileEncoding)
    --- End of inner exception stack trace ---
    at System.Web.UI.TemplateParser.ProcessException(Exception ex)
    at System.Web.UI.TemplateParser.ParseStringInternal(String 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.get_CodeCompilerType()
    at
    System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
    at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
    at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
    at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
    virtualPath)
    at
    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath
    virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
    allowBuildInPrecompile)
    at
    System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
    context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
    Boolean allowBuildInPrecompile)
    at System.Web.UI.TemplateControl.LoadControl(VirtualPath 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(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.error_default_aspx.ProcessRequest(HttpContext context)
    at
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
    completedSynchronously)
     
    =?Utf-8?B?VmlzaA==?=, Jul 18, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Quentin
    Replies:
    1
    Views:
    503
    Quentin
    Jul 29, 2003
  2. Jason Shohet
    Replies:
    1
    Views:
    492
    Kevin Spencer
    Nov 10, 2003
  3. Holger (David) Wagner
    Replies:
    2
    Views:
    1,959
    Holger (David) Wagner
    Jul 3, 2004
  4. Joe
    Replies:
    1
    Views:
    390
    Jeffrey Tan[MSFT]
    Feb 16, 2004
  5. Replies:
    2
    Views:
    548
Loading...

Share This Page