Re: I can't get 5 line web.config to work because it has connectio

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I don't understand what your point is. If you use appSettings it works, if
you use ConnectionString it doesn't b/c it's not valid. Where's the point
of contention with this?
"Venkat_KL" <VenkatKL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AEDE4DF1-89F8-4A1C-A01B-164C6F0D1EAD@xxxxxxxxxxxxxxxx
> Dear W.G. Ryan - MVP ,
>
> That's not a valid section name.
>
> I did not get you, what do you mean by "That's not a valid section name."
>
> You can stick it in appSettings if you need a custom section.
>
> That is what I Have also told - "appSettings"
>
> Otherwise, the app doesn't recognize the value.
>
> Thats true, That is why I have also told like
>
> In the web.config just add the <appSettings></appSettings> in between
> <configuration> and <system.web> like the following
> <configuration>
> <appSettings>
>
> <appSettings> is above the <system.web> , please see carefully what i have
> told
>
> You try as I have told, then reply back to me
>
> bye
> Venkat_KL
>


.



Relevant Pages

  • Startup path
    ... Using the app.config scenario and I added a Connectionstring to appSettings ... In the value string I have the datasource equal to a absolute ...
    (microsoft.public.dotnet.languages.csharp)
  • Web.config und MySQL
    ... Ich habe folgendes Problem mit einer MySQL-Datenbank: ... Connectionstring gerne in die Web-Config unter den appSettings eintragen ... Danke für die Hilfe im Voraus. ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: ASP.net: Error "Exception Details: System.InvalidOperationException: The ConnectionString p
    ... Thak you for your quick reply.I am sorry for interrupt you again, ... Source Error: ... >> ConnectionString ...
    (microsoft.public.dotnet.framework.aspnet)
  • web.config not applicable to webservices?
    ... I put the SQL connection string in the web.config ... Private ReadOnly Property ConnectionString() As String ...
    (microsoft.public.vsnet.debugging)
  • Re: How to move this line to web.config?
    ... initial step towards a better workday) is to put connectionstring info in ... You can do this by adding the element <appSettings> to your ... appSettings element you can define as many keys with string values as you ... > Dim dbConnection As System.Data.IDbConnection = New ...
    (microsoft.public.dotnet.framework.aspnet)