Jump to content

Library error


Lucija
 Share

Recommended Posts

Hi Lucija,

it seems that the problem occurs when you click on the IV curves tab in the PV module dialog. I can see that another process is accessing a file that we need to show the IV curves, that is why it crashes. One option would be to find out which process is accessing the file (e.g. an antivirus software?). Another option would be not to click on that IV curves tab when creating new modules.

Kind regards,

Martin

Link to comment
Share on other sites

Hi Martin,

here i send you the error report:

-----------------------------------------------------------------------

 

System Language: hr-HR

System.IO.IOException: The process cannot access the file 'C:\Users\EnercoSolardooEnerco\AppData\Local\Valentin EnergieSoftware\Temp\PVSOL premium 2019\20190920-084354-274-928T\core.results' because it is being used by another process.
   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, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at ValentinSoftware.Simulation.LoggingController.KTu9ptUWtl()
   at ValentinSoftware.Simulation.LoggingController.GetResultsFile()
   at ValentinSoftware.Simulation.LoggingController.Apx9gjikQR(String )
   at ValentinSoftware.Simulation.LoggingController.ReturnResult(String componentName, String resultName, Double[]& values, String& unitName)
   at ValentinSoftware.Simulation.SimulationFrameworkManager.ReturnResultValues(String componentName, String resultName)
   at EnergySoftware.PV.Calculation.KennlinienBerechnung.CalculateEfficiencyCurve(Boolean pvsolmodel, XmlDocument plantXmlDocument, Double temperatur)
   at EnergySoftware.PV.Calculation.PvModuleService.CalculatePartLoadCurve(DbPvModuleViewModel vm)
   at EnergySoftware.PV.Main.DB.DbPvModuleEditPresenter.CalculatePartLoadCurves()
   at EnergySoftware.PV.Contracts.DelegateCommand.Execute()
   at EnergySoftware.PV.Contracts.DelegateCommand.System.Windows.Input.ICommand.Execute(Object parameter)
   at ValentinSoftware.PV.GUI.UserControlPVModuleEdit.ViewChartEta()
   at ValentinSoftware.PV.GUI.UserControlPVModuleEdit.SetChartTabVisible()
   at ValentinSoftware.PV.GUI.UserControlPVModuleEdit.ultraTabControl1_SelectedTabChanged(Object sender, SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnSelectedTabChanged(SelectedTabChangedEventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.RaiseEvent(UltraTabControlEventId id, EventArgs e)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnManagerSelectedTabItemChanged(Object sender, SelectedTabItemChangedEventArgs e)
   at Infragistics.Win.UltraWinTabs.TabManager.set_SelectedTabItem(ITabItem value)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.SetSelectedTab(UltraTab tab)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.PerformAction(UltraTabControlAction actionCode)
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.PerformDelayedInitialize()
   at Infragistics.Win.UltraWinTabControl.UltraTabControlBase.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

-----------------------------------------------------------------------
Thanks in advance for your help.

Lucija

 

 
Link to comment
Share on other sites

Hi Lucija,

there is some other process that is accessing our temp folders under

C:\Users\EnercoSolardooEnerco\AppData\Local\Valentin EnergieSoftware\Temp\PVSOL premium 2019\

Please check if you can add an exception rule in your antivirus software so that this directory is not touched. Firstly, you can also close PV*SOL and delete all files and folders inside this temp folder.

Kind regards,

Martin

Link to comment
Share on other sites

Hi Martin,

I've followed instructions and managed to add the wanted module, the error still occured when I tried to do it again, or to click the edit icon. 

Probably that procedure has to be done every time I want to add or edit module settings.

Anyway thank you for your help.

Kind regards,

Lucija 

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.

 Share

×
×
  • Create New...