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 ...

6/22/2009 10:20:07 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Can you try an Integrated app pool and see if it makes any difference? 

6/22/2009 10:25:40 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Are you using the IIS Rewrite module or anything else that might be re-writing the urls before it gets to mojoPortal code? 

6/22/2009 10:26:19 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hi Joe,

It was already on an integrated (i mislooked a bit).
Well I have a 3 hour drive home right now (its 5.30 PM here) and then I'll check back!

7/6/2009 4:53:21 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hellow,

I've checked and there is nothing that rewrites the url's?

But for every page that doesn't work, I appear to be signed out, and for every page that works
I'm logged in ...

Can this help?

7/8/2009 9:04:50 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

I recommend upgrade to the latest version of mojoPortal and see if the problem persists.

Hope it helps,

Joe

7/8/2009 9:41:28 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hellow,

thx for the help!
But I already did that after te first time.

I'll try to put it on a server 2003 now, and hope it helps!

7/9/2009 3:00:03 PM
Nux
Gravatar
Total Posts 183

Re: Cannot creat anymore pages

Hey Daan,

any news of your installation on a server?

Stef

7/13/2009 3:02:48 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hellow

I had some problems with installing the server in VPC2007, but I just finished it up.
Now I'll installe the SQLE and Put Mojo on it.

I hope to finish it  by tonight!

7/13/2009 7:54:49 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

Hellow

I started all over again, This time the OS has changed to Server 2003

The installation went well untill he complaint about this:

www.sjapie.be/Mojo/error.jpg

7/13/2009 8:40:14 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Hi,

You see in the footer of the error its using .NET 1.1 framework.  You need to install .NET 3.5 SP1 (if its not already installed) and in IIS you should be able to choose 2.0 .NET (3.5 is really a superset of 2.0 so you won't see an option for 3.5 in the IIS settings).

Hope it helps,

Joe

7/13/2009 9:12:39 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

yes indeed, that helped.

thx alot!

hopefully the final question:

can you say what is wrong with this:

<add key="MSSQLConnectionString" value="server=EMENKA-WSS1\MOJO;UID=Mojo;PWD=******;database=Mojo" />

It's my fourth installation, and it's the first time it goes wrong here, but because of the searching I probably do not see the error anymore ...

(the  ******, is an actual pasword, but it would be stupid to spread it ...)

7/13/2009 9:17:32 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Hi,

If the db is on the same machine you can put localhost for the server name. The part you have with \MOJO is the name of the db instance. Did you really name it MOJO when you installed SQL Express?

Typically the instance name will be SQLExpress so you could put localhost\SQLExpress, or if you made it a default instance then no instance name needs to be specificed you can use just localhost 

Hope it helps,

Joe

7/13/2009 9:26:08 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

well that's the weird thing about it:

www.sjapie.be/Mojo/instance.jpg

Everything is correct ...

but still

www.sjapie.be/Mojo/conn.jpg

And I can manually log in with the same credentials ...

7/13/2009 9:30:36 AM
Gravatar
Total Posts 18439

Re: Cannot creat anymore pages

Make sure SQLExpress is configured for Mixed Mode authentication and make sure that the sql user named Mojo is in the dbo role for the database named Mojo.

Hope it helps,

Joe

7/14/2009 5:07:53 AM
Gravatar
Total Posts 14

Re: Cannot creat anymore pages

It works, it works!

It probably is VISTA who creates kernel errors,
'cause the same setup on SRV 2003 runs smoothly!

Thx Joe for your help! I have 6 days left to enter content and convince my bosses!

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