Jump to content

Random Error


Recommended Posts

A random error started occuring upon opening the program, i assumed from the wording that some files were corrupt so I uninstalled the program and the started to re-install. Whilst installing a similar error appeared:

 

System.TypeInitializationException: The type initializer for 'PaintDotNet.SystemLayer.FileSystem' threw an exception. ---> System.IO.IOException: The file or directory is corrupted and unreadable.
 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern)
   at PaintDotNet.SystemLayer.FileSystem..cctor() in d:\src\pdn\paintdotnet\src\SystemLayer\FileSystem.cs:line 513
   --- End of inner exception stack trace ---
   at PaintDotNet.SystemLayer.FileSystem.TryDeleteFile(String filePath)
Link to comment
Share on other sites

Sounds like you have something failing. Perhaps your HDD.

Try scanning it http://windows.microsoft.com/en-us/windows-vista/check-your-hard-disk-for-errors

Link to comment
Share on other sites

Still sounds like a failing HDD to me.

Try this -
Open file explorer (Microsoft flag key + E). Right click on C: HDD under Computer. Then click Properties > Tools tab. Check now button.

Link to comment
Share on other sites

Open file explorer (Microsoft flag key + E). Right click on C: HDD under Computer. Then click Properties > Tools tab. Check now button.

 

These instructions are for Win7.  Do you have Admin status on your PC?

Link to comment
Share on other sites

Are you up to date with your Windows Updates?

 

Have you tried repairing the .NET framework?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...