Page Not Found Erro On 2.2.8.0 MSSQL

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/17/2008 12:51:16 PM
Gravatar
Total Posts 9

Page Not Found Erro On 2.2.8.0 MSSQL

Hi all,
I just started playing around with mojoPortal, and so far I have only one problem. When I add a blog to a page and add a post I get the following error. Any help would be appreciated, since everything I found on this forum did not apply to my installation.

It is running on a shared hosting, high trust. MojoPortal version 2.2.8.0 MSSQL

2008-12-17 12:16:59,948 ERROR mojoPortal.Web.UrlRewriter - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/test-2.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-12-17 12:34:54,011 ERROR mojoPortal.Web.UrlRewriter - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/lore-ipsum.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-12-17 12:38:01,167 ERROR mojoPortal.Web.UrlRewriter - PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/lore-ipsum.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

 

12/17/2008 2:13:08 PM
Gravatar
Total Posts 18439

Re: Page Not Found Erro On 2.2.8.0 MSSQL

My best guess is you are hosted on IIS 7 which supports 2 kinds of application pools "Integrated" which is newer and the default and "Classic" which is what you need for mjoPortal. Hopefully they have a place in the hosting control panel to specify this.

I'm not sure those errors you posted are related. I would clear the log then cause the error then look at the log again if the above doesn't solve it.

Hope it helps,

Joe

12/17/2008 2:26:51 PM
Gravatar
Total Posts 9

Re: Page Not Found Erro On 2.2.8.0 MSSQL

Thanks for the help.

Unfortunately that is not true, it is run on WinServer 2003, IIS 6.

I generated the log that I posted bl clearing it, clicking the bad link, and then refreshing the page.

12/17/2008 2:51:48 PM
Gravatar
Total Posts 18439

Re: Page Not Found Erro On 2.2.8.0 MSSQL

It requires .NET framework 3.5 SP1, is that installed?

12/18/2008 2:35:12 PM
Gravatar
Total Posts 9

Re: Page Not Found Erro On 2.2.8.0 MSSQL

Yup, 3.5 SP1.

Any clue, anything I can post that might help you ID this?

12/18/2008 3:48:20 PM
Gravatar
Total Posts 18439

Re: Page Not Found Erro On 2.2.8.0 MSSQL

You might try commenting out this in the httpModules section of Web.config and see if it changes anything.

<add name="PageNotFoundHandler" type="mojoPortal.Web.PageNotFoundHttpModule, mojoPortal.Web" />

Have you made any customizations to config settings?

12/18/2008 4:13:46 PM
Gravatar
Total Posts 9

Re: Page Not Found Erro On 2.2.8.0 MSSQL

No customizations to anything. It is a clean install, the only changes I made to anything is the stuff needed to run the site and add content.

When I comment the Page not fount module and now I get a generic error, and this goes into the log (again, I emptied it before clicking the link):

2008-12-18 16:11:40,339 ERROR mojoPortal.Web.Global - 89.164.13.166-en-US - /lore-ipsum.aspx
System.Web.HttpException: The file '/lore-ipsum.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-12-18 16:11:40,339 ERROR mojoPortal.Web.Global - 89.164.13.166-en-US - /lore-ipsum.aspx
System.Web.HttpException: The file '/lore-ipsum.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

If I may add, other than this, rather big problem :) , I am really liking what I can see from mojoPortal.

 

12/18/2008 4:21:21 PM
Gravatar
Total Posts 9

Re: Page Not Found Erro On 2.2.8.0 MSSQL

I don't know if this will help, but I figure more information is better.

Right now I opened the MSSQL release (binaries) in VS 2008 as a web site and ran it.

I get a compile error:

Error 1 Could not create type 'mojoPortal.Web.Services.BlogUrlSuggestService'. C:\Users\Ranko\Documents\Visual Studio 2008\Projects\MojoPortal\Services\BlogUrlSuggestService.ashx 1

But I can run the site fine. Do everything I tried (so a few other content types). But when I add a blog and a blog post it goes to 404 again, and the event log is:

2008-12-18 23:17:58,607 ERROR mojoPortal.Web.Global - 127.0.0.1-en-US - /MojoPortal/demo.aspx
System.Web.HttpException: The file '/MojoPortal/demo.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2008-12-18 23:17:58,621 ERROR mojoPortal.Web.Global - 127.0.0.1-en-US - /MojoPortal/demo.aspx
System.Web.HttpException: The file '/MojoPortal/demo.aspx' 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.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

12/18/2008 4:32:48 PM
Gravatar
Total Posts 18439

Re: Page Not Found Erro On 2.2.8.0 MSSQL

Try deleting the file Services\BlogUrlSuggestService.ashx

its a legacy file, not supposed to be used but apparently the VS web server is trying to JIT compile it.

Then clear the log and create a new blog post and see if it makes a difference.

But really the package was intended for install in  IIS not to be opened as a web in VS. We use the source code for that.

Hope it helps,

Joe

12/18/2008 4:50:34 PM
Gravatar
Total Posts 9

Re: Page Not Found Erro On 2.2.8.0 MSSQL

Unfortunately that did not help either. I still get the "We're sorry but we could not find the page you are looking for. Please try the Site Map." error on my host server. And in the log I get the same stack trace as before.

12/18/2008 4:53:41 PM
Gravatar
Total Posts 18439

Re: Page Not Found Erro On 2.2.8.0 MSSQL

I'll try tomorrow to see if I can produce this problem with a clean install. I'll post again after that.

Best,

Joe

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