Using Web.Config sessionState values

From: Mike Dando (mike.dando_at_nospam.glass.co.uk)
Date: 08/28/03


Date: Thu, 28 Aug 2003 17:26:06 +0100


I am using the aspnet_setreg utility to encrypt a SQL connection string to
the registry.
How do I retrieve the value at runtime to configure my dbconnection
component?

I have tried using the [Design Time] DynamicProperties.ConnectionString
which allows a mapping
to a config file key value. However I can't seem to be able to get this to
work.

Thanks,
Mike.



Relevant Pages

  • Re: Problem installing SharePoint 2007 Enterprise
    ... SharePoint Products and Technologies Configuration Wizard ... lock to retrieve the state ... registry key from under Software\Microsoft\Shared Tools\Web Server ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Generate NT Events
    ... installed and the location for that is specified in the below registry ... then there is an entry in the registry which specifies that the Nt ... how can I retrieve values from this file? ... The message DLLs contain a message table resource, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: cd key
    ... Product Key used to install windows from your registry. ... To retrieve and change your XP Key ... To retrieve your lost RAS passwords ...
    (microsoft.public.windowsxp.general)
  • Problem installing SharePoint 2007 Enterprise
    ... I keep getting this error post fresh install with the 2007 Config Wizard ?? ... lock to retrieve the state ... registry key from under Software\Microsoft\Shared Tools\Web Server ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Save a Var without DB
    ... i am using VB.net to write for Pocket PC platform ... > Have you thought about using the Registry? ... >> then tell system where to retrieve the database. ...
    (microsoft.public.pocketpc.developer)