Service Catalog Failing To Load

This issue has been solved. See solution.
mccarthy.cw's picture

I have upgraded to Altiris Helpdesk Solution 6.0.308 and I receive this error when attempting to access the Service Catalog pages.  I understand what the error means but do not know what could be causing it.  Looking for a resolution or somewhere to possibly search for the problem.  

Thanks 
Chris

User control source files must have a .ascx file extension.
Details
Exception - System.Web.HttpException: User control source files must have a .ascx file extension.
at System.Web.UI.UserControlParser.CheckUserControlFileExtension(String fileName)
at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at Altiris.AppWeaver.TemplateModule.OnLoad(EventArgs e)

MBHarmon's picture

Do you have some kind of

Do you have some kind of customization that may have accidentally renamed a file for one of your subcontrols?

I'd check to make sure all of my ServiceCatalog related files are there.  I'm counting four on mine.  ServiceCatalog.ascx, ServiceCatalogFind.ascx, ServiceCatalogmanager.ascx, and subServiceCatalog.ascx

Since you just updated you might try to re-install the solution or install it on another box and copy over the "templates" folder.

I guess you could also try renaming your custom.config to make sure that the default setup of the solution works and isolate it from any customizations you've done.

- Matt

mccarthy.cw's picture

 Thanks for the reply. I dont

 Thanks for the reply.

I dont believe we have any customizations that would effect the ServiceCatalog pages but it is something I will look into.  

I have each of the four files you mentioned.

Should I have a reference in the web.config for the Service Catalog?  If so I think that might be the problem as I do not see one.

mccarthy.cw's picture

 Apparently that was the

Solution

 Apparently that was the problem.

I added the following lines to my web.config file and now the pages are loading.  Thanks for the help.

<file id="ServiceCatalog" file="ServiceCatalog.ascx"/>
<file id="ServiceCatalogFind" file="ServiceCatalogFind.ascx"/>
<file id="ServiceCatalogManager" file="ServiceCatalogManager.ascx"/>
<file id="subServiceCatalog" file="subServiceCatalog.ascx"/>