
Signature
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
> If you want better answers than this you're going to need to post more
> information such as your Web.Config file.
It's the default 'web site' config file.
Maybe I need to step back a minute. My understanding is that VS 2007 along
with ASP.net 2.0 should enable the whole concept of 'drag n drop' Rapid
development more palatable. Previously, I avoided it, as I loathed the code
and the markup that 1.0 used, so tended to write a lot of back end code.
I'm trying to get out of the habit, but I'm struggling to even get my
web.config file set up.
In VS.2005, if I create a SQL Express DB, how should the connection string
be added to web.config? Do I still go in there and type it myself, or should
I be using some sort of GUI interface widget within VS.net to handle that?
I'm fine typing it all, I just feel that it's counter to all I hear about
VS.net 2005.
-Darrel
Andrew Faust - 31 Oct 2007 02:51 GMT
For the default database (SQL Express in the data directory) it should just
work without adding anything to Web.Config so I'm not sure why it's not
working for you. However, for anything other than the default you'll need
to add the entries to the web.config file. Unfortunately, I don't know of
any mechanism other than manually entering it. Maybe someone else will know
of a better method.
> I'm fine typing it all, I just feel that it's counter to all I hear about
> VS.net 2005.
Asp.Net certainly gets rid of a lot of code you would have to write
manually compared to web development languages (like PHP) that I've used.
However, it can't get rid of all of it.

Signature
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
>> If you want better answers than this you're going to need to post more
>> information such as your Web.Config file.
[quoted text clipped - 19 lines]
>
> -Darrel