Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Configuration Nightmare

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig - 03 Sep 2007 23:56 GMT
Hi

I've been stumbling with this problem for several days, trying to have a
simple approach to my application configuration. Essentially my configuration
is as follows:

Install Folders
1) \MyApp
2)    \MyExe1
3)       MyExe1.config
         MyExe1.exe
4)    \MyExe2
5)       MyExe2.config
         MyExe2.exe

At (1) I have a snap-in.dll which is able to load the .config files for the
MyExe applications using ExeConfigurationFileMap and
OpenMappedExeConfiguration methods.

In the .config are custom configuration section handlers, but because the
ApplicationBase location is pointing to \MyApp folder (the location of the
snap-in dll), I get exceptions whereby the type of the custom section handler
can not be loaded - it's sitting down in the \MyExe1 or \MyExe2 folders.

If you are able to provide any insights as to how I can work around this, I
would be most greatful.
sloan - 04 Sep 2007 02:08 GMT
http://www.eggheadcafe.com/articles/20041204.asp

Check out Peter's code for a windows service.

You're not as interested in.... the msmq or command pattern, but rather how
he deploys different dll's with their OWN config files.

I added some functionality to one of his libraries as well, you'll have to
search the forum for it.

> Hi
>
[quoted text clipped - 26 lines]
> I
> would be most greatful.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.