Results 1 to 6 of 6

Thread: 'System.IO.FileNotFoundException'

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    7

    'System.IO.FileNotFoundException'

    A first chance exception of type 'System.IO.FileNotFoundException' occurred
    in mscorlib.dll

    Can somebody tell me whats wrong?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: 'System.IO.FileNotFoundException'

    What was the code that caused the error?
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    7

    Re: 'System.IO.FileNotFoundException'

    What was the code that caused the error?

    Well i don't now.
    I have make a application in VS2005, and use sql server 2005 mobile edition.
    When i start the application on my pc, i use emulator device to see the application, the error message come up in the message window.

    Can i look in the code where the problem is?

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: 'System.IO.FileNotFoundException'

    If you are in debug mode, you should have the option of breaking when the exception occurs, which should take you to the line where the exception occured. This may or may not be particularly useful in this case, but I suspect that it is.

    An alternative would be to step through the code leading up to when the error occurs. In general, I would expect that you are attempting to open a file, and something is not working with that. Is that possible?

    Is there any chance you can use an actual device rather than the emulator? I have my doubts about the emulator, but that stems from an older version of .NET, and 2005 might be fine. However, it might not, so using a physical device might be superior to the emulator.
    My usual boring signature: Nothing

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    7

    Re: 'System.IO.FileNotFoundException'

    I make a reinstal, and thats problem is not a problem anymore.

    but, now i have other problems.

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: 'System.IO.FileNotFoundException'

    Put them in a new thread, otherwise people might not see them.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width