Cannot creat anymore pages

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.
6/22/2009 7:29:19 AM
Gravatar
Total Posts 14

Cannot creat anymore pages

Hello everyone,

I'm creating an new website for my company, but so far it has been nothing but stress ...

I installed mojoportal on my laptop:

OS: Windows Vista Business
DB: MS SQL 2008
Mojo:  2304

I have created 4 out of 8 pages, 0 out 8 subpages
and now Mojo doesn't want to create any more pages ...
It gives always following message: "We're sorry but we could not find the page you are looking for. Please try the Site Map. "

Another funny thing is: when i look at the pages which succeeded I'm logged in as Administrator, if I look at a new page (which obviously didn't suceed) I'm not logged in ...

I Checked my user.config and the connectionstring is correct
I realised I did not put a connectionstring of any kind in the web.config, so i updated it with the same connections string. (+ iisreset)

What is wrong with my installation, who can help me? My deadline is closing in fast ...

logs:

www.sjapie.be/Mojo/mojoportal-log.txt

6/22/2009 7:40:48 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

And for every new page I create, I get this:

 

2009-06-22 13:36:43,043 ERROR mojoPortal.Web.PageNotFoundHttpModule - ::1 PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/regio.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.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

6/22/2009 7:43:20 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Hi,

First, I recommend you upgrade to mojoportal 2.3.0.8. There were some issues in 2.3.0.4 which led to a soon update to 2.3.0.4.b so its possibly related to issues that have been fixed.

The only thing I can think of that would cause those log errors/page not found errors is if you initially were creating pages using http://localhost/ and later changed it to a virtual directory like http://localhost/mojo/, then the urls in the mp_FriendlyUrls table are not correct because /home.aspx is not the same as /mojo/home.aspx

and friendly urls map to a real url but if you change the structure of the url after creating some pagesw then the real url may be /Default.aspx?pageid=x when it really needs to be like /mojo/Default.aspx?pageid=x

Hope it helps,

Joe

6/22/2009 9:08:22 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Just realized one more thing that can cause this is if you somehow deleted or renamed the Default.aspx file in the root of the web.

Hope it helps,

Joe 

6/22/2009 9:44:19 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hello,

I didn't touch Default.aspx, and it's still there :)

I have deleted my site and database and started all over ... so I'm on the latest version now
But just now I came to the conclusion ... I have the identical error!

I can alter the Home page

I can create the following pages: Mankracht, Klanten and Contact
But when I try to create: Kennis, Team, Regio, Jobs it gives the error,

And it can't be normal, it are the same pages agian, is it their naming?

6/22/2009 9:49:14 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Hi,

Can you try to reproduce the problem on demo.mojoportal.com, if you can produce it there I will consider it a bug and will investigate it.

Best,

Joe

6/22/2009 9:51:11 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Also make sure you have installed .NET 3.5 SP1

Hope it helps,

Joe 

6/22/2009 10:00:35 AM
Gravatar
Total Posts 14

Re: Cannot create anymore pages

I hope it's not a bug ...

nope it isn't

but then my problem remains ...

 

Why o Why ...

I made a database and user, that works, I copied everything to the wwwroot dir, I made my connection string, that works too

I altert the homepage of the default site, altert the site settings, everyting works, i make 'mankracht' it works, i make 'kennis' it fails, i make 'klanten' it works, but then: team, regio and jobs fail again, en contact doesn't fail ...

my framework is the right one ...

are there any suggestions?

6/22/2009 10:00:59 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

BTW, thx for the help mate!

6/22/2009 10:08:47 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Its baffling to me. If I could produce the problem I could figure out the cause. After you create the page that fails I would have a look in the mp_Pages table and in the mp_FriendlyUrls table to see what if anything happened differently for the failed pages vs the ones that work.

Are you using a "Classic" application pool in IIS or "Integrated"?

Are you making any changes to the Web.config file?

What is the structure of your url? A root site like http://localhost or a virtual directory like http://localhost/mojo/?

6/22/2009 10:13:17 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Maybe we can do a remote session on my laptop with teamviewer or something?

I use a Classic application pool on IIS7

No changes to the Web.config

this page doen't work: http://localhost/kennis.aspx

this page works: http://localhost/mankracht.aspx

 

I'll check the tables for irr.

nothing weird in the tables, the working and failing pages have the same structure ...

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