Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

SQL error number is 5110

$
0
0

Background: Im creating an ASP .Net app in VS2005. Local machine has SQL express installed and server has developer edition of SQL 2005.

When it tries to create the database file on a UNC share it comes up with an error "The file "\\server\Visual Studio Projects\Websites\PWSDelete\App_Data\Personal.mdf" is on a network path that is not supported for database files.
An attempt to attach an auto-named database for file
\\server\Visual Studio Projects\Websites\PWSDelete\App_Data\Personal.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share." to you guys the error message

"The SQL error number is 5110 and the SqlException message is....."

may mean more in resolving this issue. I read up on http://support.microsoft.com/kb/304261/ although i understand the risks etc i still dont know how to configure the server to allow remote database files to be created. My guess is to create a "Trace" but not sure where to start and how to ensure im doing this correctly. Can anyone please advise?

Thanks in advance


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>