Could not read key from registry

Discussion in 'ASP .Net' started by =?Utf-8?B?TWFyaw==?=, Sep 17, 2004.

  1. Hi, I am trying to use a com object to make a connection. I have included
    the page directive "aspcompate="true" and I am getting the following error
    when I run the project:

    Exception Details: System.Runtime.InteropServices.COMException: Could not
    read key from registry

    Source Error:

    Line 27:
    Line 28: //conn.InitConnection("TSTDR-MIT", "", "");
    Line 29: conn.InitConnectionEx("TSTDR-MIT");
    Line 30: conn.ConnectProject("JerryGarcia", "guest", "");
    Line 31: TDAPIOLELib.ListClass tdList = (ListClass)conn.ProjectsList;

    Source File: c:\inetpub\wwwroot\tdtest\webform1.aspx.cs Line: 29

    Stack Trace:

    [COMException (0x80040150): Could not read key from registry]
    TDAPIOLELib.TDConnectionClass.InitConnectionEx(String ServerName) +0
    TDTest.WebForm1.Page_Load(Object sender, EventArgs e) in
    c:\inetpub\wwwroot\tdtest\webform1.aspx.cs:29
    System.Web.UI.Control.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain()

    Any suggestions would be greatly appreciated.
    Mark
     
    =?Utf-8?B?TWFyaw==?=, Sep 17, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HK
    Replies:
    1
    Views:
    3,697
    Cowboy \(Gregory A. Beamer\)
    Apr 1, 2004
  2. akhare1
    Replies:
    4
    Views:
    884
    Alvin Bruney [MVP]
    Aug 1, 2004
  3. Henry Fleming

    Registry key not being read

    Henry Fleming, Sep 1, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    883
    =?Utf-8?B?R292aW5k?=
    Sep 1, 2004
  4. =?Utf-8?B?RnJ1c3RyYXRlZCBOZXdiZQ==?=

    ASP.NET app can't read a registry key

    =?Utf-8?B?RnJ1c3RyYXRlZCBOZXdiZQ==?=, Jan 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    689
    =?Utf-8?B?RnJ1c3RyYXRlZCBOZXdiZQ==?=
    Jan 12, 2005
  5. Leny
    Replies:
    3
    Views:
    16,978
    Daniel
    Feb 1, 2005
Loading...

Share This Page