472,784 Members | 869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 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 1471
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...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.