473,465 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

asp.net page won't work with dll, what am I omitting?

I bought a dll, put it in my website's BIN directory, and then put a
line in my asp.net page as follows:
Dim MyCrypt As BeanSoftware.Components.CommonCrypt = New
BeanSoftware.Components.CommonCrypt()
I don't have visual studio, so I put the line in with notepad.
But when I loaded the asp.net page in my browser, I got the following
error message:

Compiler Error Message: BC30002: Type
'BeanSoftware.Components.CommonCrypt' is not defined

Am I omitting something? Should I be importing some namespace? Or am
I doing something else wrong?

Thanks.

Dec 20 '05 #1
1 1002
You need to reference the DLL. You should consider using a FREE ide, such
as Web Matrix for 1.x (http://www.asp.net/webmatrix/) or Express for 2.0
(http://www.asp.net/default.aspx?tabindex=7&tabid=46)

Otherewise, if you are using a command line compiler, you can use
/r:ASSEMBLY.DLL to reference the file.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!

<BL*********@LYCOS.COM> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I bought a dll, put it in my website's BIN directory, and then put a
line in my asp.net page as follows:
Dim MyCrypt As BeanSoftware.Components.CommonCrypt = New
BeanSoftware.Components.CommonCrypt()
I don't have visual studio, so I put the line in with notepad.
But when I loaded the asp.net page in my browser, I got the following
error message:

Compiler Error Message: BC30002: Type
'BeanSoftware.Components.CommonCrypt' is not defined

Am I omitting something? Should I be importing some namespace? Or am
I doing something else wrong?

Thanks.

Dec 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: the wonderer | last post by:
This is an elementary question, but I've not been able to find the answer, so here goes: I am developing a site using php. I have the html header information in a file that I include in all the...
5
by: FayeC | last post by:
Ok....I made the appropriate additions to the spaces commented and this is what I got now: currentDate = new Date; today =...
2
by: Regnab | last post by:
I've got my code working so that it'll count the number of columns in the table and move across (eg Range A-P and then range Q-W). Problem is when I get to the end of the single letters and get...
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.