Can not retrieve XML file using XmlTextReader, peculiar problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! I have an application that retrieves its settings from an Apache server
XML file.
The application bombs at this line for one user only:

m_XMLReader = new XmlTextReader(configFileURL);

Everybody else who logs into the laptop is able to use the application with
no problems. Is it a permission problem ? If so, what kind of permissions are
we talking about. I am very puzzled. The user is in another country and I can
not
get his laptop to troubleshoot.

Any ideas/suggestions are greatly appreciated.

Thank you in advance,

--Michael
 
Michael,

Well, without knowing HOW the app bombs (what kind of exception is it,
what is the exception message, have you looked at the stack trace, etc, etc)
it's hard to say.
 
Hi! Thank you for taking a look. Unfortunately the app creator coded the app
in such a way that it catches the error and provides a generic error instead.
This makes it somewhat difficult to troubleshoot.

Bumber


Nicholas Paldino said:
Michael,

Well, without knowing HOW the app bombs (what kind of exception is it,
what is the exception message, have you looked at the stack trace, etc, etc)
it's hard to say.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mike said:
Hi! I have an application that retrieves its settings from an Apache
server
XML file.
The application bombs at this line for one user only:

m_XMLReader = new XmlTextReader(configFileURL);

Everybody else who logs into the laptop is able to use the application
with
no problems. Is it a permission problem ? If so, what kind of permissions
are
we talking about. I am very puzzled. The user is in another country and I
can
not
get his laptop to troubleshoot.

Any ideas/suggestions are greatly appreciated.

Thank you in advance,

--Michael
 
Wow, that absolutely sucks. Do you have the source? Can you make it
throw the original error, or at least log more info? Quite frankly, without
that extra info, there is nothing more that anyone can do here than guess.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mike said:
Hi! Thank you for taking a look. Unfortunately the app creator coded the
app
in such a way that it catches the error and provides a generic error
instead.
This makes it somewhat difficult to troubleshoot.

Bumber


Nicholas Paldino said:
Michael,

Well, without knowing HOW the app bombs (what kind of exception is
it,
what is the exception message, have you looked at the stack trace, etc,
etc)
it's hard to say.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mike said:
Hi! I have an application that retrieves its settings from an Apache
server
XML file.
The application bombs at this line for one user only:

m_XMLReader = new XmlTextReader(configFileURL);

Everybody else who logs into the laptop is able to use the application
with
no problems. Is it a permission problem ? If so, what kind of
permissions
are
we talking about. I am very puzzled. The user is in another country and
I
can
not
get his laptop to troubleshoot.

Any ideas/suggestions are greatly appreciated.

Thank you in advance,

--Michael
 
ask the user to put the url into his browser and see if he comes up with a
legal XML document.
if he does, it could be an encoding (codepage) problem for his language.
Peter
 
Hi! Thank you for taking a look. The first thing I did is I plugged the URL
in the browser. Everything is fine. I was just told that if you right click
on the exe and
do Run As then other people can run the app just fine. Obviously it's a
permission or
blocked port problem. I am not sure how to troubleshoot permission problems.
What kind of permissions does XmlTextReader need?

Many thanks in advance,

--Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top