hey guys ...
i have a database in my website and its using default user in local ,everything is good until i open database with my visualstudio and do my works on database then i close connection because website needs to use it ... but it will show me this error :
Cannot open user default database.Login failed.
Login failed for user 'alir-PC\alir'.
if i restart sqlserver my problem will be solve but i dnt know why if i open database with visual studio then after it my website do not open it .... but until i didnt open database with visual studio my website work very well ...
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)