Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Object error


Message #1 by "Debreceni, David" <Debreceni.David@h...> on Fri, 8 Mar 2002 10:25:31 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1C6B7.B0127900
Content-Type: text/plain;
	charset="iso-8859-1"

Just to add to my problem, I have done the same code in a console app and it
works.  Something with asp.net??
 
 
 
 
David Debreceni
Senior Visual Basic/ASP Developer
xxx-xxx-xxxx  x 1086

-----Original Message-----
From: Debreceni, David 
Sent: Friday, March 08, 2002 10:26 AM
To: ASPX_Professional
Subject: [aspx_professional] Object error



I am trying to use a object that was created in VB6 and resides in COM+. 
I am able to use this object fine through vb6, but when I try to use it in
an vb.net app I get 
a query interface error.  I have done the same exact thing on another
machine in vb.net and it works great.  So there is something permission wise
or something on my machine.

I am not sure what I missed, so if anyone has any thoughts on what could be
causing this error I would greatly appreciate it.

here is the error: 

QueryInterface for interface RTSDLWD._DLWEBSecurity failed. 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.InvalidCastException: QueryInterface for interface
RTSDLWD._DLWEBSecurity failed. 

Source Error: 

Line 29: 
Line 30: 
Line 31:         rs = objWebDog.SelectAllWebUsers()   -----This line is
where it errors 
Line 32:         While Not rs.EOF 
Line 33:             For Each item In rs.Fields 



David Debreceni 
Senior Visual Basic/ASP Developer 
xxx-xxx-xxxx  x 1086 

$subst('Email.Unsub'). 



  Return to Index