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

Manifest and config file together with unc path

Hi,
I have a managed app running from an unc path on the local intranet (Full
trust is set for this path with the .NET Configuration mmc!). If the
applications supplies both a .manifest and a .config file the settings in
the config file are completely ignored. When I remove the manifest file the
config file gets processed and vice versa. When both are present the config
file looses the battle.

To say it in front: The encoding of both files is UTF-8. There is no error
message, as it is the case, when the encoding schema does not match. This
was discussed in newsgroups very often and can be solved easily. But there
is no answer to my problem on the web today, or I have not found it.

I have already done some investigation on this subject. The problem does not
occur, when the application is started via a maped path like:

net use h: \\server\share
and then run with
h:\programs\application\app.exe

with
app.exe.config
app.exe.manifest
app.exe
located in directory \\server\share\programs\application

BUT NOT WHEN STARTED LIKE THIS:

\\server\share\programs\application\app.exe (config file gets ignored!!!!!)

Any help workaround or explanation why this happens would be very
appreciated.

Thanks
Th. Klein
Jul 21 '05 #1
2 2578
I forgott to mention that the same problem exists when the manifest file is
added to the exe as a resource as explained in the following msdn article:

URL:
http://msdn.microsoft.com/library/en...rame=true&_r=1
I hope someone could help me!

Thilo

"Thilo Klein" <ml****@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a managed app running from an unc path on the local intranet (Full
trust is set for this path with the .NET Configuration mmc!). If the
applications supplies both a .manifest and a .config file the settings in
the config file are completely ignored. When I remove the manifest file the config file gets processed and vice versa. When both are present the config file looses the battle.

To say it in front: The encoding of both files is UTF-8. There is no error
message, as it is the case, when the encoding schema does not match. This
was discussed in newsgroups very often and can be solved easily. But there
is no answer to my problem on the web today, or I have not found it.

I have already done some investigation on this subject. The problem does not occur, when the application is started via a maped path like:

net use h: \\server\share
and then run with
h:\programs\application\app.exe

with
app.exe.config
app.exe.manifest
app.exe
located in directory \\server\share\programs\application

BUT NOT WHEN STARTED LIKE THIS:

\\server\share\programs\application\app.exe (config file gets ignored!!!!!)
Any help workaround or explanation why this happens would be very
appreciated.

Thanks
Th. Klein

Jul 21 '05 #2
I forgott to mention that the same problem exists when the manifest file is
added to the exe as a resource as explained in the following msdn article:

URL:
http://msdn.microsoft.com/library/en...rame=true&_r=1
I hope someone could help me!

Thilo

"Thilo Klein" <ml****@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a managed app running from an unc path on the local intranet (Full
trust is set for this path with the .NET Configuration mmc!). If the
applications supplies both a .manifest and a .config file the settings in
the config file are completely ignored. When I remove the manifest file the config file gets processed and vice versa. When both are present the config file looses the battle.

To say it in front: The encoding of both files is UTF-8. There is no error
message, as it is the case, when the encoding schema does not match. This
was discussed in newsgroups very often and can be solved easily. But there
is no answer to my problem on the web today, or I have not found it.

I have already done some investigation on this subject. The problem does not occur, when the application is started via a maped path like:

net use h: \\server\share
and then run with
h:\programs\application\app.exe

with
app.exe.config
app.exe.manifest
app.exe
located in directory \\server\share\programs\application

BUT NOT WHEN STARTED LIKE THIS:

\\server\share\programs\application\app.exe (config file gets ignored!!!!!)
Any help workaround or explanation why this happens would be very
appreciated.

Thanks
Th. Klein

Jul 21 '05 #3

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

Similar topics

9
by: Dan Olson | last post by:
My question is not about how to update an application's config file during run-time, but how to invalidate the cached copy so that if a change to the config file is made, the application can use the...
1
by: JPRoot | last post by:
Hi I have a problem with the development environment I have a DLL (jproot.dll) versionned 1.9.0.33 that I have shipped to my customer My customer made a DLL (cust.dll, versionned 1.2.3.4)...
2
by: Thilo Klein | last post by:
Hi, I have a managed app running from an unc path on the local intranet (Full trust is set for this path with the .NET Configuration mmc!). If the applications supplies both a .manifest and a...
4
by: Kunle Odutola | last post by:
I'm trying to understand where the information in the META.INF directory including MANIFEST.MF etc is to be found for .NET assemblies. Also some projects such as Eclipse's OSGi kernel stores...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
14
by: _iycrd | last post by:
After several frustrating attempts to wrap a native DLL w a C++/CLI DLL, I finally got an assembly to compile, only to find a *runtime* error. The app comes up fine. Test dialog displays. ...
8
by: theWizard1 | last post by:
Using Asp.NET 1.1, and C#. I have a directory for the website, and a directory under it named Secure. I have a web.config in each of the above directories. The web.config in the Secure...
0
by: JB | last post by:
I have an ASP project written years ago that I have recently started to try and update. It was written by someone who used to work here before me, and the source code I have is in a major mess. ...
2
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located...
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: 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?
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
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.