Search:
Namespaces
Discussions
.NET v1.1
Feedback
ConfigurationSettings Error
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework.aspnet.webservices
.
Post a new message to this list...
William Gower
In my
WebService
I have a method called Download() that creates a dataset.
To get my connection string which is located in my web.config file I call
the following
imports System.Web.
HttpServerUtility
Dim strConnectionString As String
strConnectionString =
ConfigurationSettings
.AppSettings("MyConnectionString")
it tells me that "ConfigurationSettings" is not declared.
This is the same code that I use in an asp.net app and it works fine there.
Reply to this message...
MA
"William Gower" <
Click here to reveal e-mail address
> wrote in message
news:uHCsa$
Click here to reveal e-mail address
...
[Original message clipped]
Well...I´m a C# programmer, but check if it helps to import
System.Configuration
/Marre
Reply to this message...
System.Configuration.ConfigurationSettings
System.Web.HttpServerUtility
System.Web.Services.WebService
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com