Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more: , +
Hi,

I bought a domain.. I copied all the files of my project onto the web server using FTP.

I changed some connection setting in web.config.

On my web server . I created a database.. but when I run m aplication after deploment. error comes up:

SQL
CREATE DATABASE permission denied in database 'master'
An attempt to attach an auto_named for file
G:\abc\applname\App_Data\myDB.mdf failed. A Database with same name exists, or specified file cannot be opened, or it is located on UNC share
Posted

1 solution

The web host will, somewhere, have a guide as to how to properly connect to a database with example connection strings.
 
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