Connecting Tech Pros Worldwide Forums | Help | Site Map

Error while accessing a web page using .net dlls

Newbie
 
Join Date: Nov 2008
Posts: 2
#1: Nov 13 '08
Hi All
I am getting the below mentioned error while accessing the page which uses VB.Net Dll ,Please look in to the matter and suggest some solution




Unable to cast COM object of type 'Scripting.DictionaryClass' to interface type 'Scripting.IDictionary'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{42C642C1-97E1-11CF-978F-00A02463E06F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

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: Unable to cast COM object of type 'Scripting.DictionaryClass' to interface type 'Scripting.IDictionary'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{42C642C1-97E1-11CF-978F-00A02463E06F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Source Error:


Line 69: dim objstar as new PrjStarPur.cls_gateentry
Line 70:
Line 71: dim ftpGateEnt as new Prj_FtpGateEntry.Cls_FtpGateEntry

Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Nov 13 '08

re: Error while accessing a web page using .net dlls


A COM object is NOT a vb.NET dll
Newbie
 
Join Date: Nov 2008
Posts: 2
#3: Nov 14 '08

re: Error while accessing a web page using .net dlls


The .net dll uses the refrence of Scripting.dll
Reply


Similar .NET Framework bytes