Server Error in \'/\' Application.

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/7/2009 1:16:07 AM
Gravatar
Total Posts 22

Server Error in \'/\' Application.

Hy all,

I've managed to upload my mojo instalation on hosting server and when I try to open domain I get this error message:

Server Error in \'/\' Application.

--------------------------------------------------------------------------------

 Keyword not supported: \'data server\'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.ArgumentException: Keyword not supported: \'data server\'.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: Keyword not supported: \'data server\'.]

System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +4907604

System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +98

System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +55

System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +24

System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +200

System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +62

System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +4

System.Data.SqlClient.SqlConnection..ctor(String connectionString) +24

mojoPortal.Data.SqlHelperParameterCache.GetSPParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +86

mojoPortal.Data.SqlParameterHelper.InitializeArray() +88

mojoPortal.Data.SqlParameterHelper.Initialize(String pConnectionInfo, String pCommandText, CommandType pCmdType, Int32 pParamCnt) +68

mojoPortal.Data.DBBannedIP.IsBanned(String ipAddress) +58

mojoPortal.Business.BannedIPAddress.IsBanned(String ipAddress) +37

mojoPortal.Web.BannedIPBlockingHttpModule.BeginRequest(Object sender, EventArgs e) +94

System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 

Please help,

Bobo

9/7/2009 8:29:50 AM
Gravatar
Total Posts 18439

Re: Server Error in \'/\' Application.

It looks like your connection string is malformed.

Hope it helps,

Joe

9/7/2009 10:26:23 AM
Gravatar
Total Posts 22

Re: Server Error in \'/\' Application.

Any ideas how to fix this problem?

9/7/2009 10:28:51 AM
Gravatar
Total Posts 18439

Re: Server Error in \'/\' Application.

Fix your connection string in Web.config or user.config if using a user.config file

yours is malformed, the correct format is like this but you would have to put in the correct values

<add key="MSSQLConnectionString" value="server=yourservername;UID=yourdatabaseusername;PWD=yourdatabaseuserpassword;database=yourdatabasename" />

hope it helps,

Joe

9/7/2009 10:58:49 AM
Gravatar
Total Posts 22

Re: Server Error in \'/\' Application.

Unfortunately still no go :(

9/7/2009 11:16:52 AM
Gravatar
Total Posts 22

Re: Server Error in \'/\' Application.

I managed to fix problems with connection strings and database but now I don't have my web site. All I get now is this:

 http://hsps-hr.wmd-windows.com/

No CSS and most important no data. I've spent several days building my site on localhost and finaly I've decided to publish it on web and now this.

Please help,

Bobo

9/7/2009 11:21:47 AM
Gravatar
Total Posts 18439

Re: Server Error in \'/\' Application.

The css problem is probably some permission problem prevented it from copying the skins. You need to copy the skins manually to fix it. Copy the /Data/skins folder so it lands at /Data/Sites/1/skins

The other problem I have no solution for it. The data you created is in a database on your local machine, the database at your host is a different database. You should have just installed it at your host and then created the content. 

Best,

Joe

9/7/2009 11:44:34 AM
Gravatar
Total Posts 22

Re: Server Error in \'/\' Application.

1 problem solved.

Now another one. I cannot login as admin so therfor no administration of the site, no gear icons, no editing content, ....

9/7/2009 12:25:23 PM
Gravatar
Total Posts 18439

Re: Server Error in \'/\' Application.

I don't know. Possibly the initial setup timed out and it never created the admin user. I would look in the mp_Users table. If there are no rows there I don't have an easy way to fix it. The only thing I know would work is if you delete all the stored procedures then delete all the tables from the db then visit setup again and it would hopefully re-create everything successfuly including the admin user.

Probably your host has a database management tool or can let you connect remotely to your db using your local SQL Server Management Studio using the same credentials as in your connection string on the host.

Hope it helps,

Joe

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