Server error/user control

Results 1 to 2 of 2

Thread: Server error/user control

  1. #1
    Join Date
    Dec 1969

    Default Server error/user control

    Help I have gotten the following error. my user controls are listed with the correct .ascx extention<BR><BR>Server Error in &#039;/tulsatech&#039; Application.<BR>--------------------------------------------------------------------------------<BR><BR>User control source files must have a .ascx file extension. <BR>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. <BR><BR>Exception Details: System.Web.HttpException: User control source files must have a .ascx file extension.<BR><BR>Source Error: <BR><BR>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. <BR><BR>Stack Trace: <BR><BR><BR>[HttpException (0x80004005): User control source files must have a .ascx file extension.]<BR> System.Web.UI.UserControlParser.CheckUserControlFi leExtension(String fileName) +88<BR> System.Web.UI.UserControlParser.GetCompiledUserCon trolType(String virtualPath, String inputFile, HttpContext context) +41<BR> System.Web.UI.TemplateControl.LoadControl(String virtualPath) +41<BR> Tulsa.Tech.Portal.DesktopDefault.Page_Init(Object sender, EventArgs e) in \ba-c303-webwwwroot$ ulsatechdefault.aspx.cs:72<BR> System.Web.UI.Control.OnInit(EventArgs e) +67<BR> System.Web.UI.Control.InitRecursive(Control namingContainer) +241<BR> System.Web.UI.Page.ProcessRequestMain() +172<BR><BR> <BR><BR><BR>--------------------------------------------------------------------------------<BR>

  2. #2

    Default RE: Server error/user control

    This error is usualy accurate.<BR>Seek the usage of LoadControl and you should find the culprit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts