installation problem

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.
4/16/2010 1:40:57 PM
Gravatar
Total Posts 7

installation problem

Hi to all..

i have reuploaded a totally new installation of mojoportal to my hosting provider, after having asked them to totally reset the database ..

when i go to http://sitename.ext/setup/default.aspx i still get the following..

Welcome to mojoPortal Setup

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
This site appears to be running in a secured environment using Medium Trust policy or at least lower than Full Trust.

 

Running script mojoportal-core - 2.2.7.8 - 00:00:00.0468753
System.Data.SqlClient.SqlException: There is already an object named 'PersianDay' in the database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.4843781
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

 

Now i suppose is something related to medium trust (im using the medium trust web.config file anyway) 

i remember that firts time i installed on the clean db i didnt get this error, is it possible that the database is currupt and my hosting provider is claiming the db has been reset while it is not? 

4/16/2010 2:34:43 PM
Gravatar
Total Posts 7

Re: installation problem

i forgot to tell the version of mojoportal is: 2.3.4.1

i suppose that on the server side it is windows 2003/2008 with .net 2.0 3.0 3.5

mssql server is version 2005.

4/16/2010 6:14:50 PM
Gravatar
Total Posts 18439

Re: installation problem

Hi,

It sounds like they did not give you a new db but they did delete the tables and stored procedures. What they missed when deleting things is maybe the User Defined Functions such as PersianDay.

What you can do is edit the file /Setup/applications/mojoportal-core/SchemaInstallFiles/mssql/2.2.7.8.config with a text editor, and just chop out the parts that create any user defined functions that the setup page complains about since they must already exist.

Hope it helps,

Joe

4/19/2010 4:33:28 AM
Gravatar
Total Posts 7

Re: installation problem

Well it worked.

 

Thank you Joe.

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