Error adding content to child site

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.
1/4/2009 4:35:06 PM
Gravatar
Total Posts 38

Error adding content to child site

 Hi,

I tried to create multiple sites based on folder names. I set the following Web.config values:

I created a child site through "new site" in "site settings", I added "myfolder" to "Folder site mapping" and created the http://my-domain/myfolder/Default.aspx empty file. If I try to add, for example, "Html Content" through the "Features" tab, server log says:

ERROR mojoPortal.Web.Global - 192.168.74.1-it-IT - /Admin/SiteSettings.aspx?SiteID=2
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Npgsql.NpgsqlException:
column "__siteguid" does not exist
Severity: ERROR
Code: 42703
at Npgsql.NpgsqlState+c__Iterator1.MoveNext () [0x00000]
at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject () [0x00000]
--- End of inner exception stack trace ---
at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]

Furthermore, if I visit http://my-domain/myfolder, server returns blank page. How could I fix?

Thanks,

LB

1/5/2009 7:02:12 AM
Gravatar
Total Posts 18409

Re: Error adding content to child site

I confirm this as a bug in the pgsql version of mojoPortal. I've fixed it in my local copy so it will be fixed in svn trunk within a few days and will be fixed in the next release coming soon.

Best,

Joe

1/5/2009 7:29:49 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

Thanks Joe,

and viewing a blank page visiting http://my-domain/myfolder depends on this bug?

1/5/2009 7:31:39 AM
Gravatar
Total Posts 18409

Re: Error adding content to child site

Yes, if the child site has no features all you will have is a blank page.

1/6/2009 3:02:29 PM
Gravatar
Total Posts 38

Re: Error adding content to child site

I see you released 2-2-8-2 version. Does it contain the fix yet?

1/6/2009 3:08:08 PM
Gravatar
Total Posts 18409

Re: Error adding content to child site

It does, but not for Mono. It will be another day or 2 before I can produce a package for Mono due to problems with my machine.

Best,

Joe

1/7/2009 12:31:23 PM
Gravatar
Total Posts 18409

Re: Error adding content to child site

I finally uploaded the package for Mono, but I'm not 100% sure if it works using Mono 2.0.1, it does work using Mono built from svn and should work with the upcoming 2.2 release of Mono.

Best,

Joe

1/9/2009 4:09:38 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

The content that belongs here is too complex to display securely.
1/9/2009 6:07:56 AM
Gravatar
Total Posts 18409

Re: Error adding content to child site

If there is a System.Web.Extensions.dll in the big folder delete it, there should not be one as none is included in tha package. It should use the one in the GAC. I think the Mono 2.0.1 release must have some problems, they are very close to shipping 2.2, maybe that will be better, though at the  moment I'm also getting a different error (but still related to scriptmanager) using Mono built from svn as mentioned in this thread.

Best,

Joe

1/9/2009 8:14:03 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

There are two System.Web.Extensions.dll in GAC:

[root@localhost ~]# gacutil -l System.Web.Extensions
The following assemblies are installed into the GAC:
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Number of items = 2

that seem to conflict. Are both of them needed by mojoPortal? I see line referencing to version 1 in web.config:

1/9/2009 8:23:06 AM
Gravatar
Total Posts 18409

Re: Error adding content to child site

Try commenting out the web.config reference to 1.0 version and see if it helps or not.

Best,

Joe

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