Modifié par JasonMel, 02 janvier 2011 - 03:13 .
Anyone able to run the toolset as NOT administrator in XP? [RESOLVED]
#1
Posté 20 décembre 2010 - 11:24
#2
Posté 30 décembre 2010 - 11:44
Modifié par JasonMel, 30 décembre 2010 - 11:45 .
#3
Posté 30 décembre 2010 - 01:13
#4
Posté 31 décembre 2010 - 05:40
The toolset launches using a "run as" admin account. That error only happens if I try to launch it in my user account I use for everything other than admin tasks. I just want to make sure that I'm not headed for disaster by developing and playing on two different accounts. Don't applications normally store settings and things in the account in which it's run? I don't understand why DA has this limitation now, when BW got it right with NWN.
Modifié par JasonMel, 31 décembre 2010 - 05:42 .
#5
Posté 31 décembre 2010 - 05:55
#6
Posté 02 janvier 2011 - 03:02
Taking this information, I looked up SQL permissions and learned that I could run the toolset normally in my user account by changing to the Administrator account, running "SQL Server Surface Area Configuration" from the start menu, selecting "Add New Administrator," typing in my user account in "User to provision" instead of the default, selecting "Member of SQL Server SysAdmin role on BWDATOOLSET," and clicking the right arrow. Once I OK out of that and log back into the user account I just gave the permissions to, the toolset launched.techwench wrote...
The only reason the Toolset itself needs to run as admin is because it requires permission to access other things such as the sql database.
Thanks! If I run into any other problems with it, I'll report back.
Modifié par JasonMel, 02 janvier 2011 - 03:36 .
#7
Posté 02 janvier 2011 - 09:11
[b]HLKM/SOFTWARE/BioWare/Dragon Age/Toolset/Environment[/b] and [b]DefaultDatabaseConnection[/b]: [i]Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=bw_dragonage_content;Data Source=.\\\\BWDATOOLSET;[u][b]User Instance=true;AttachDBFilename=C:\\Program Files\\DAODB\\Data\\bw_dragonage_content.mdf[/u][/i][u].[/b][/u](never mind the forum doubling backslashes)
About the most interesting error message I can find is
2011-01-02 14:52:01.65 Logon Login failed for user 'EDITED\\Edited'. Reason: Failed to open the explicitly specified database. [CLIENT: ] 2011-01-02 15:09:14.52 Logon Error: 18456, Severity: 14, State: 38.
Just throwing this out there in general in case it makes sense to anybody.
Modifié par FollowTheGourd, 02 janvier 2011 - 09:20 .
#8
Posté 02 janvier 2011 - 10:35
Yes, I think I set the account to be a "power user." Also, this is Windows XP Professional, and I remember changing the permissions regime to something that offered a higher resolution of control than the default. It's been at least five years since I set the accounts up, so that's all I remember. Sorry to hear the above steps don't work for everyone.FollowTheGourd wrote...
Interesting that that worked for you. Are you running as a limited user, or just something other than the administrator (e.g., power user)?
(Edit: Oh, also, before I did what I described, I first took the above steps using the administrator account itself in the "user to provision:" field. Maybe that makes a difference.)
Modifié par JasonMel, 02 janvier 2011 - 10:54 .
#9
Posté 02 janvier 2011 - 11:07
Looking at things quickly... you might want to check in all your module's resources back into the database with the previous account. Otherwise you'll see a red dot in front and can't check them out with the new account, not to mention there are pending changes.
What else is funny... running as a limited user I can connect to the DB just fine using the management tools. Just the toolset seems to have an issue.
Modifié par FollowTheGourd, 02 janvier 2011 - 11:22 .
#10
Posté 03 janvier 2011 - 02:27
#11
Posté 03 janvier 2011 - 05:42
Obadiah wrote...
I thought I read somewhere that the toolset needed to run with administrator privs because of some registry settings it needed to access? Never followed up on that myself.
Not sure. I saw that entry in the troubleshooting page on the wiki, but I was able to read the keys - not write them, though as a limited user (e.g., update the connection string key). Didn't see anything weird with procmon, but filemon/regmon used to seem much clearer about when there were registry/file access issues going on.
Modifié par FollowTheGourd, 03 janvier 2011 - 05:44 .





Retour en haut







