Page 1 of 1

Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @startup

Posted: Mon May 21, 2012 8:07 pm
by rbeer
Hi there.
I just stumbled upon your program. Thought: "Well, give it a try!".
Unfortunately there is an unhandled System.IO.DirectoryNotFoundException in your startup code.

IntelliTrace says:
(VisualStudio, right? At least your installer looks a lot like it ;Þ
I replaced my actual username in this message with %username%

Code: Select all

Thrown: "Could not find a part of the path 'C:\Users\%username%\AppData\Local\LogicCircuit\Settings.xml'." (System.IO.DirectoryNotFoundException)
Exception Message = "Could not find a part of the path 'C:\\Users\\%username%\\AppData\\Local\\LogicCircuit\\Settings.xml'.",
Exception Type = "System.IO.DirectoryNotFoundException"
Actually neither "Settings.xml" nor the whole folder "LogicCircuit" existed in C:\Users\%username%\AppData\Local\.
Creating only the folder C:\Users\%username%\AppData\Local\LogicCircuit solved the problem!
Settings.xml is then created at programs first start.

So my guess would be you're missing a create-folder command in your installer or some "is-folder logic" in LogicCircuit.Settings. According to the next Exception in line
this is the window responsible for them:

IntelliTrace:

Code: Select all

Thrown: "The type initializer for 'LogicCircuit.Settings' threw an exception." (System.TypeInitializationException)
Exception Message = "The type initializer for 'LogicCircuit.Settings' threw an exception.",
Exception Type = "System.TypeInitializationException"
Bug found in:
  • [X] 2.12.5.15
  • [X] 2.12.5.1
Other versions untested!

I hope I could be of help with this bugreport :)
rbeer

Re: Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @sta

Posted: Mon May 21, 2012 9:33 pm
by admin
Thanks a lot. You’ve gave me very useful information. This is a bug and I’ll release fix shortly.

Re: Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @sta

Posted: Tue May 22, 2012 12:37 am
by admin
The fix is ready. Thanks for your help