Newbie Trouble Installing - Cannot connect to the configuration Database

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/15/2012 9:56:11 PM
Gravatar
Total Posts 2

Newbie Trouble Installing - Cannot connect to the configuration Database

Hi there

I have read the installation documentation, but I am such a newb it's not helping me much. My screens aren't quite the same either - I'm having trouble understanding what some of the install options are so I'm not understanding what to select or enter all the time. I finally got everything installed, but when I click the "Launch mojoPortal" link on the last page of the Web Platform installation, IE starts to open, I see

http://localhost/mojoportal/Setup/Default.aspx in the address bar, but "Cannot connect to the configuration database" in the window contents.

I'm trying to recall the settings I used. I am using the Web Platform Installer 3.0, and it walked me through the installation of the pieces. (I tried following the instructions under "Installing mojoPortal Using The Web Platform Installer" but I did not have those first few screens appear)

In step 1/2 of Enter your site information, I selected "New Web Site". Originally I had left the "application name" as "/" but when I tried to move to the next screen it warned that there was stuff there and it was going to overwrite. So I ended up creating a folder C:\websites\RRGC, then I used "mojoPortal" as Application name (I think), Web Site name to "RRGC" and Physical path to "C:\websites\RRGC" the pressed Continue and it seemed to be ok.

In step 2/2 it asked for the database info and this is where I'm not sure what I did. I believe earlier in the install I said to install SQL database. I left the Database Admin name as sa and gave a password. On this screen, I found I needed to use that same sa's password, created a user name and created a password for that user. Then I pressed Continue.

The last screen of the Web Platform Installation said

"Congrats you've successfuly installed

Launch mojoPortal

Web Deployment Tool 2.1 without bundled SQL Support

SQL Server 2008 R2 Managment Objects

SQL Server Express 2008 R2" 

That seemed to work but at the end, the attempt to open the mojoportal site gave the error described in subject line.

When I look in the folders, I do see the folder C:\Websites\RRGC, but instead of everything under there like i thought it would be, it's in a subfolder under THAT, called mojoportal and then all the files under that (ie C:\websites\rrgc\mojoportal)

I did this install in a Virtual PC 2007 virtual Hard drive (running under Windows 7 64bit). In the VM, the following pgms were also installed

-  Windows server 2008 Standard SP2

- VS 2008 and VS 2010 and team fnd server 2010

I'm not sure if SQL Server was installed before or not in this machine

There is an active internet connection as that is how I ran the install file.

I was pretty confused about what file to install where. I am a software developer but do NOTHING with websites or installs of servers, etc.

Thanks

 

3/15/2012 10:06:40 PM
Gravatar
Total Posts 2

Re: Newbie Trouble Installing - Cannot connect to the configuration Database

I should say after all of the above, I clicked Finish on that last install screen, then the Web Platform Installer came up with the install mojoportal and the Step 1 of 2 Enter your Site information all over again. So I was able to choose the Web Site that I'd created "RRGC" as it appeared in teh Web Site dropdown. That is when I got the Overwrite warning "The specified desitingatino folder for application mojoportal is not emtpy. If you proceed with installtaion , existin files in that folder may be overwrittein. Do you want to continue". This was the same msg I'd gotten that first time, which caused me to change the Apllication name and path originally.

This time I selected Yes to the message, then entered the sa database password (I'd set it up at the beginning of the install I think when it asked me to assign a password for the sa. This time I left the username as the default "mojouser" and created a password.

Installation contd and I got the Congrats msg at the last screen again with a Launch MojoPortal link, but no other text. I clicked the Launch link, IE opened, status bar read "Website found. Waiting for reply..." before giving the same error again "Cannot connect to the configuration database"

Should I uninstall and then reinstall again or ??? (And the only way I'd know what to uninstall is by looking at the install dates in Add/Remove programs because I'm not sure what was on this VM originally.

Thanks!

3/16/2012 1:42:45 PM
Gravatar
Total Posts 18439

Re: Newbie Trouble Installing - Cannot connect to the configuration Database

Hi,

It sounds to me more like an IIS problem than a database problem. This message:

Cannot connect to the configuration database

is not talking about the mojoPortal database, I'm guessing its talking about IIS metabase.

My best guess is that you created a new web site without any host name but it is confliciting with the Default Web Site because there can only be one web site for a given ip unless they are differentiated by host names. Not having a host name is what makles the Default Web Site the default, but there can be only one configured that way or it causes errors and one or both sites will fail to load.

See my article about how to get multiple web sites working on your dev machine for more info that may help if I'm guessing correctly.

Hope that helps,

Joe

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