Click here to Skip to main content
16,017,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created one windows application on other PC( which has Operating System Windows XP ) and i have created the setup of that project . i have install that setup on another PC ( which has Operating System Windows 7 starter ) but when i run the software and click login button it give me error as
CREATE DATABASE permission denied in database 'master'
Could not attach file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\BMI.mdf " as database 'BMI'

please anyone help me to solve thie error
Posted
Comments
walterhevedeich 30-Jul-11 7:49am    
You posted a similar question before. Have you checked the solutions?

Please don't repost your question.

Your previous question with answers
CREATE DATABASE permission denied[^]

Anyway my answer
Create Database Permission Denied[^]
Attach Database Failed[^]

Free attachment
Troubleshooting - Microsoft SQL Server[^]
 
Share this answer
 
Comments
Espen Harlinn 30-Jul-11 8:35am    
Nice reply, my 5
It may Access permission issue.

Try with following steps:
1. Right click on your SQL Management studio
2. Run as --> "Administrator"
 
Share this answer
 

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