Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > define (old) dll in dotnet

Reply
Thread Tools

define (old) dll in dotnet

 
 
Pascal Piekar
Guest
Posts: n/a
 
      11-16-2004
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?






 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      11-16-2004
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.

"Pascal Piekar" <ppiekarPlaceATHerevoogd.com> wrote in message
news:u7R5xM$...
> 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?
>
>
>
>
>
>



 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      11-16-2004
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



--

"Pascal Piekar" <ppiekarPlaceATHerevoogd.com> a écrit dans le message de
news:u7R5xM$...
> 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?
>
>
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Was security hole in dotnet 1.1 fixed in dotnet 2.0 Chuck ASP .Net 3 02-08-2007 05:31 PM
DOTNET: dotnetHow to Save ALL CONTENTS of web page with "SaveFileDialog Control" in dotnet contact Computer Support 1 12-28-2006 11:40 AM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM
microsoft.public.dotnet.languages.vb,microsoft.public.windowsxp.print_fax,microsoft.public.dotnet.framework.aspnet SpamProof ASP .Net 0 10-21-2003 12:32 PM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments