Windows Phone Developers

Showing posts with label C# Error. Show all posts
Showing posts with label C# Error. Show all posts

Wednesday, March 31, 2010

System.IO.FileNotFoundException was unhandled

The error occurs when an attempt is made to open a file that is not available

The following statement

stream = File.Open("data.xml", FileMode.Open);

will throw an error if data.xml is not available
Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

Saturday, October 18, 2008

The ' ' character, hexadecimal value 0x20, cannot be included in a name.

Solution : "The ' ' character, hexadecimal value 0x20, cannot be included in a name."

XML Tag should not contain any white spaces.

Change

new XElement("Total Price", fields[4])

to

new XElement("TotalPrice", fields[4])


Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon