Interop errors

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: William FitzNorman
    ... I've checked Maitland with no more luck than you. ... Subject: William FitzNorman ... Of the references given on the de la Mare website, ...
    (soc.genealogy.medieval)
  • Re: Costco membership
    ... Given that the website is a product of the United Food and Commercial ... everything there had references; i don't think they were making shit ... when the more than 450 UFCWU officers and staff make in ... I am not defending Walmart, nor do I like going into ...
    (rec.food.cooking)
  • Re: DLL and external references
    ... > This is probably a basic question: ... references and "bind" them to addresses by adding object code from external ... This behavior of the compiler doesn't change when DLLs are present. ...
    (microsoft.public.vc.language)
  • Re: Peer Review (Re: not about katrina, and not about rehnquist either)
    ... References for the ... I would like to go on the record that we are a website, ... that we claim to be a website, and that we advertise ourselves ... Yeah yeah, I always want to maximize my efforts. ...
    (misc.writing)
  • Dependencies vs. Merge Modules
    ... Whenever I create a Setup Project for an application I'm working on, ... Visual Studio automatically detects that application's dependencies. ... the application project's References folder. ... a collection of DLLs) are distributed. ...
    (microsoft.public.vsnet.general)