# Could not initialise database

**URL:** https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855
**Category:** Discussion
**Created:** [August 22, 2012, 4:54am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855 "2012-08-22T04:54:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 22, 2012, 4:54am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855/1 "2012-08-22T04:54:34Z")

</div>

Hi,

I've been trying to install Continua for the last two days. I've finally reached the stage where I have the ContinuaCI Application Service and the ContinuaCI SSH Server running and a full installation of postgreSQL is present. I've created a database in postgreSQL owned by user "continua" called "ContinuaCI".

When I try to access ContinuaCI via localhost:8101 (which is the port where I'm running the website), I get the following log message:

------

The Continua Server Service is starting up...  
  
&nbsp;&nbsp;&nbsp; 12:35 PM : Starting  
&nbsp;&nbsp;&nbsp; 12:35 PM : Creating Application Setup.  
&nbsp;&nbsp;&nbsp; 12:35 PM : Creating Application instance.  
&nbsp;&nbsp;&nbsp; 12:35 PM : Starting  
&nbsp;&nbsp;&nbsp; 12:35 PM : Setting up Loggers  
&nbsp;&nbsp;&nbsp; 12:35 PM : Migrating Database  
&nbsp;&nbsp;&nbsp; 12:35 PM : Could not initialise database: Unable to resolve any connectionstring using parameters "/connection" and "/configPath" Check the eventlog for more info.  

&nbsp;&nbsp;&nbsp; 12:35 PM : Starting Application instance.

------

In the event log, I have the following:

&nbsp;

Event Type:&nbsp;&nbsp; &nbsp;Error  
Event Source:&nbsp;&nbsp; &nbsp;Continua  
Event Category:&nbsp;&nbsp; &nbsp;None  
Event ID:&nbsp;&nbsp; &nbsp;0  
Date:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;22/08/2012  
Time:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;12:35:17 PM  
User:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;N/A  
Computer:&nbsp;&nbsp; &nbsp;WINDSORDEV  
Description:  
Could not initialise database:  
  
FluentMigrator.Runner.Initialization.UndeterminableConnectionException: Unable to resolve any connectionstring using parameters "/connection" and "/configPath"  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.ConnectionStringManager.OutputResults()  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.ConnectionStringManager.LoadConnectionString()  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.InitializeProcessor(String assemblyLocation)  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.Execute()  
&nbsp;&nbsp; at Continua.Migrations.Runner.Execute(String database, String connectionString, String fileName)  
&nbsp;&nbsp; at Continua.Server.Service.Migrator.Begin()  
Exiting...  
  
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.  
  
------

&nbsp;

Could you suggest what I need to do to fix this problem?

&nbsp;

&nbsp;

Many thanks,

James

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [August 22, 2012, 5:22am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855/2 "2012-08-22T05:22:20Z")

</div>

Hi James,  
It looks like the database settings maybe incorrect. You can find the settings in the Continua.Server.Service.exe.config file. If you installed Continua in the default location it would be in: C:\Program Files\VSoft Technologies\ContinuaCI\Server\<br\>

Open the config file in an editor (Notepad, etc…) and look for the section:

In this section you’ll find a property element like this:

[code]Server=127.0.0.1;Port=9001;Database=ContinuaCI;UserId=postgres;Password=password;MinPoolSize=10;MaxPoolSize=256[/code]

Alternatively you could just search the file for “ **connection.connection\_string** ”.

Verify all the attributes of that element reflect the database you’re trying to connect to.

Let us know how you go and we’ll take it from.

You mentioned it’s taken you two days to get it up and running. Are there problems you encountered that would’ve been easier to solve if there were more instructions in the wiki?

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 22, 2012, 6:56am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855/3 "2012-08-22T06:56:28Z")

</div>

Hi Vinnie,   
  
 Thanks for the quick response. In my config file under the header , I had an empty connection string, i.e.,   
  
  
 I copied across the one from the commented section and updated the parameters, and the connection now works. James

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [August 22, 2012, 2:57am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855/4 "2012-08-22T02:57:44Z")

</div>

Hi James   
  
 Can you tell us whether you are using the 32bit or 64bit version and the same goes for Server 2003.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 23, 2012, 2:24am UTC](https://www.finalbuilder.com/forums/t/could-not-initialise-database/4855/5 "2012-08-23T02:24:43Z")

</div>

Both are 32-bit.
