Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Could not read key from registry

Reply
Thread Tools

Could not read key from registry

 
 
=?Utf-8?B?TWFyaw==?=
Guest
Posts: n/a
 
      09-17-2004
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(Str ing 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Event ID 4191: IP Could Not Open the Registry Key for Adapter TCPI =?Utf-8?B?WFA2NCwgRXZlbnQgSUQgNDE5MTogSVAgQ291bGQgTm90IE9wZW4gdA==?= Windows 64bit 11 05-10-2007 01:35 AM
How to read a registry key from Windows registry ? Leny Java 3 02-01-2005 07:54 AM
Registry key not being read Henry Fleming ASP .Net 2 09-01-2004 03:47 AM
Intermittent failure to read registry key in ASP.NET application... akhare1 ASP .Net 4 08-01-2004 02:37 AM
Reading registry key throws "Requested registry access is not allowed." HK ASP .Net 1 04-01-2004 04:44 PM



Advertisments