I’m working on a web service project, and I’m coding at home, where I have SQL Express 2008 installed, but the app needs to interface with an SQL Server Standard. I’ve never done the transition before, and I haven’t been able to find any resources on the subject – plenty of stuff about upgrading, but nothing about how to deploy.
For instance, Visual C# Express, I don’t seem to be able to connect to a database without a database file – is that how Standard works as well? Do I just deploy the file with the application?
I think you’ll have to manually create the connection string as the IDE won’t automatically generate ones connecting to SQL Server Standard Edition. But you can easily record two in the app – one for testing that points to the EXPRESS instance, and one for the live that points to the real one. As long as you’re connecting to the same objects and interacting with them in the same way, it should be fine.
You can manually amend your connection string AFTER the IDE has generated its own to something like :
replacing ServerName and AppDatabase as required, and with possible authentication changes. You’ll have to watch for the IDE recreating the original connection string, though, as I can’t see a way to modify the connection string used in the Database Explorer and if you use the IDE to drag datasources into your app it’ll keep using the original connection string.
SQL Server Developer Editions are pretty cheap, though – easily less than £50.