Error after upgrade (#39)

After upgrade to version 5.10 (from 5.06), I cannot open any projects createds won version 5.06.

Error showed on software startup:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\SIM\kqrvz23x.ovi'.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at System.IO.File.WriteAllBytes(String path, Byte[] bytes)

at SoftwareIdeasModeler.ProjectXml.SimXmlReader.LoadImage(Project project, XElement imageElem)

at SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramItem.Load(Diagram diagram, XElement elem)

at SoftwareIdeasModeler.Core.Projecting.DiagramLayer.Load(Diagram diagram, XElement xElem)

at SoftwareIdeasModeler.Core.Projecting.Diagram.LoadItems(Diagram diagram, XElement elem)

at SoftwareIdeasModeler.Core.Projecting.Diagram.FromXElement(SimXmlReader reader, Model model, XElement elem)

at SoftwareIdeasModeler.Core.Projecting.Model.FromXElement(SimXmlReader reader, Project project, XElement elem)

at SoftwareIdeasModeler.ProjectXml.SimXmlReader.LoadModels(XElement root)

at SoftwareIdeasModeler.ProjectXml.SimXmlReader.Load()

at SoftwareIdeasModeler.Program.RunMainWindow(Form splash)

Created
27 March 2012 8:33:07
Closed
1 April 2012 13:49:54
Requested by
Fabricio Considera
State
Solved
Version
5.10
OperatingSystem
Windows Server 2008R2
Solved in
5.11

Fabricio 27 March 2012 9:22:36

mmh, I got the solution, the SIM folder was not created into users/appdata/temp on software installation, simply create it.

Dusan Rodina - softwareideas.net 27 March 2012 14:25:27

Version 5.11 will prevent this problem with temp - it will check the existence before write.

This fix is also available here: http://www.softwareideas.net/SoftwareIdeasModeler.5.10HotFix1.zip

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]