Aller au contenu

Photo

Unable to connect to database


  • Veuillez vous connecter pour répondre
156 réponses à ce sujet

#1
InsaneMod

InsaneMod
  • Members
  • 4 messages
I'm using the default database and every time i try to start DragonAgetoolset.exe i get this error message:

"
Unable to connect to the database.

Run the toolset configuration and verify your settings....
"

So i open the toolset configuration. I make sure the default database is verified but it still won't work.

Modifié par InsaneMod, 06 novembre 2009 - 07:28 .


#2
bboyser8

bboyser8
  • Members
  • 100 messages
Having the same issue here :/

#3
bboyser8

bboyser8
  • Members
  • 100 messages
Figured out the problem. SQL Server wasn't installing correctly because I didn't have the .Net Framework. Make sure you have that installed then uninstall and reinstall the toolset.

#4
Nac Mac Feegle

Nac Mac Feegle
  • Members
  • 38 messages
i have windows seven, i have ea store digital deluxe and when i start the toolset, i can't open it because unable to connect to database !

What can i do ?

#5
Malcroix

Malcroix
  • Members
  • 360 messages
This thing is so BUGGED, and even though it's 4 days late.

After working around the Steam SQL installation error, and failing to start the GFF editor because BioWare FORGOT this isn't a locked beta, I am now having this error. Cannot connect to database. I DO have the Net Framework, I've installed a fresh version of it just a few weeks ago, and the Framework functions fine with its intended programs. Also, solutions from the Toolset readme didn't help (2 out of 3 don't even apply to my system). So What Gives, BioWare? What the hell were those beta testers doing all those months, anyway, when the thing can't even install correctly?

Modifié par Malcroix, 06 novembre 2009 - 09:56 .


#6
Fenriz132

Fenriz132
  • Members
  • 14 messages
Same problem here. On vista 64bits.

#7
Nac Mac Feegle

Nac Mac Feegle
  • Members
  • 38 messages
need help ! what can i do to make work this toolset ?

#8
Fenriz132

Fenriz132
  • Members
  • 14 messages
Anyone?

#9
Fenriz132

Fenriz132
  • Members
  • 14 messages
I took a look here http://social.biowar...troubleshooting but i can't understand about 80% of the solutions; my english isn't really good and i'm a bit noobish with that kind of stuff. Anyone could explain me how to fix the problem without using all the technical language. And sorry for the double post.

#10
dlld77

dlld77
  • Members
  • 3 messages
Also got the same problem and im on vista 64 and i have .net (which it told me right now when i tried to install it)

#11
dlld77

dlld77
  • Members
  • 3 messages
Some users report that the installer fails to create the SQL database (e.g. your Dragon Age\\toolssql\\data folder is empty). You can enter the following command to try restoring the database manually (Change the paths to bw_dragonage_content.bak and your Dragon Age folder as appropriate): "C:\\Program Files\\Microsoft SQL Server\\90\\Tools\\Binn\\"sqlcmd -S .\\BWDATOOLSET -E -Q "RESTORE DATABASE bw_dragonage_content FROM DISK = 'C:\\EUTS_Install\\data\\bw_dragonage_content.bak' WITH MOVE 'bw_da_content_euts_Data' TO 'C:\\Program Files\\Dragon Age\\toolssql\\Data\\bw_dragonage_content.mdf', MOVE 'bw_da_content_euts_Log' TO 'C:\\Program Files\\Dragon Age\\toolssql\\Data\\bw_dragonage_content.ldf'"



This is my problem that that data folder is empty but that fix tells me nothing, enter the command where?

#12
casadechrisso

casadechrisso
  • Members
  • 726 messages
Im getting the same message, however there's one more problem: I simply don't have the toolset configuration utility, as it seems. It wasn't created anywhere, no link, nothing, and the toolset itself tells me on startup I should use it. :P

Un- and reinstalling everything now, hope that will fix it somehow...


Edit: Na, didn't help, can't get it to run.

Modifié par casadechrisso, 06 novembre 2009 - 10:51 .


#13
Fenriz132

Fenriz132
  • Members
  • 14 messages
Same problem that dlld77

#14
casadechrisso

casadechrisso
  • Members
  • 726 messages
Oh, found the configuration utility, but it didn't help.



I un-and reinstalled once more and noticed that the MySQL-Setup couldn't replace a file, I got a notice it's protected by Windows and I should update my Windows ( ?!? ). I guess that might be the culprit, however, no idea how to fix it.

#15
Neuzl

Neuzl
  • Members
  • 7 messages
[quote]casadechrisso wrote...

Oh, found the configuration utility, but it didn't help.[/quote]

Care to share were it is?

I have reinstalled this trash 5 times done diffrent suggestions from the troubleshooting and none of them work.

Dunno how to do this step

