I have tried days to find solution maybe simple problem as newbie with SQL. A program is coded using SQL Server 2005 Express and for installing is used InstallAware Express, which was included with Delphi X package. Deploying and using later on program goes fine with XP and Win 7 as long if you are an administrator user. But if you want to change as standard User, program does not find databases.
I have tried to add in IA Server Configuration/SQL Databases/SQL Script window new lines at different places among data script lines as follows:
GRANT CONNECT TO user
GO
But if I use Microsoft SQL Server Management Studio Express program, go to Databases, to some own database, click Security, then open Users, double click Users icon and in the Role Members window click active db_datareader
, db_writer
and db_ddadmin
, everything works fine even for standard user.
Is there even in principle possible to make this task automatically during installation with IA Express? Is there alternative installing software who can do this job?