1

I have 2 Windows 2012 virtual machines set up in Virtualbox - one called "AppServer" where I'll be installing applications, and another called "DatabaseServer" - where the application databases will be stored, using SQL Server 2008.

I'm running some install files on the application server to create a corresponding database on the database server, but it is just hanging, most likely due to permissions.

The VMs are connected using the Internal Network function of Virtualbox, and they can successfully ping each other.

How do i set up permissions on the database server to allow accounts from the application server to create databases, etc. on it?

migrated from stackoverflow.com Sep 11 '14 at 11:52

This question came from our site for professional and enthusiast programmers.

  • Permissions problems typically return an error message immediately. Hanging does not sound like a permissions issue. – Aaron Bertrand Sep 11 '14 at 13:36
1

Unfortunately using application pool identities between two different servers is not possible. App Pool identities are located on their host machines only - SQL server will be unaware of the application pool accounts - so you cannot add them explicitly to logon to the SQL server. They do however run as the Local Machine account over the network - in a domain environment you could give the application server's machine account permissions to the SQL server.

If you have a domain they could be joined to you could run the application pools under a domain identity; granting the domain account access to the SQL server.

This is my preferred method for a dev environment: Enable the "Local Account Token Filter Policy" using group policy. Cross create your accounts on both servers with same username/passwords. Run the application pools under the created accounts; you can grant the same account access on the SQL server; since the account exists on both servers you shouldn't have any issues.

0

Are you able to share the install files you refer to?

It sounds as though you need to use application pool security: http://www.iis.net/learn/manage/configuring-security/application-pool-identities

These accounts could then be added to the database server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy