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

Deploy asp.net enterprise library application

Hi,

I have built an c# asp.net application on my laptop, it uses the
Enterprise Library blocks -
Data Access Application Block,
Configuration Application Block.

I now want to deploy my application on a server. It does not have the
Enterprise Library installed.

I have the following files referenced in my project -
Microsoft.Practices.EnterpriseLibrary.Common.dll,
Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll,
Microsoft.Practices.EnterpriseLibrary.Data.dll

The reference for each points to C:\Program Files\Microsoft Enterprise
Library June 2005\bin\...
I have the "Copy Local" property set to true.

Each of the above files appear in the bin directory of my project.
The question :
To deploy my project to the server (which does not have the enterprise
library) can I :

1. just copy the bin directory of my project and .aspx files to the
server.

2. Do I _HAVE TO_ install and build the enterprise library on the
server.

3. Some other option?

Thanks,

Bryan

Nov 19 '05 #1
2 2061
Bryan,

Copying the files to the destination should work -- just like any other .NET
application where the assemblies are private. If you have access to the
server, and have many deployments of projects involving Ent Lib, then an
install of Ent Lib on the destination would be appropriate.

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
<bj*****@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi,

I have built an c# asp.net application on my laptop, it uses the
Enterprise Library blocks -
Data Access Application Block,
Configuration Application Block.

I now want to deploy my application on a server. It does not have the
Enterprise Library installed.

I have the following files referenced in my project -
Microsoft.Practices.EnterpriseLibrary.Common.dll,
Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll,
Microsoft.Practices.EnterpriseLibrary.Data.dll

The reference for each points to C:\Program Files\Microsoft Enterprise
Library June 2005\bin\...
I have the "Copy Local" property set to true.

Each of the above files appear in the bin directory of my project.
The question :
To deploy my project to the server (which does not have the enterprise
library) can I :

1. just copy the bin directory of my project and .aspx files to the
server.

2. Do I _HAVE TO_ install and build the enterprise library on the
server.

3. Some other option?

Thanks,

Bryan

Nov 19 '05 #2
Hi Manohar,

Thanks for the reply. After deployment I got the following error -
System.Security.SecurityException: Requested registry access is not
allowed.

Fixed it by running installutil.exe on each of the Enterprise Library
dlls.

Not a great solution, but this is what has worked for most other
people.

Bryan

Nov 19 '05 #3

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

Similar topics

1
by: Mike Chamberlain | last post by:
Hi all. I'm trying to extend the Microsoft Enterprise Library Data Access Application Block (http://msdn.microsoft.com/library/en-us/dnpag2/html/daab.asp?frame=true) to work with a Borland...
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
4
by: P.Kienzle | last post by:
When I try to run the Build for the Enterprise Library, I get several messages referring to the .csproj files... stating that they are not installed (see below). They are located at the directory...
7
by: galico | last post by:
Hi All, We are having a very strange problem with the above. We have designed an application in ASP.NET 2.0 that uses the enterprise library data application blocks amongst others. We seem to be...
4
by: meo | last post by:
Does .NET provide the way to deploy library to internal developer? I am trying to find the way to deploy a library file to developer for having integration to their application BUT the customer...
0
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library...
1
oll3i
by: oll3i | last post by:
I created ejb project in eclipse added application.xml to meta-inf folder exported the ear but when i try to deploy the ear in sun java system app server admin console it says that there is no...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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.