Subsonic change management process. Moving from test to prod

deploymentsubsonic

Can I simply change the connection string to point from my Test DB to my Production DB when I go live with my website and DAL generated via Subsonic?

When I try to push to my production servers the DAL still seems to be talking with my Test DB even though I have changed the connectionstring to a valid production DB that contains the identical Schema.

TIA

John

Best Answer

Yes, you should only have to change the setting in your web.config and make sure that your web app reloads. (it should almost always reload when the web.config is changed or replaced but I have seen times when it won't, you can then restart it in IIS or try editing the web.config locally)

You shouldn't have to rebuild