empty connection string

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: AMC (aboehme_at_netgate.net)
Date: 05/21/04


Date: Fri, 21 May 2004 14:21:30 -0700

Hi,

I'm using an include file to store the connection string to a database.
Whenever I try to reference that string to open a connection in the page
that includes the file I get the error 'empy connection string' . When I
write the string to the page using response.write(connectionstring) it shows
up fine. Is the something else that I need to do?

Thanks



Relevant Pages

  • Re: Class question
    ... to the Config instance. ... You could, for instance, pass the reference in ... But I want the connection string to be defined only once and be used ... The place you want to store your connection string in is your ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Class question
    ... to the Config instance. ... You could, for instance, pass the reference in ... The place you want to store your connection string in is your ... The user defines a connection string in its code and "indicates" my ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Looking for ASP.NET/SQL Server 2000 App Security Recommendations
    ... write a separate application to access the connection string and update it. ... pair, store the encrypted string in a file or the registry, and load the ... cert/key pair into a Windows account's certificate store/key container. ... retrieve from the LSA -or- retrieve the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Advice on the best practice please...
    ... me to write to a database when an error occurs on my site. ... connectionstring is stored within a users session variables. ... The web.config is best place to store the connection ... Unless each user's connection string is ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hide a cell so that users cant see the contents
    ... You could store it in a name ... I could have hardcoded the password into the connection string - the ... I could use a hidden sheet to locate this password cell  to make it ...
    (microsoft.public.excel.programming)