Interop errors
- From: Eric Goforth <eric.goforth@xxxxxxxxx>
- Date: Mon, 19 Jan 2009 12:31:18 -0800 (PST)
Hello,
I have an ASP.NET website that has several references to COM dlls.
I've added the references and VS takes care of creating and adding a
interop.mydll.dll to my wwwroot\bin directory. Do I need the original
dll copied to my wwwroot\bin directory as well?
My website won't compile and I'm seeing several errors currently, I'm
beginning to wonder if they're all red herrings. I have 18 errors in
my Error list. They Errors list has the following columns:
[blank] [blank] Description File Line Column Project
The first [blank] column has the icon for the error, the second
[blank] has some kind of error number in it, but I'm not sure how to
interpret it.
the numbers in the second [blank] column in my error list are:
1
2
3
4
5
6
7
8
9
10
11
12
13
497
498
499
500
501
Is this supposed to be some kind of error count column that's gone
awry?
Errors 1 - 13 look kind of redundant to the 4xx and 5xx ones and don't
have anything for File, Line, Column, or Project
The last five actually point to a line of code in a file.
The line of code looks something like:
Dim myVar As New myClass.myClass
The error for this line looks like:
Implementing class 'myDLL.myOtherClass' for interface 'myDLL.myClass'
cannot be found.
However, if I go to the object browser and look at Interop.myDLL, I
see both myClass and myOtherClass.
I'm not clear on why it thinks that the myClass interface is
implementing myOtherClass.
I have 2 lines that look like:
Dim myScriptingVar1 as new Scripting.Dictionary
Dim myScriptingVar2 as new Scripting.Dictionary
I get errors on both lines saying that 'Dictionary' is ambiguous in
the namespace 'Scripting'.
But as you can see I'm using the fully qualified path. I see
Scripting Dictionary in object browser and I son't see multiple
instances of dictionary under the scripting or anything like that.
I'm currently creating a new workspace on my computer and bringing
down all my code fresh from tfs. I have another older, slower
development box and I don't get these crazy errors there.
Any idea what's going on?
-Eric
.
- Prev by Date: how to use .NET ddl's in Power Builder 11.5
- Next by Date: Variable Types In Interfaces 32bit v 64 bit
- Previous by thread: how to use .NET ddl's in Power Builder 11.5
- Next by thread: Variable Types In Interfaces 32bit v 64 bit
- Index(es):
Relevant Pages
|