Aller au contenu

Photo

Wiki Help: Unable to connect to database


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

#1
KREUGER44

KREUGER44
  • Members
  • 37 messages
 I´ve tried almost everything, it seem like my grand issue is that I couldn´t see any files in my Data folder. I did what the wiki wanted me to do and now i have the files there, though I can´t start the toolset. 

I wondering about this : "(Change the paths to 
bw_dragonage_content.bak
 and your Dragon Age folder as appropriate):
 

I changed the path and thus got the files i succeded but I  just wonder, should i change the name of the dragon age folder to bw_dragonage_content.bak

"Change your dragon age folder as appropriate" what this this mean?

#2
sirkaracho

sirkaracho
  • Members
  • 52 messages
it means that you should change the command so that the path in the command resembles the path the files are stored in your folders



good luck getting it to work, i am trying since friday

#3
KREUGER44

KREUGER44
  • Members
  • 37 messages
Thankyou a lot. Don´t need to worry about that one then, it should be fine..

Allright so at least I got that one right, Now the wiki talks about configuretoolset



1. First use the ConfigureToolset to set the correct string.



If you don't use the default settings you can copy the string from from the ConfigureToolset tool otherwise use one of the following command line queries to get the connection string.

Win32: reg query "HKLM\\SOFTWARE\\BioWare\\Dragon Age\\Toolset\\Environment" /v DefaultDatabaseConnection

Win64: reg query "HKLM\\SOFTWARE\\Wow6432Node\\BioWare\\Dragon Age\\Toolset\\Environment" /v DefaultDatabaseConnection



2. Now run the following command line (substituting your connection string for the final value)



reg add "HKCU\\Software\\BioWare\\Dragon Age\\Toolset\\Environment" /v DefaultDatabaseConnection /t REG_SZ /d "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=bw_dragonage_content;Data Source=.\\BWDATOOLSET"



This should be the mssql server configuration manager right? or Am I wrong?



I´m not able to do any of those commands there what i´ve seen... :/