connections string 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.
3/13/2007 7:50:45 PM
Gravatar
Total Posts 3

connections string problem

 

Hi - I'm trying to check out mojo. I've downloaded the subversion source and I'm trying to get things up an running for MS SQL. So far I have successfully installed the database with the scripts and I can connect to this database from Visual Studio server explorer with the credentials in my connection string below.

However, every time I try to run the debugger I receive a custom error that says my connection string is incorrect. I'm pretty certain my connection string is right since I've used the same string to connect to other databases on this server and I can connect via VS. Can I count on this custom error? Anyone have any ideas? Thanks!

Peter

<add key="MSSQLConnectionString" value="server=isql;UID=developer;PWD=password;database=mojoportal" />

 

 

3/13/2007 8:47:00 PM
Gravatar
Total Posts 18439

Re: connections string problem

Hi Peter,

I think the error is correct if it says it can't connect to the db, that is probably correct, if it says the connection string is wrong then I may need to revisit the error message. I can't remember for sure but I think it says please check your connection string. Connection string typos are the most common problem but not the only possible problem.

Are you sure the VS explorer is using exactly that connection string and not connecting in the context of the windows user which is you?

Do you have mixed mode authentication enabled on the sqlserver machine or just windows authentication?
Is it a different machine than the web machine?


Joe
3/13/2007 8:53:46 PM
Gravatar
Total Posts 3

Re: connections string problem

Hi Joe -

Thanks for the reply. I am sure that the username/password is the SQL username/password I set in SQL Management Studio. I have connected to another database with this same connection string in the past.

Is there a way that I could turn off the custom error? Perhaps this would allow me to see a more specific error.

Also, do you do consulting for this project? If so, what are your rates? Thanks!

Peter

3/13/2007 8:55:06 PM
Gravatar
Total Posts 3

Re: connections string problem

Oh and please feel free to contact me directly regarding the last question.

peter.banfield@sea.ddb.com

3/13/2007 9:37:12 PM
Gravatar
Total Posts 18439

Re: connections string problem

Hi Peter,

You might look in /Data/currentlog.config to see if any meaningful error messages have been logged.

Let me know if you continue to have trouble. Its getting late here but I will follow up with you tomorrow by email, I do offer consulting and would be happy to work with you.

Best Regards,

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