Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Inherited (default) connection string IIS mystery

$
0
0

In my IIS I have a connection string that is inherited from some where. Do anybody know where it came from because in the conection string is

AttachDBFilename=|DataDirectory|aspnetdb.mdf

DataDirectory for some reason points to inetsrv in system32. I am thinking that it is not suppose to. How should I configure this? It is causing me a error when I want to access the database via database manager in IIS

An attempt to attach an auto-named databaseforfile C:\windows\system32\inetsrv \aspnetdb.mdf failed. A databasewith the same name exists,or specified file cannot be   
opened,or it is located on UNC share.

and I think it is the reason why my website does not work because it is the only connection string I have that connects to my local server. I can add a connections string but the website does not inherit like it does this one.


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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