User Instance-like SQL Server Express 2005 setup



Hi,

I am trying to figure out a way to re-distribute SQL Server Express
2005 with a custom application in the way that User Instances work (I
cannot use native User Instance functionality, since I use C++/OLE DB,
and not ADO.NET).

I would like both SQL Server Express 2005 and the application installed
once on a particular Windows system by an administrator (available to
all users on a system), and then allow a custom application to create a
new database and take ownership of it.

The problem is (as far as I understand it...) that for things to work,
each new user would have to have sa-level access to an instance FIRST
to add its own user, create its own database, grant appropriate
permissions, etc. before switching back to its own user name to access
the data. Moreover, in case of integrated security, each user would
have to update his or her SQL Server Express 2005 password, after
changing the Windows logon password.

Ideally, I would like to setup an SQL Server Express 2005 instance in
such a way, that every new Windows user can connect to that instance
(using Windows logon information or chosen SQL username and password),
create and use a database, but without instance-wide sa access.

Is that possible?

Gary

.



Relevant Pages

  • Re: SMS 2003 & Remote SQL
    ... a different SQL server without a problem. ... > your current windows logon ID does not allow you to access the Windows ... > I've tried providing the 'sa' account during setup but that didn't work ... >> Tom, i do have this setup working, but only using an sa account. ...
    (microsoft.public.sms.setup)
  • Re: Secure logon
    ... Upsize the tables to SQL Server and use Windows authentication. ... Windows logon has already accepted their user name and password when they ... Use Books online for documentation, it installs with SQL Server. ... I'm trying to secure my database by creating username/password for users ...
    (microsoft.public.access.security)
  • Re: Unusual database connection to SQL (Access 2002). Help!
    ... you can just replace server name with IP, as for SQL Server authentication you have to remove Integrated Security and add UID and PWD properties ...
    (microsoft.public.access.modulesdaovba)
  • RE: Deployment Architecture/Attach SQL MDF
    ... manage SQL Server instance in code. ... Backup and Restore with User Instances ... you can use such code in your custom action program or class. ... Install SQL Server 2005 from the Command Prompt ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Best way to populate webpages from multiple tables
    ... tables within hash tables, custom classes etc. ... > Set a session expiring cookie at the client that stores the Customer ID. ... > send it to the client, instead store it in your session mgmt sql server - ...
    (microsoft.public.dotnet.framework.aspnet)