sir,
On a Machine with VS2010 when trying to run asp.net aplication for the first time through IIS on login I am getting error
Server Error in '/' Application.
An attempt to attach an auto-named database for file C:\Users\admin\Documents\Visual Studio 2010\WebSites\WebSite2\App_Data\aspnetdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
I am using Default Template and default membership system
The connection in web.conf is as following.
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
Pl. guide to solve the problem.
The application is running fine inside VISUAL STUDIO TEMPORARY INTERNAL SERVER .
Thanks