Sql unc error in lan applications


how attach database file in network related applications
im getting following error
system.data.sqlclient.sqlexception: attempt attach auto-named database file \\pc-1\d\db.mdf failed. database same name exists, or specified file cannot opened, or located on unc share.


how solve error...

the databas files need local sql server service - no network shares.
tibor karaszi, sql server mvp | http://www.karaszi.com/sqlserver/default.asp | http://sqlblog.com/blogs/tibor_karaszi


SQL Server  >  Getting started with SQL Server



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........