473,666 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
+ 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.Co mponents.Common Crypt = New
BeanSoftware.Co mponents.Common Crypt()
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.C omponents.Commo nCrypt' 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 1011
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*********@LY COS.COM> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.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.Co mponents.Common Crypt = New
BeanSoftware.Co mponents.Common Crypt()
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.C omponents.Commo nCrypt' 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
38328
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 pages using the require_once function. That is, each page includes the line <?require_once('PageStart.php')?>
5
1432
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 = currentDate.getDate()+"/"+currentDate.getMonth()+"/"+currentDate.getYear(); cookie = sharedObject.getLocal("date"); if (cookie.data.expire == undefined) { cookie.data.expire = (currentDate.getDate()+7)+"/"+currentDate.getMonth()+"/"+currentDate.getYear
2
3469
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 into AA etc. Have got an idea of how I could do it by using Chr() and having an ongoing counter which is divided by 26 when it goes past Z to work out location. However, I'd dearly like there to be an easier way. Any ideas? Another problem I'm...
19
3819
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
8454
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8362
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8878
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8644
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7389
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2776
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 we have to send another system
2
1778
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.