Error message at setup

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.
4/24/2007 4:17:35 PM
Gravatar
Total Posts 68

Error message at setup

Hi,

when trying to run mojoportal for the first time without having created the tables in the database, it asks to check the connection string, which is not correct in that case. It would be nice with a message that says "Run the create table-script before running mojoPortal for the first time" or something, when the connection works. One might otherwise think that creation of tables is handled by the system (which by the way would be nice), and then trying to figure out what's wrong with the connection string. (Maybe you can guess who "one" is. =)

It's great to be back playing around a little with mojoPortal again.

Thanks,

Christian

4/24/2007 4:48:38 PM
Gravatar
Total Posts 68

Re: Error message at setup

And also "Run the create stored procedure-script before running mojoPortal for the first time", if tables have been created and not SPs would be good.

Christian

4/24/2007 4:54:14 PM
Gravatar
Total Posts 18439

Re: Error message at setup

That would be good but might be hard to implement for all data layers, I'll have to look into it.

One undocumented thing I did since I ran into the same problem recently where the connection wasn't working on a remote server and I needed to know about the underlying error to help solve it.

If you add this to Web.config:

<add key="ShowConnectionErrorOnSetup" value="true" />

It will show the raw exception message, but as a security feature it is false by default and the friendly error is shown.

Cheers,

Joe

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