Author Topic: XML error  (Read 1427 times)

0 Members and 1 Guest are viewing this topic.

shers

  • Guest
XML error
« on: May 14, 2015, 05:38:14 AM »
Hi,

In C#, I read a xml file and all worked fine. After a couple of days, it gives me error as follows.

'A first chance exception of type 'system.invalidoperationexception' occurred in system.xml.dll'

What could be the reason? Please help.

Thanks

Andrey Bushman

  • Swamp Rat
  • Posts: 860
Re: XML error
« Reply #1 on: May 14, 2015, 06:06:38 AM »
Where is your xml? Where is your code?

Jeff H

  • Needs a day job
  • Posts: 6075
Re: XML error
« Reply #2 on: May 14, 2015, 02:36:48 PM »
You have a invalid operation.

Jeff_M

  • King Gator
  • Posts: 3977
  • C3D user & customizer

shers

  • Guest
Re: XML error
« Reply #4 on: May 15, 2015, 01:43:39 AM »
You have a invalid operation.

But it was working earlier.

Andrey Bushman

  • Swamp Rat
  • Posts: 860
Re: XML error
« Reply #5 on: May 15, 2015, 02:03:56 AM »
But it was working earlier.
Perhaps you opened a window in the office by other hand, or moved a chair not according feng shui. Or simply you forgot to wash your hands before touching the keyboard.
« Last Edit: May 15, 2015, 02:08:55 AM by Andrey Bushman »

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: XML error
« Reply #6 on: May 18, 2015, 07:51:40 AM »
Careful guys.  Although this post, with such limited information, makes one want to respond as you have.  You're starting to sound like those other boards where flaming seems to be the norm.

shers,  you'll probably get a much better response if you'll post some code in the future.  Post what you've changed to try and fix it.  It also helps if you'll note a break point where you're getting the error.
Revit 2019, AMEP 2019 64bit Win 10

Master_Shake

  • Swamp Rat
  • Posts: 1447
Re: XML error
« Reply #7 on: May 18, 2015, 08:03:46 AM »
I agree, definitely need to upload at least a snippet where the error is occurring.

Andrey Bushman

  • Swamp Rat
  • Posts: 860
Re: XML error
« Reply #8 on: May 18, 2015, 08:50:04 AM »
Careful guys.  Although this post, with such limited information, makes one want to respond as you have.  You're starting to sound like those other boards where flaming seems to be the norm.
I want to offend nobody. It was a joke only. My previous post has questions about more detailed info, but author ignored it and continues to play a game "sea battle". Therefore I wrote my joke. :)