473,386 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VB.NET classlibrary not instantiating properly in ASP pages

Ok, I've been hung up on this issue for quite some time now and I would
like some help in getting it to work. I think this may be a setup issue
but I'd like to ask your eminences first.

Here's some backstory: I need to create a VB.NET classlibrary (or another
structure) to use objects for our business logic. However, as our upgrade
is an ongoing process, I must enable this structure to be run in both ASPX
and ASP pages.

Here's what goes wrong: I create a new solution. Create two projects, one
a ASP.NET web app, the other a classLibrary. I put a basic hello world
object into the classlibrary then get a return string from it in both an
ASP and ASPX page. Yes, the classlibrary has the build option checked to
"register for COM interop."

Now, the ASPX page runs fine - but the ASP page gives me the following
cryptic error:

Error Type:
(0x80070002)
/webApplication1/test1.asp, line 3

Line 3 is the Server.CreateObject command for the object in question.

No error string. The error code, when googled, reveals that it's "file not
found." That's about as useful as a kick in the ass. What am I doing
wrong? Why can't my ASP page use this object? If I can only get this
functional then I will have no further issues - we can start moving our
business logic and data logic from the legacy ASP pages to an object-based
back end. Please help!!

--
Will Waggoner
Jul 19 '05 #1
0 1948

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

Similar topics

3
by: Rene | last post by:
I notice that VS lets you choose to create a WindowsControlLibrary and ClassLibrary, I created a class library and then added a user control and it let me do that. I am assuming that the opposite...
2
by: Poobalam | last post by:
Hi, I just got VS.NET 2005. It has a new template called WebControlLibrary. I normally use ClassLibrary to build my business logic and use that dll into ASP.NET project. However I'm assuming...
7
by: Stefan | last post by:
Hi! I´m creating a classlibrary project. The output will be a dll. This dll will have to read some settings from some kind of config-file. Normally, when creating a standard .exe-program I use...
3
by: yxq | last post by:
Hello, I writed some classes(but not a class) in a ClassLibrary and builded a test.dll file, but how to invoke the test.dll? 'test.dll////////////////////// Moudle MyTest Public class A ......
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.