View Single Post
  #4 (permalink)  
Old December 10th, 2006, 12:36 AM
paul.thomson paul.thomson is offline
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Lightwaver
 I've see this come up a couple of times so I thought I would post an easy fix.
Step one Attach the databases. (if you don't know how to attach a database then please post a reply)
Step two change the <connectionStrings> section of the web config that is supplied from wrox. It should be around line 20.
Use this instead:
 <connectionStrings>
    <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer"
connectionString="Data Source=localhost;Initial Catalog=ASPNETDB;Integrated Security=True"
         providerName="System.Data.SqlClient"/>
     <add name="WroxUnited"
         connectionString="Data Source=localhost;Initial Catalog=WroxUnited;Integrated Security=True"
         providerName="System.Data.SqlClient" />
  </connectionStrings>

I hope this helps.

I would just like to thank you so much :) I registered just to make this post as I have been referencing this forum for hours in order to solve this problem #61514; I luckily found this post which INSTANTLY solved the issue.

Good work mate.


Paul
Reply With Quote