473,467 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

sharing asp.net dll?

say I create an ASP.NET application, it's being compiled into dll, working
fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is
why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in order to
share a web application between two sites on the same machine?

TY
Nov 18 '05 #1
5 1056
Try this
Change the output path in the project properties(release) to common folder
for both the applications.

Shailesh
MCSD .NET

"Donald Sorenson" wrote:
say I create an ASP.NET application, it's being compiled into dll, working
fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is
why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in order to
share a web application between two sites on the same machine?

TY

Nov 18 '05 #2
GAC...GAC..sorry, had something in my throat..

Check out: http://www.123aspx.com/Directory.aspx?dir=263 for articles on how
to use the GAC.

Karl

"Donald Sorenson" <do****@excite.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
say I create an ASP.NET application, it's being compiled into dll, working
fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in order to share a web application between two sites on the same machine?

TY

Nov 18 '05 #3
this may be a repost...seems to me my message somehow got deleted..

GAC...GAC..sorry, had something in my throat..

Check out: http://www.123aspx.com/Directory.aspx?dir=263 for articles on how
to use the GAC.

Karl
"Donald Sorenson" <do****@excite.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
say I create an ASP.NET application, it's being compiled into dll, working
fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in order to share a web application between two sites on the same machine?

TY

Nov 18 '05 #4
wont work, it replacing any local path with "bin"... I knew about GAC, but
hope that there is another way..
"Shailesh Jannu" <Sh***********@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
Try this
Change the output path in the project properties(release) to common folder
for both the applications.

Shailesh
MCSD .NET

"Donald Sorenson" wrote:
say I create an ASP.NET application, it's being compiled into dll, working fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in order to share a web application between two sites on the same machine?

TY

Nov 18 '05 #5
I created the key, chnaged the assembly info, compiled the project and added
it (successfully) to the GAC.
doesn't work.
I still got the same error (could not load type "MODULE.WEBFORMNAME") when
tring to log into the site. when I open bin dir with the same dll, it's
working just fine.
any ideas?
"Karl" <none> wrote in message news:O6**************@TK2MSFTNGP11.phx.gbl...
GAC...GAC..sorry, had something in my throat..

Check out: http://www.123aspx.com/Directory.aspx?dir=263 for articles on how to use the GAC.

Karl

"Donald Sorenson" <do****@excite.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl...
say I create an ASP.NET application, it's being compiled into dll, working fine, and everybody is happy.
now here is the problem:
now I have a second site, on the same machine, that beside design (which is
why its got a second copy of the aspx file) uses the same exact logic. I
don't want to copy the bin directory with the dll, what can I do in

order to
share a web application between two sites on the same machine?

TY


Nov 18 '05 #6

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

Similar topics

3
by: Alex | last post by:
Hi all, I want to write a "File sharing system". Is posssible with socket and thread create multisuer connection at the same time ? or is wrong my idea?? thanks
1
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies...
6
by: varlagas | last post by:
We disabled the antivirus software but the problem persists. Any clues? Many thanks in advance! Panagiotis Varlagas ======================================================================= ...
2
by: Vitaly | last post by:
Hi, I've encountered a problem sharing c# application in NetMeeting. The problem is that when I try to share some GUI application, I don't see it on remote computer. Sometimes I see random small...
5
by: Jeff | last post by:
Hi - I'm creating an installation program that will install a VB.NET program and an instance of MSDE on an unknown desktop (commercial application). The install will include the MSDE...
1
by: Joe | last post by:
While I understand that Server Side Includes still work, I realize it's not the best practice for sharing code such as a common set of includes between screens. In ASP.NET I've already built...
0
by: Emily | last post by:
Imagine a world where everybody shares and has faith in each other. We have all struggled at one time or another with our jobs or careers and have wondered if there was a better way to make a...
8
by: mc | last post by:
I would like to be able to send from an ASP.NET page an email which when recieved takes the form of a "Sharing Invitation for a RSS Feed"...
11
by: limperger | last post by:
Hello everybody! I have just found out that the sharing properties of a single database (mdb file on a network), accessed by 3 users, change depending on the user accessing the database. That is,...
1
by: strconv | last post by:
Hi, i get a project about; to showing videos and mp3 on server but without sharing. is it possible to do with winsock ? i have a server(xp pro) and i have 20+ client. but there is no file...
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
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...
0
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...
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
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: 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...
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.