Errors in Code repository - mojoportal-982c15619c30

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.
12/19/2013 12:22:05 AM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Errors in Code repository - mojoportal-982c15619c30

Hi Joe,

One thing I want to share is that I have downloaded "mojoportal-982c15619c30.zip" and tried to setup a site locally but at time of setup following errors:

1.
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
parameters count doesn't match DB definition

 

   at mojoPortal.Data.SqlParameterHelper.InitializeArray() in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 68

   at mojoPortal.Data.SqlParameterHelper.BeginDefineSqlParameters() in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 56

   at mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 87

   at mojoPortal.Data.SqlParameterHelper..ctor(String connectionString, String commandText, Int32 paramCnt) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 48

   at mojoPortal.Data.DBSiteUser.UpdateUser(Int32 userId, String name, String loginName, String email, String password, String passwordSalt, String gender......

<truncated>
---------------------------
Abort   Retry   Ignore   
---------------------------
2.
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
parameter's name doesn't match cached parameters

 

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, String typeName, Int32 size, Byte precision, ParameterDirection dir, Object value, Boolean sizeProvided, Boolean precisionProvided) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 136

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, Int32 size, ParameterDirection dir, Object value) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 97

   at mojoPortal.Data.DBSiteUser.UpdateUser(Int32 userId, String name, String loginName, String email, String password, String passwordSalt, String gender, Boolean profileApproved, Boolean approvedForForums, Boolean trusted, Boolean displayInMemberList, String webSiteUrl, String country, String state, String occupation, String interests, String msn, String yahoo, String a......

<truncated>
---------------------------
Abort   Retry   Ignore   
---------------------------

3.
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
parameter's type doesn't match cached parameters

 

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, String typeName, Int32 size, Byte precision, ParameterDirection dir, Object value, Boolean sizeProvided, Boolean precisionProvided) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 137

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, Int32 size, ParameterDirection dir, Object value) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 97

   at mojoPortal.Data.DBSiteUser.UpdateUser(Int32 userId, String name, String loginName, String email, String password, String passwordSalt, String gender, Boolean profileApproved, Boolean approvedForForums, Boolean trusted, Boolean displayInMemberList, String webSiteUrl, String country, String state, String occupation, String interests, String msn, String yahoo, String a......

<truncated>
---------------------------
Abort   Retry   Ignore   
---------------------------
4.
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
wrong number of parameters

 

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, String typeName, Int32 size, Byte precision, ParameterDirection dir, Object value, Boolean sizeProvided, Boolean precisionProvided) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 121

   at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, ParameterDirection dir, Object value) in d:\Demos\mojoportal-2.4.0.0_New\mojoportal_982c15619c30\mojoPortal.Data.MSSQL\SQLParameterHelper.cs:line 92

   at mojoPortal.Data.DBSiteUser.UpdateUser(Int32 userId, String name, String loginName, String email, String password, String passwordSalt, String gender, Boolean profileApproved, Boolean approvedForForums, Boolean trusted, Boolean displayInMemberList, String webSiteUrl, String country, String state, String occupation, String interests, String msn, String yahoo, String aim, String icq, String avatarUrl, ......

<truncated>
---------------------------
Abort   Retry   Ignore   
---------------------------

I have ignored those errors and completed the setup, but after completion of the setup I am not able to login using admin@admin.com and admin credentials, I have checked into database then found no records were there into the "mp_UserRoles".

 

Thanks

Dilip

 

12/19/2013 6:25:00 AM
Gravatar
Total Posts 18439

Re: Errors in Code repository - mojoportal-982c15619c30

There is only one correct way to get the source code and that is using TortoiseHG.

If there were a way for me to remove those source code download links from codeplex I would because they are not reliable.

12/19/2013 6:34:48 AM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Re: Errors in Code repository - mojoportal-982c15619c30

Thanks Joe,

Ok, I will try it, I used codeplex to download the source code.

12/20/2013 5:59:47 AM
Gravatar
Total Posts 44
Regards, Dilip Wanave

Re: Errors in Code repository - mojoportal-982c15619c30

Hi Joe,

I have downloaded code using TortoiseHG by following steps here, still I am getting the same errors.

 

Thanks

Dilip

12/20/2013 9:51:36 AM
Gravatar
Total Posts 18439

Re: Errors in Code repository - mojoportal-982c15619c30

ok, if you pull the latest changes, update your working copy, rebuild, and visit the setup page again it should be fixed.

Thanks,

Joe

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