Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i have seen such as this topic many times and they told to put user instance true to pass this execption . when i execute my programme in visual studio ,almost every things is ok but when i build a setup for that and again execute ,this exeption appear ! what should i do?!?it is very important for me.
Posted

1 solution

First one check that your folder is not read-only. It Worked for me. Second one again check your connection string. Also check User Instance=True
For more discussion please look the asp.net forum link:

http://forums.asp.net/t/879454.aspx?An+attempt+to+attach+an+auto+named+database+for+file+failed[^]

Thanks
 
Share this answer
 
Comments
Farshad72 4-Mar-14 1:35am    
it is installd in a drive that is not readonly and connection string is ok .
Farshad72 4-Mar-14 1:37am    
it is not asp

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900