Error on creating initial site.data

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.
2/25/2007 1:42:25 AM
Gravatar
Total Posts 10

Error on creating initial site.data

on successful installation of mojoportal, i got the following error after i was told to create the initial site data;

Index was outside the bounds of the array. at mojoPortal.Data.dbPortal.SiteSettings_Create(Guid siteGuid, String siteName, String skin, String logo, String icon, Boolean allowNewRegistration, Boolean allowUserSkins, Boolean allowPageSkins, Boolean allowHideMenuOnPages, Boolean useSecureRegistration, Boolean useSSLOnAllPages, String defaultPageKeywords, String defaultPageDescription, String defaultPageEncoding, String defaultAdditionalMetaTags, Boolean isServerAdminSite, Boolean useLdapAuth, Boolean autoCreateLDAPUserOnFirstLogin, String ldapServer, Int32 ldapPort, String ldapDomain, String ldapRootDN, String ldapUserDNKey, Boolean allowUserFullNameChange, Boolean useEmailForLogin, Boolean reallyDeleteUsers, String editorSkin, String defaultFriendlyUrlPattern, Boolean enableMyPageFeature) at mojoPortal.Business.SiteSettings.Create() at mojoPortal.Business.SiteSettings.Save() at mojoPortal.Business.WebHelpers.mojoSetup.CreateInitialData() at mojoPortal.Web.UI.Pages.SetupHome.btnCreateInitialData_Click(Object sender, EventArgs e)

Can anyone help out pls?

 

Thanks

 

 

2/25/2007 4:48:35 AM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

Which database are you using?

Joe
2/25/2007 4:52:01 AM
Gravatar
Total Posts 10

Re: Error on creating initial site.data

sql server 2005 /IIS
2/25/2007 5:49:37 AM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

Are you using the release files or source code?

I can't seem to replicate the problem here.

Joe
2/25/2007 6:08:54 AM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

In your web.config file do you have CacheMSSQLParameters set to true? If not, try setting it to true.

Joe
2/25/2007 6:29:22 AM
Gravatar
Total Posts 10

Re: Error on creating initial site.data

hi,

i think i found the problem..have got .net 2.0 installed and i was using the .net 1.1 version..

anyways, it seems the file mojoportal-2-2-1-6-1-mssqlreleasefiles.zip is corrupt on the novel download site.

 

any other place where i can download this file?

thanks

2/25/2007 6:42:41 AM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

I downloaded that file just a little while ago when I was trying to replicate the problem you were having. It worked fine for me.

Joe
2/25/2007 6:49:23 AM
Gravatar
Total Posts 10

Re: Error on creating initial site.data

could you kindly send it directly to me?

i've downloaded it 4 times and it still seems corrupt.

thanks

2/25/2007 6:59:35 AM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

ok, I sent the files, hope it helps.

Most likely cause of the corruption is your browser. I would try clearing the cache and files or switch browsers, if the problem happens in firefox try ie, if it happens in ie try firefox.

Joe
2/25/2007 3:14:44 PM
Gravatar
Total Posts 10

Re: Error on creating initial site.data

finally got the .net 2.0 version installed but came up with the following error again;

 

No Sites have been created yet, click the button to create initial site data.


Index was outside the bounds of the array. at mojoPortal.Data.dbPortal.SiteSettings_Create(Guid siteGuid, String siteName, String skin, String logo, String icon, Boolean allowNewRegistration, Boolean allowUserSkins, Boolean allowPageSkins, Boolean allowHideMenuOnPages, Boolean useSecureRegistration, Boolean useSSLOnAllPages, String defaultPageKeywords, String defaultPageDescription, String defaultPageEncoding, String defaultAdditionalMetaTags, Boolean isServerAdminSite, Boolean useLdapAuth, Boolean autoCreateLDAPUserOnFirstLogin, String ldapServer, Int32 ldapPort, String ldapDomain, String ldapRootDN, String ldapUserDNKey, Boolean allowUserFullNameChange, Boolean useEmailForLogin, Boolean reallyDeleteUsers, String editorSkin, String defaultFriendlyUrlPattern, Boolean enableMyPageFeature) at mojoPortal.Business.SiteSettings.Create() at mojoPortal.Business.SiteSettings.Save() at mojoPortal.Business.WebHelpers.mojoSetup.CreateInitialData() at mojoPortal.Web.UI.Pages.SetupHome.btnCreateInitialData_Click(Object sender, EventArgs e)

2/25/2007 3:41:41 PM
Gravatar
Total Posts 18439

Re: Error on creating initial site.data

I'm stumped, I installed those same files and it works fine.

Is there anything unusual about your setup? db case sensitivity etc.
What db collation?
Is your browser's preferred language other than english? could be a localization issue in setup?
Can you tell me where you are hosted?
Can I see the url where this error is happening for myself? I'll try to help.

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