db install error

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/12/2006 2:42:01 AM
Gravatar
Total Posts 68

db install error

Hi! After making a clean install, and after stting up the db. Running the first time, I recieve this error:

Beskrivning: Ett undantag som inte kunde hanteras uppstod när den aktuella webbegäran kördes. Mer information om felet och var i koden det uppstod finns i stackspårningen.

Undantagsinformation: MySql.Data.MySqlClient.MySqlException: #22003Out of range value adjusted for column 'CreatedByUserID' at row 1

Källfel:

Rad 6264:			{
Rad 6265:				connection.Close();
Rad 6266:				throw ex;
Rad 6267:			}
Rad 6268:

Källfil: C:\Inetpub\wwwroot\mojoportal\MySQLData\dbPortal.cs    Rad: 6266

Stackspårning:

[MySqlException: #22003Out of range value adjusted for column 'CreatedByUserID' at row 1]
   mojoPortal.Data.dbPortal.Module_AddModule(Int32 pageID, Int32 siteID, Int32 moduleDefID, Int32 moduleOrder, String paneName, String moduleTitle, String authorizedEditRoles, Int32 cacheTime, Boolean showTitle, Boolean availableForMyPage, Int32 createdByUserID, DateTime createdDate) in C:\Inetpub\wwwroot\mojoportal\MySQLData\dbPortal.cs:6266
   mojoPortal.Business.Module.Create() in C:\Inetpub\wwwroot\mojoportal\Business\Module.cs:268
   mojoPortal.Business.Module.Save() in C:\Inetpub\wwwroot\mojoportal\Business\Module.cs:259
   mojoPortal.Business.mojoSetup.CreateHomePage(Int32 siteID, Int32 htmlModuleDefID, Int32 linksModuleDefID, Int32 adminUserID) in C:\Inetpub\wwwroot\mojoportal\Business\mojoSetup.cs:864
   mojoPortal.Business.mojoSetup.CreateInitialData() in C:\Inetpub\wwwroot\mojoportal\Business\mojoSetup.cs:656
   mojoPortal.Web.Global.Application_Start(Object sender

Serverfel i tillämpningsprogrammet /mojo.

#22003Out of range value adjusted for column 'CreatedByUserID' at row 1

 

 

Some swedish, but none of impotance. This results in not all the default things in the db is set, like content :) What am i doing wrong?

 

Thanks!

6/12/2006 1:07:37 PM
Gravatar
Total Posts 18439

Re: db install error

Hi Christian,

I just committed a change to mojoSetup.cs svn branches/2.1 that I think will fix this. You probably should delete all data since it created some of the initial data but not all of it.

Let me know if that doesn't resolve it.

Thanks,

Joe
6/13/2006 11:33:22 PM
Gravatar
Total Posts 68

Re: db install error

It works now, thank you.

Christian

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