Hi there,
Did you store the connectionstring in the <appSettings> node or in the <connectionStrings> node in the web.config file?
Normally, you would use the connectionStrings section, but your code is accessing the appSettings:
ConfigurationManager.AppSettings.Get("connectionSt ring")
should be something like:
ConfigurationManager.ConnectionStrings("connection String").ConnectionString
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to:
Techno Rave Entrance by
Blade (From the album:
Blade Soundtrack)
What's This?