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

Problem with XmlDocument.Load method.

I get an unhandled exception, when I try to execute
XmlDocument.Load(...) in my C# Windows application:
--------------------------------------------
"Common Language Runtime Debugging Services"
Process id... thread id...
Click OK to terminate ...
Click Cancel to Debug ...
--------------------------------------------

Running environment:
Windows 2000 Terminal Server, .NET Framework 1.1 with all latest
service packs.

But strangest thing is - if I run the same programm as an
administrator,everything runs well, but if user is power user or User
- I get this exception. Even more - I cannot catch this exception in
my programm by using catch(Exception)...
This is not a file permission issue, because user has full access to
the loadable XML file.

Any ideas?
Nov 12 '05 #1
3 1501
Uldis V. wrote:
I get an unhandled exception, when I try to execute
XmlDocument.Load(...) in my C# Windows application:
--------------------------------------------
"Common Language Runtime Debugging Services"
Process id... thread id...
Click OK to terminate ...
Click Cancel to Debug ...
--------------------------------------------

Running environment:
Windows 2000 Terminal Server, .NET Framework 1.1 with all latest
service packs.

But strangest thing is - if I run the same programm as an
administrator,everything runs well, but if user is power user or User
- I get this exception. Even more - I cannot catch this exception in
my programm by using catch(Exception)...
This is not a file permission issue, because user has full access to
the loadable XML file.

Any ideas?


So, what is that exception?
--
Oleg Tkachenko [XML MVP, MCP]
http://blog.tkachenko.com
Nov 12 '05 #2
> So, what is that exception?
Exactly what I wrote between lines.
Here is a screen clip picture:
----
http://www.nelss.lv/~uldisv/xmlLoad_error.JPG
----

But it does not tell anything about hte problem. In the event viewer
this text is also written.
And worst thing is, that it is not possible to catch it with .NET
catch(Exception) :-(

Uldis V.
Nelss IS Development Team

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
Forget about this, and do not respond. :-)
That was my mistake, I tried to use debug version exe, and there vere
some pathes hardcoded.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #4

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

Similar topics

3
by: binnyva | last post by:
Hi everyone. I just made a JavaScript program to read a RSS feeds and display it in a HTML file. The script - Jasfer or JAvaScript FEed Reader - is available at...
4
by: Gismo | last post by:
I have got file raport.rld which is an XML file generated by MS Reporting Services. The problem is: in this file are tags from two different namespaces ...
8
by: Whugster | last post by:
I have this really frustrating problem when calling XmlDocument.Load(string filename). Whenever I call this method in a web application in my Windows XP development PC, I get the following error: ...
2
by: Graham Pengelly | last post by:
Hi I am trying to transform on System.Xml.XmlDocument into another using XslTransform without writing the object out to a file. I am guessing it should work something like this... public...
4
by: Foo | last post by:
Hi I have a problem, while retrieving xml data through network. I use Load(Stream) method for this, but this doesn't work: NetworkStream ns = client.GetStream(); StreamReader sreader = new...
5
by: Rob Panosh | last post by:
Hello, I am trying to create a xmlDocument from as dataset. My code is listed below. All seems to go well until xmlDocument.Load(CType(ms, System.IO.Stream)) ... I keep getting the following...
1
by: Gustaf | last post by:
I have a class that contains a certain kind of XML document. The input file is *not* an XmlDocument, but when loaded, I want it to work like the XmlDocument class, like: MyDocument doc = new...
1
by: Viral | last post by:
Hello All, I have the following XML document : (for ease of understanding i am just posting a part of it) Base XML ------------ <?xml version="1.0"?> <ROOT>...
10
by: lamxing | last post by:
Dear all, I've spent a long time to try to get the xmldocument.load method to handle UTF-8 characters, but no luck. Every time it loads a document contains european characters (such as the...
1
by: JustinLee | last post by:
Hi, I have a small app that saves and loads data in XML format. Basically I have 2 methods. They each load data from a different XML documents. They both load data the same way. Everything works...
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.