Error accessing website after running initial setup.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/28/2011 9:23:05 PM
Gravatar
Total Posts 5

Error accessing website after running initial setup.

IIS 7
.Net 4
MySQL 5.5.12
MojoPortal v.2.3.6.7

I've uploaded all files from the MSSQL release (mojoportal-2-3-6-7-mssql-net40-deploymentfiles.zip) to my site's root folder and the MySQL datalayer (mysqldatalayer-gpl.zip) dll's to bin and /setup, respectively. I setup a db and dbuser with full rights. I then set my connection string in user.config. After all this was done, I navigated to <my site>/admin/default.aspx. Setup ran with no errors and displayed that all was configured and ready to go. I tried to navigate to my site's homepage and received the error displayed below. I then checked the log file and saw the following error. I've not been able to find anything in the forums regarding this. Any help would be appreciated. (Sorry for the length of the post. I wanted to include as much info as possible.)

Homepage error:
We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

Log file error:
2011-08-28 18:18:00,444 ERROR mojoPortal.Web.Global - 75.176.24.89-en-US - /Secure/Login.aspx?returnurl=http%3a%2f%2fwww.stablesolutionseap.com%2fAdmin%2fAdminMenu.aspx- Referrer(none)
System.InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <httpHandlers>
            <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
        </httpHandlers>
    </system.web>
</configuration>
   at System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded, Boolean forSubstitution, IScriptManager scriptManager)
   at System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded, IScriptManager scriptManager)
   at System.Web.UI.ClientScriptManager.GetWebResourceUrl(Type type, String resourceName)
   at System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID)
   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

8/28/2011 10:19:02 PM
Gravatar
Total Posts 355

Re: Error accessing website after running initial setup.

I haven't run into this myself, but researching the error message indicates that it's most likely a configuration issue on the server. 

1) Have you confirmed that your site is actually configured to use .Net 4.0?

2) By any chance, is there another platform (like Cold Fusion) also loaded on your server?

8/28/2011 10:27:11 PM
Gravatar
Total Posts 5

Re: Error accessing website after running initial setup.

I have confirmed it is configured for .Net 4.0. The server does have Coldfusion installed, as well. I did ask my host (hostek) if there were any issues with running a .net cms/site on a server that also had Coldfusion and they said there shouldn't be an issue. If this did happen to be a configuration issue, any suggestions on what to ask my host?

8/28/2011 10:31:03 PM
Gravatar
Total Posts 355

Re: Error accessing website after running initial setup.

It seems to be specific to certain configurations of IIS 7 and .Net; not consistent, but there are references to the issue elsewhere.  Check and see if your hosting provider has your site in a dedicated process thread, or is willing to do so.

8/29/2011 7:15:22 PM
Gravatar
Total Posts 5

Re: Error accessing website after running initial setup.

I've confirmed with my host that my site is using a dedicated application pool. Any other thoughts? I'm stuck and would really like to get mojoPortal up and running.

8/29/2011 7:34:12 PM
Gravatar
Total Posts 5

Re: Error accessing website after running initial setup.

My host switched the Application pool to Classic mode and it fixed the issue.

8/29/2011 7:38:12 PM
Gravatar
Total Posts 355

Re: Error accessing website after running initial setup.

This is an additional suggested step from others who've run into the same issue:

"Change the AppPool in IIS7 to "Classic .NET AppPool"." Past that, I'd suggest asking your hosting provider to move you to another server, one that doesn't have CF loaded on it, and see if the issue is resolved.

Edit: Cross-post, FTW! :D  I'm glad that you've got it sorted, and can get on with your implementation!

You must sign in to post in the forums. This thread is closed to new posts.