Go Back   nV News Forums > Software Forums > Software Development

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-14-07, 12:35 PM   #1
Sycario
Registered User
 
Join Date: Nov 2006
Location: St. Louis, MO
Posts: 363
Send a message via AIM to Sycario
Default Loading XML error (.net 1.1)

I am trying to load an xml document but it blows up every time. I've done this before without a problem.

Dim xmlDoc As New Xml.XmlDocument
If IO.File.Exists(XMLFile) = False Then
ThrowError("Unable to locate the setup xml.", True)
ElseIf IO.File.Exists(XMLFile) Then
xmlDoc.Load(XMLFile)

Then it errors on the load with:
Additional information: System error.

In the debug it says:
XMLFile "E:\Dev\UllsaSetup\UllsaSetup\bin\setup.xml" String

Any ideas?
__________________

Comp Specs:
Intel Q9650 @ 3.95Ghz
Asus Rampage Extreme
2x2GB Mushkin DDR3-1600 @ 6-6-6-17
eVGA GTX 280 SSC
BFG ES-800 PSU
Sycario is offline   Reply With Quote
Old 03-22-07, 07:37 PM   #2
Head_slinger
DEP Hater :)
 
Head_slinger's Avatar
 
Join Date: Jul 2002
Location: Newcastle, UK
Posts: 277
Send a message via ICQ to Head_slinger
Default Re: Loading XML error (.net 1.1)

can you post more of the code please.
__________________
AMD Athlon 64 3500+
1gb Corsair XMS3200C2PT
Leadtek 6800GT
Audigy 2
ASUS A8V

Windows XP Prof./SuSe 8.2
Head_slinger is offline   Reply With Quote
Old 03-22-07, 08:04 PM   #3
supra
2JZ powered
 
supra's Avatar
 
Join Date: Dec 2004
Location: Aus
Posts: 1,321
Send a message via MSN to supra
Default Re: Loading XML error (.net 1.1)

Quote:
Originally Posted by CaNiBuS

In the debug it says:
XMLFile "E:\Dev\UllsaSetup\UllsaSetup\bin\setup.xml" String
is this the actual path or is it

"E:\Dev\UllsaSetup\bin\setup.xml"
not
"E:\Dev\UllsaSetup\UllsaSetup\bin\setup.xml"
__________________
supra is offline   Reply With Quote
Old 03-29-07, 12:13 PM   #4
Sycario
Registered User
 
Join Date: Nov 2006
Location: St. Louis, MO
Posts: 363
Send a message via AIM to Sycario
Default Re: Loading XML error (.net 1.1)

That was the correct path. It's usually something simple with an error that makes no sense. In this case the xml had <Replace> and </replace>. Just one capital letter made it give a system error. You'd think that the errors might be a little more helpful sometimes.....
__________________

Comp Specs:
Intel Q9650 @ 3.95Ghz
Asus Rampage Extreme
2x2GB Mushkin DDR3-1600 @ 6-6-6-17
eVGA GTX 280 SSC
BFG ES-800 PSU
Sycario is offline   Reply With Quote
Old 03-29-07, 08:44 PM   #5
supra
2JZ powered
 
supra's Avatar
 
Join Date: Dec 2004
Location: Aus
Posts: 1,321
Send a message via MSN to supra
Default Re: Loading XML error (.net 1.1)

hehe yeah but u should already know xml is case sensitive.

i would use a try/catch if u want more details on the error instead of throwerror

Dim xmlDoc As New Xml.XmlDocument
Try
xmlDoc.Load(XMLFile)
Catch ex as Exception
msgbox(ex.tostring)
End Try
__________________
supra is offline   Reply With Quote
Old 03-31-07, 12:12 PM   #6
Sycario
Registered User
 
Join Date: Nov 2006
Location: St. Louis, MO
Posts: 363
Send a message via AIM to Sycario
Default Re: Loading XML error (.net 1.1)

Yeah, I know it's case sensitive. I didn't make the layout of the XML. Noticing 1 capital letter out of place isn't easy for me, I can't even find a loaf of bread on the counter when it's right in front of me. The only reason I found it was because I opened it with IE7 and it told me the tags didn't match.
__________________

Comp Specs:
Intel Q9650 @ 3.95Ghz
Asus Rampage Extreme
2x2GB Mushkin DDR3-1600 @ 6-6-6-17
eVGA GTX 280 SSC
BFG ES-800 PSU
Sycario is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM
RH7.3 and nForce - can't find the module dmw400 NVIDIA Linux 4 08-05-02 12:14 PM

All times are GMT -5. The time now is 01:32 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.