I would like to be able to access the webpage from all the computers on my domain, so far i have succeeded in setting up IIS 8 on the windows 2012 server, but i get this error when trying to access database:
here is the SQLEXPRESS log ( I've been trying to edit the web.config
a lot):
2017-02-21 19:43:34.18 Logon Error: 15350, Severity: 16, State: 1.
2017-02-21 19:43:34.18 Logon An attempt to attach an auto-named database for file C:\Website\Project\projectTitle\App_Data\ES.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
2017-02-21 19:53:24.62 Logon Error: 1832, Severity: 20, State: 1.
2017-02-21 19:53:24.62 Logon Cannot attach the file 'C:\Website\Project\projectTitle\App_Data\aspnet-ES-20170117090241.mdf' as database 'aspnet-ES-20170117090241'. [CLIENT: <local machine>]
been looking around and tried to solve this error but nothing have worked, Right now i have just moved the project folder over to the server, with the app_data
in it. is there a better way to do this ?