[quote]Some users report that the installer fails to create the SQL database (e.g. your
Dragon Age\\toolssql\\data
folder is empty). You can enter the following command to try restoring the database manually (Change the paths to
bw_dragonage_content.bak
and your Dragon Age folder as appropriate):
"C:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\Binn\\"sqlcmd -S .\\BWDATOOLSET -E -Q
"RESTORE DATABASE bw_dragonage_content FROM DISK =
'C:\\EUTS_Install\\data\\bw_dragonage_content.bak' WITH MOVE
'bw_da_content_euts_Data' TO 'C:\\Program Files\\Dragon
Age\\toolssql\\Data\\bw_dragonage_content.mdf', MOVE
'bw_da_content_euts_Log' TO 'C:\\Program Files\\Dragon
Age\\toolssql\\Data\\bw_dragonage_content.ldf'" [/quote]


#16
Smergo

Smergo
  • Members
  • 2 messages
I had the same problem, and my data directory (C:\\Program Files (x86)\\Dragon Age\\tools\\toolssql\\Data) was also empty, I solved it by first fixing the permissions on the directory so that I could write to it. Then I started CMD and used a variant of the command, adjusted for my directories and the name of the databases in the bak file.

Here it is, worked for me, I got two new files in Data and now I can start everything. I run vista 64 and everything is installed at the default location.

"c:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\Binn\\SQLCMD.EXE" -S .\\BWDATOOLSET -E -Q "RESTORE DATABASE bw_dragonage_content FROM DISK = 'C:\\Program Files (x86)\\Dragon Age\\tools\\dbbak\\bw_dragonage_content.bak' WITH MOVE 'bw_dragonage_content' TO 'C:\\Program Files (x86)\\Dragon Age\\tools\\toolssql\\Data\\bw_dragonage_content.mdf', MOVE 'bw_dragonage_content_log' TO 'C:\\Program Files (x86)\\Dragon Age\\tools\\toolssql\\Data\\bw_dragonage_content.ldf'"

To get a command prompt use windows key + R and type cmd, enter.

Just make sure that you have permissions to write to the directory first, using properties, security and so on.

Modifié par Smergo, 06 novembre 2009 - 11:17 .


#17
Smergo

Smergo
  • Members
  • 2 messages
For some reason I get double \\\\ in my example, it should be a single one.

Modifié par Smergo, 06 novembre 2009 - 11:15 .


#18
Batman-the-Blind

Batman-the-Blind
  • Members
  • 11 messages
Thank you Smergo ! It work for me to ! ;)

#19
Taltherion

Taltherion
  • Members
  • 335 messages
Thank you Smergo, with your help, I got the toolset finally running.

#20
Neuzl

Neuzl
  • Members
  • 7 messages
Well i am geting nowere and i have no clue how to use the command Smergo posted, i guess i have to wait until Bioware fix this, and i guess that is not soon.

Modifié par Neuzl, 06 novembre 2009 - 11:31 .


#21
Taltherion

Taltherion
  • Members
  • 335 messages
Neuzl, first of all, rightclick on the empty Data folder and make sure you have permission to write into that folder.



Then click on "start" (menu bottom of screen, where you get all the shortcuts for window programs) and on "run" (or is it execute? I'm German ...)



Type "cmd" (without the " "). A window opens (looks like DOS) ... copy Smergos Command (edit it to remove the redundant ///) into the command line of that window (make sure that the paths smergo used C:/program files/Microsoft SQL Server ... are the same paths on your computer - if not, edit Smergo's command).



Press "Enter" and if everything worked, you should have two files in the before-empty folder.

#22
Adinos

Adinos
  • Members
  • 341 messages
I had the same problem, but my situation was a bit different, as I was installing the toolset on top of the last beta toolset. I noticed that In Control Panel->Add or Remove programs there were two instances of the Dragon Age toolset, so I did a bit of cleaning - uninstalled the toolset and SQL server, and then went into regedit and removed everything (HKCU/Bioware/Dragonage/Toolset) and HKLM/Software/Microsoft/SQL server). Then reinstalled and everything works fine. My solution may not apply to anyone else, though.....

#23
Hitori31

Hitori31
  • Members
  • 20 messages
Not sure this is the same problem, but i can't download, or even find my items which came with the collectors edition.

Was talking to support for a very very long time, he showed me this and that which i had allready done as i didn't get the promo key, he then did it manualy for me on my account so it shows now, but i can't for my life seem to download it in the game.....

At this moment i have no clue what to do, the support dude gave up on me and sent a mail to some higher up people about my problem.

#24
Adinos

Adinos
  • Members
  • 341 messages

Hitori31 wrote...

Not sure this is the same problem, but i can't download, or even find my items which came with the collectors edition.
 


I don't think this has anything to do with the toolset installation issues.... you should try the general forum.

#25
Hitori31

Hitori31
  • Members
  • 20 messages
Would guess so, still new to this so i'm just trying to find my way around :)