473,398 Members | 2,120 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,398 software developers and data experts.

Com+ server and config file - how to deploy together ?

In order to deploy my server I do the following :

regsvcs /fc MyServer.dll
gacutil /i MyServer.dll

.... and I don't have to know where actually my dll is placed.
It is advantage of GAC. But I want to place config file in the same
location, how I can do it, any ideas ?

Gawel
Nov 15 '05 #1
1 1960
Hi,

Always the config file of the surrogate i.e., the process
in which the component is loaded.

If your component is configured as library application
then the config file is read of the surrogate application
for example Web Application, then the config file which
is read is Web.config.

If your component is configured as Server application
then dllhost.exe.config is read since dllhost.exe is the
surrogate. dllhost.exe.config should be present in the
system directory (i.e., C:\Winnt\System32)

Hope this helps...

Regards,
Madhu

MVP | MCSD.NET
-----Original Message-----
In order to deploy my server I do the following :

regsvcs /fc MyServer.dll
gacutil /i MyServer.dll

.... and I don't have to know where actually my dll is placed.It is advantage of GAC. But I want to place config file in the samelocation, how I can do it, any ideas ?

Gawel
.

Nov 15 '05 #2

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

Similar topics

7
by: CT | last post by:
Hi, This might seem like a basic question but I have some doubts, please humour me. I have a client-server application using java where each client on each machine needs to directly...
2
by: ALI-R | last post by:
I have a config file in my app ,,called app.config.it works fine in debug but when I deploy application it has no effect.Any suggestion?? Thanks for your help. Here is my app.config ?xml...
1
by: IMRAN SAROIA | last post by:
Hi, I am getting message shown below when I tested a simple web application on production Remote Server which has ASP.net enabled for IIS. Please advise! I have tried the resolution...
3
by: Jeff Robichaud | last post by:
Hello, Since it is possible to put application settings in a file other than web.config, I was wondering what is the best practice in doing so vs. putting these settings directly in web.config....
0
by: =?Utf-8?B?RGFuaWVsIFAu?= | last post by:
I have created a C++/CLI wrapper for a pice of classic C++ code that uses ATL CString. The DLL code is called from some web services written in C#. It all works well on my dev machine (XP Pro)...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
3
by: =?Utf-8?B?SmVycnk=?= | last post by:
I am using Webclient.download to HTTP download a file from an IIS 6.0 server. It works for all the files I have except for those type .config. If I rename the files to .txt extension, it works....
0
by: jonathonmc | last post by:
I have a winform app written in C# which accesses a web service using a dynamic URL (configured in the app.config). When I deploy this app via ClickOnce it builds the app.config into the manifest and...
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: 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...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.