Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use COM .DLL in ASP.NET
Message
De
01/05/2008 10:28:17
 
 
À
30/04/2008 08:39:10
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01314146
Message ID:
01314460
Vues:
8
Is this a runtime error? You say that locally it compiles fine, but locally does it also run fine?

~~Bonnie



>Hi,
>
>I am trying to use a simple COM DLL in my webservice. I know the DLL works as its been tested.
>
>I added the Reference to the DLL locally (which places the dll in the bin directory) and then I added this code
>
> Dim oEROLCom As New erolcom.Interface
> If oEROLCom.ZipToSite(path, Sitename, ref) Then
> 'Zipped()
> Else
> 'Failed()
> End If
>
>it seems to build fine with no errors locally but when i copy and paste the bin file and the webservise .asmx. It gives me an error on this line
>
> Dim oEROLCom As New erolcom.Interface
>
>stating : BC30002: Type 'erolcom.Interface' is not defined.
>
>Any ideas where i am going wrong? Thanks for the help.
>
>Bilal.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform