define (old) dll in dotnet

P

Pascal Piekar

I'm making an asp.net page with an DLL wich I used in my old asp page.
The DLL is placed in my \bin\ folder.
When running the application I recieve this error:

*****
Compiler Error Message: BC30002: Type 'Pbp.Produkt' is not defined.

Source Error:


Line 28:
Line 29:
Line 30: Dim Produkt As Pbp.Produkt
Line 31: Produkt = New Pbp.ProduktClass



****

I'm using visual web developer 2005 beta with 0 errors on my page so for me
it should wok fine.
This is on top of my Page
<%@ Page Language="VB" EnableSessionState="false" AspCompat="true" Debug
="true"%>

and using on the server:

Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288

any idea's?
 
K

Kevin Spencer

Hard to say. A DLL is NOT a DLL. There are all kinds of DLLs. What kind is
yours?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
P

Patrice

Looks like this is a COM DLL.

You'll have to :
- place it IMO somewhere else
- register the DLL
- reference the COM DLL from your project

It will create a "wrapper" in the bin directory...

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top