473,326 Members | 2,136 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,326 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 2576
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.