473,387 Members | 1,585 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,387 software developers and data experts.

Shared aspx files

Hi,

I'm trying to create a library of shared code, some of which are ascx and aspx files. I'm pretty much following the procedure outlined in http://support.microsoft.com/default...;EN-US;Q324785 . This has been working fine when working on my local machine. I have moved the shared code to a remote machine, updated my virtual directory to point to the remote machine path, and added a reference to the remote dll. All is otherwise setup exactly as when the shared code was local. However I am now getting 'Could not load type' error when the compiler is parsing the first line of the shared apsx page (which does have code behind).
The referenced dll is copied locally and I can reference and interact with it in my local code.

Any ideas why the type is not being loaded when referenced from the aspx page at runtime?

Cheers for any help
Kimpton
Nov 18 '05 #1
1 1078
did you copy the shared dll to bin directory, this will be done if you use a
VS deploy project, otherwise you must manually copy the dll to each vdir's
bin that uses the shared code, ie, only the aspx and asc files are shared,
the dll's must be copied to each project (vs does this for you when you run
your project)

-- bruce (sqlwork.com)

"kimpton" <ki*****@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...
Hi,

I'm trying to create a library of shared code, some of which are ascx and aspx files. I'm pretty much following the procedure outlined in
http://support.microsoft.com/default...;EN-US;Q324785 . This has
been working fine when working on my local machine. I have moved the shared
code to a remote machine, updated my virtual directory to point to the
remote machine path, and added a reference to the remote dll. All is
otherwise setup exactly as when the shared code was local. However I am now
getting 'Could not load type' error when the compiler is parsing the first
line of the shared apsx page (which does have code behind). The referenced dll is copied locally and I can reference and interact with it in my local code.
Any ideas why the type is not being loaded when referenced from the aspx page at runtime?
Cheers for any help
Kimpton

Nov 18 '05 #2

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

Similar topics

27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
2
by: Darrel | last post by:
I'm working on an app where the ASPX pages aren't precompiled with the class.vb files I'm. This is so people can add their own ASPX pages down the road to the app (the .aspx pages become...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.