SQL 2008?
#1
Posté 06 novembre 2009 - 06:49
#2
Posté 06 novembre 2009 - 06:56
#3
Posté 06 novembre 2009 - 07:01
#4
Posté 06 novembre 2009 - 07:27
Modifié par RanosB, 06 novembre 2009 - 07:28 .
#5
Posté 06 novembre 2009 - 07:36
RanosB wrote...
I'm currently having trouble getting it to work with 2008 express, I'm getting database connection problems.
Did the database get created? If so, did you try putting it in Type 90 (i.e. SQL 2005) mode?
#6
Posté 06 novembre 2009 - 08:18
#7
Posté 06 novembre 2009 - 08:30
#8
Posté 06 novembre 2009 - 08:58
#9
Posté 07 novembre 2009 - 01:00
#10
Posté 07 novembre 2009 - 02:29
Used the method for smiting SQL 2008 in the manner it deserves from the following link:
http://mark.michaeli...lNightmare.aspx
After that, when SQL 2005 fails to install during a re-install of the toolset I changed the service logon account from "Network Service" (which failed to work even after being dropped into the "Administrators" group) to "Local System" and pressed "retry". Completes successfully.
#11
Posté 07 novembre 2009 - 02:34
#12
Posté 07 novembre 2009 - 03:27
I get the following log entries after it exits:
Fri Nov 06 21:15:13 2009, INFO, "C:\\tag\\main\\dev\\tools\\sdk\\src\\PluginAPI.cpp", 106, "Initializing toolset."
Fri Nov 06 21:15:15 2009, ERROR, "d:\\DASecuROMBuild\\main\\dev\\tools\\sdk\\include\\toolsoledb.h", 226, "Invalid object name 't_GlobalParameters'."
Fri Nov 06 21:15:15 2009, ERROR, ".\\ConnectionData.cpp", 214, "CConnectionData::ConnectIO caught an exception: Bad HRESULT: 80040e37"
Modifié par marco0009, 07 novembre 2009 - 03:33 .
#13
Posté 07 novembre 2009 - 03:35
#14
Posté 07 novembre 2009 - 04:11
#15
Posté 07 novembre 2009 - 04:32
#16
Posté 07 novembre 2009 - 05:25
#17
Posté 07 novembre 2009 - 05:38
If all goes well your database should be functional
Modifié par marco0009, 07 novembre 2009 - 05:39 .
#18
Posté 07 novembre 2009 - 05:42
#19
Posté 07 novembre 2009 - 05:43
Ahh I used the restore.bin at \\Database Utilities\\backup_restoremarco0009 wrote...
Connect to your server in the SQL Management Studio. Right click the Databases folder and choose Restore Database. In the to Database field enter bw_dragonage_content. For the source choose From device and click the ... button. Leave backup media as file, click Add and navigate to Program Files\\\\Dragon Age\\\\tools\\\\dbbak and select bw_dragonage_content.bak. Click OK on both the open screens, make sure the check box under the restore column is selected and click OK
If all goes well your database should be functional
#20
Posté 07 novembre 2009 - 07:36
TITLE: Microsoft SQL Server 2005 Setup
------------------------------
SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.. Refer to the server error logs and Setup logs for detailed error information.
Anyone have an idea how to fix this? I really want to get the toolset working so i can get familiar with it. And the whole finding the protect folder and unchecking "Use simple file sharing (Recommended)" thing from the wiki doesnt work, as that command doesnt exist (WinXPSP3).
Any help would be greatly appreciated.
#21
Posté 12 novembre 2009 - 12:06
Just running the batch will NOT work if you don't install to the default location (e.g. Steam), because it expects the default paths to be present. I just took the sqlcmd and modified it, then ran it in a command window. If anyone is like me, here you go:
>sqlcmd -S .\\SQLEXPRESS -E -Q "RESTORE DATABASE bw_dragonage_content FROM DISK = 'c:\\Backups\\DABackup001.bak' WITH REPLACE, MOVE 'bw_dragonage_content' TO 'E:\\Steam\\steamapps\\common\\dragon age origins\\tools\\toolssql\\Data\\bw_dragonage_content.mdf', MOVE 'bw_dragonage_content_log' TO 'E:\\Steam\\steamapps\\common\\dragon age origins\\tools\\toolssql\\Data\\bw_dragonage_content.ldf' "
Note that you need to change the file paths to match what you've got running. The c:\\Backups\\DABackup001.bak was just a copy+rename from the file in tools\\dbbak\\bw_dragonage_content.bak. And your steam might not reside in E:
After I ran that and connected the database in the toolset config app, everything seems to work. Well, at least so far.
Hope this is a useful resource.
#22
Posté 01 mars 2010 - 01:00
Getting Management Studio installed was the hardest! I really don't know how they can keep making wizards so dumb.
When I restored the toolset db I had the log ldf on C:\\*SQL Default* and moved the data mdf to another drive.
Once I had it looking up in SSMS, I ran the config prog to change the connection string and it loaded, loaded the tavern ok...not done more than that though at the moment.
#23
Posté 01 mars 2010 - 01:02
Sounds like the path could be too long...where are you installing it to?LionFranco wrote...
SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.. Refer to the server error logs and Setup logs for detailed error information.
Anyone have an idea how to fix this? I really want to get the toolset working so i can get familiar with it. And the whole finding the protect folder and unchecking "Use simple file sharing (Recommended)" thing from the wiki doesnt work, as that command doesnt exist (WinXPSP3).
Any help would be greatly appreciated.
SQL seems to have some crappy <60 char path limit.





Retour en haut






