I have a setup in C# and I have in build sql server 2008 exe with it, and data base attached with it.
My problem is this when I run setup in XP then its work properly but when I run it in windows 7 then it works properly in D,E,F drive but not works in C drive...
It shows the error which is...
you have not window authentication for data base.The database primary file in already exists and its read only
My question is, How can I give window Authentication for my data base in windows 7.
My other problem is, when sql server 2008R2 is already exist in System then database works properly but its not exist in system than its show error while I have in build sql server 2008 exe.....
My connection string is
Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\crm.mdf;Integrated Security=SSPI;User Instance=True
If anyone can help me then please give me some solutions for it....
Thanks....