This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installing an SQL Database
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2010
08:10 PM
Installing an SQL Database
I have two SQL Databases that I need to include in my installation. They are intended as Demo Databases and SQL Express is being installed as a prerequiste and I'm having the worse time installing them.
All I want to do is place them in a folder. The software will "attach" them. But here's the rub. Everytime I try to install them, when the software runs and attempts to attach them I get an Access Denied 5 error from the OS through SQL Server.
How can I set these files copied over so that they give full OS rights for anyone logged into that PC?
Thanks in advance.
All I want to do is place them in a folder. The software will "attach" them. But here's the rub. Everytime I try to install them, when the software runs and attempts to attach them I get an Access Denied 5 error from the OS through SQL Server.
How can I set these files copied over so that they give full OS rights for anyone logged into that PC?
Thanks in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2010
12:22 PM
It sounds like that you log on the SQL Server service as the Network Service account which has minimum privileges on the local computer and acts as the computer on the network. Please try the steps below and see if it solves your issue.
[LIST=1]
Go to Microsoft SQL Server Configuration Manager.
Click on the Services node from the left pane.
From the right pane select the SQL Server service that you target and go to its properties.
Change the builtin login from 'Nerwork Service' to 'Local system' and restart the service.
[LIST=1]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 23, 2010
10:30 AM
I have changed the prerequisite definition for SQL Server Express 2005 to the following:
SQLEXPR.EXE /qb INSTANCENAME=SQLEXPRESS ADDLOCAL=SQL_Engine SECURITYMODE=SQL SAPWD=Pa$$word1 SQLACCOUNT="NT AUTHORITY\LOCAL SERVICE"
And I can run this successfully from the command line. But when I attempt to run it in the installation I get a message that the service failed to start.
What can I do to get this to work correctly in installshield 2010?
bob
SQLEXPR.EXE /qb INSTANCENAME=SQLEXPRESS ADDLOCAL=SQL_Engine SECURITYMODE=SQL SAPWD=Pa$$word1 SQLACCOUNT="NT AUTHORITY\LOCAL SERVICE"
And I can run this successfully from the command line. But when I attempt to run it in the installation I get a message that the service failed to start.
What can I do to get this to work correctly in installshield 2010?
bob
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)