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

Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown.

Hi,All,
When i deploy Enterprise library with my application ,i used XCOPY to
deploy it into my test server. But when application runs, shown some error
related registry. (But actually I haven't any method or component to wrote
registry)

After I used "InstallUtil" to registry Enterprise Library (those DLLs)
to the deployment server, the application runs smoothly.

Now I wonder why i need to registry those Enterprise Library DLLs into
the server? and XCOPY not?

---The following is the register code-----
@ECHO Installing Services for the Common Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.Common.dll installutil %1
Microsoft.Practices.EnterpriseLibrary.Common.dll

@if errorlevel 1 goto :error

@ECHO Installing Services for the Caching Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.Caching.dll installutil %1
Microsoft.Practices.EnterpriseLibrary.Caching.dll

@if errorlevel 1 goto :error
@ECHO Installing Services for the ConfigurationApplication Block

if Exist Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll installutil
%1 Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll

@if errorlevel 1 goto :error

@ECHO Installing Services for the Cryptography Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.Security.Cry ptography.dll
installutil %1
Microsoft.Practices.EnterpriseLibrary.Security.Cry ptography.dll

@if errorlevel 1 goto :error

@ECHO Installing Services for the Data Access Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.Data.dll installutil %1
Microsoft.Practices.EnterpriseLibrary.Data.dll

@if errorlevel 1 goto :error

@ECHO Installing Services for the Exception Handling Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.ExceptionHan dling.dll
installutil %1 Microsoft.Practices.EnterpriseLibrary.ExceptionHan dling.dll

@if errorlevel 1 goto :error

@ECHO Installing Services for the Logging and Instrumentation Application
Block

if Exist Microsoft.Practices.EnterpriseLibrary.Logging.dll installutil %1
Microsoft.Practices.EnterpriseLibrary.Logging.dll

@if errorlevel 1 goto :error
@ECHO Installing Services for the Security Application Block

if Exist Microsoft.Practices.EnterpriseLibrary.Security.dll installutil %1
Microsoft.Practices.EnterpriseLibrary.Security.dll

@if errorlevel 1 goto :error

@ECHO.

@ECHO ----------------------------------------

@ECHO InstallServices.bat Completed

@ECHO ----------------------------------------

@ECHO.



Nov 19 '05 #1
0 2602

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

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
2
by: Daniel | last post by:
what exact registry entries does the installing of a .net windows service create? either with installutil or with a deployment project.
0
by: KrisR | last post by:
I have an ASP.NET application that makes use of the configuration and data access blocks from the June 2005 release of Enterprise Library. The application works perfectly in my development...
2
by: bjhogan | last post by:
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...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
4
by: John Smith | last post by:
I am just learning about deployment (setup projects) in vb.net. Is there a way to run an Executable during an Installation or at the end of an installation? I am trying to install a windows...
6
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
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
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
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
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
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...

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.