Posted on: 7/24/2012 11:51:49 PM | Views : 227

Hi, 
When I try deploying to iis, I get an error attaching the database. 
So here what I found on the web.config file :
<configuration> <appSettings> <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/> </appSettings> <connectionStrings> <remove name="ApplicationServices"/> <add name="ApplicationServices"connectionString="Data Source=.\SQLExpress;Integrated Security=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf;"/> <remove name="ConnectionString"/> <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ONDA.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> </connectionStrings>
Shoul I l ...

Go to the complete details ...