Problem with Scheduler (recording full day)

Will look forward trying to reproduce locally on our test environments.

Please give a try to 1.1.5 or 1.1.6 and see if you still have the problem.

Hi, I totally uninstalled all previous versions + deleted all folders ProgramFiles, ProgramData … restart … install 1.1:5 32bit (where to get 1.1.6?) set 1hour files for three days history and it makes only one 1hour file.

Criticality Local / Server TimeStamp Source Description
03.05.2015 21:12:56.978 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 21:11:35.720 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
03.05.2015 21:11:03.612 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 21:10:38.657 UserManager New User connected: Iphoner from 37.188.234.224 [16]
03.05.2015 21:10:36.956 UserManager New User connected: Anonymous from 37.188.234.224 [15]
03.05.2015 21:05:56.874 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 21:04:02.350 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
03.05.2015 21:03:56.845 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 21:03:53.069 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 21:02:06.800 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
03.05.2015 21:01:58.267 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 21:01:23.651 UserManager New User connected: Iphoner from 78.108.108.26 [14]
03.05.2015 21:01:23.339 UserManager New User connected: Anonymous from 78.108.108.26 [13]
03.05.2015 17:28:40.400 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
03.05.2015 17:28:30.441 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150503_162830_369.mp4 (01:00:00.0379104). Took 31 ms
03.05.2015 17:28:30.399 Source(0).ImageReceived Recording for more than 01:00:00. Starting a new file…
03.05.2015 17:11:53.567 CleanupTimerElapsed Removed 2 User(s) from Active Sessions due to inactivity
03.05.2015 17:09:41.275 WebServer:ProcessServiceEndpointRequest “Error in Process Request
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 17:09:41.271 UserManager New User connected: Iphoner from 78.108.108.26 [12]
03.05.2015 17:09:40.814 UserManager New User connected: Anonymous from 78.108.108.26 [11]
03.05.2015 16:56:53.270 CleanupTimerElapsed Removed 2 User(s) from Active Sessions due to inactivity
03.05.2015 16:54:17.993 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 16:53:54.812 UserManager New User connected: Iphoner from 88.146.103.178 [10]
03.05.2015 16:53:54.536 UserManager New User connected: Anonymous from 88.146.103.178 [9]
03.05.2015 16:46:53.100 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 16:44:53.061 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 16:43:53.034 CleanupTimerElapsed Removed 3 User(s) from Active Sessions due to inactivity
03.05.2015 16:42:06.045 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 16:41:53.775 UserManager New User connected: Iphoner from 192.168.3.124 [8]
03.05.2015 16:41:51.637 UserManager New User connected: Iphoner from 78.108.109.23 [7]
03.05.2015 16:41:51.272 UserManager New User connected: Anonymous from 78.108.109.23 [6]
03.05.2015 16:41:44.236 UserManager New User connected: Anonymous from 192.168.3.124 [5]
03.05.2015 16:40:00.672 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 16:34:50.317 UserManager New User connected: Iphoner from 88.146.103.178 [4]
03.05.2015 16:30:52.777 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 16:29:52.775 CleanupTimerElapsed Removed 1 User(s) from Active Sessions due to inactivity
03.05.2015 16:28:33.589 Source(0).StartRecording Recording already started (scheduler)
03.05.2015 16:28:33.587 Source(0).WakeUp Source(0) - WakeUp
03.05.2015 16:28:30.385 Source(0).StartRecording Recording already started (scheduler)
03.05.2015 16:28:30.383 Source(0).WakeUp Source(0) - WakeUp
03.05.2015 16:28:30.372 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
03.05.2015 16:28:30.356 Source(0).WakeUp Source(0) - WakeUp
03.05.2015 16:28:14.688 SaveSettings "Error in MoonwareServer.SaveSettings
Exception Detail:Nelze vytvořit dočasnou třídu (výsledek: 1).
error CS0012: Typ Moonware.Common.ItemEntry je definován jako sestavení, na které není odkazováno. Je nutné přidat odkaz na sestavení Moonware.Common, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null.
error CS1502: Některé argumenty přetěžované metody, která je nejlepší shodou pro deklaraci Moonware.Core.ItemQueue.Add(Moonware.Common.ItemEntry), jsou neplatné.
error CS1503: Argument 1: Nelze převést z typu object na typ Moonware.Common.ItemEntry.
"
03.05.2015 16:28:14.577 MoonwareCore.SaveSettings Saving new configuration and settings
03.05.2015 16:28:08.830 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 16:27:35.702 Source(0).ExceptionCatcher “Exception in StreamEncoder.MJPEG.GetStreamFeed()
Exception Detail:Nelze zapsat data do přenosového připojení: Stávající připojení bylo vynuceně ukončeno vzdáleným hostitelem.”
03.05.2015 16:27:31.357 UserManager New User connected: Iphoner from 88.146.103.178 [3]
03.05.2015 16:27:30.772 UserManager New User connected: Anonymous from 88.146.103.178 [2]
03.05.2015 16:27:09.224 SaveSettings "Error in MoonwareServer.SaveSettings
Exception Detail:Nelze vytvořit dočasnou třídu (výsledek: 1).
error CS0012: Typ Moonware.Common.ItemEntry je definován jako sestavení, na které není odkazováno. Je nutné přidat odkaz na sestavení Moonware.Common, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null.
error CS1502: Některé argumenty přetěžované metody, která je nejlepší shodou pro deklaraci Moonware.Core.ItemQueue.Add(Moonware.Common.ItemEntry), jsou neplatné.
error CS1503: Argument 1: Nelze převést z typu object na typ Moonware.Common.ItemEntry.
"
03.05.2015 16:27:09.121 MoonwareCore.SaveSettings Saving new configuration and settings
03.05.2015 16:26:51.936 SaveSettings "Error in MoonwareServer.SaveSettings
Exception Detail:Nelze vytvořit dočasnou třídu (výsledek: 1).
error CS0012: Typ Moonware.Common.ItemEntry je definován jako sestavení, na které není odkazováno. Je nutné přidat odkaz na sestavení Moonware.Common, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null.
error CS1502: Některé argumenty přetěžované metody, která je nejlepší shodou pro deklaraci Moonware.Core.ItemQueue.Add(Moonware.Common.ItemEntry), jsou neplatné.
error CS1503: Argument 1: Nelze převést z typu object na typ Moonware.Common.ItemEntry.
"
03.05.2015 16:26:51.606 MoonwareCore.SaveSettings Saving new configuration and settings
03.05.2015 16:26:19.964 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
03.05.2015 16:24:59.910 ConsoleHost Listening @ net.tcp://localhost:8120/Moonware/ [netTcpEndpoint]
03.05.2015 16:24:59.910 ConsoleHost Listening @ http://localhost:8124/Json [jsonEndpoint]
03.05.2015 16:24:59.910 ConsoleHost Listening @ http://localhost:8124/Soap [soapEndpoint]
03.05.2015 16:24:59.708 ConsoleHost Moonware WCF Server Started…
03.05.2015 16:24:57.947 UserManager New User connected: Admin from 127.0.0.1 [1]
03.05.2015 16:24:57.539 MoonwareServer:Constructor Web Server started on port 8100
03.05.2015 16:24:52.485 MoonwareServerWeb:Constructor Initializing MoonwareServerWeb
03.05.2015 16:24:51.814 RuleManager RuleManager Created
03.05.2015 16:24:51.549 MoonwareServer:Constructor Creating Instance of Google Drive Plugin…
03.05.2015 16:24:51.549 MoonwareServer:Constructor Creating Instance of EmailSender Plugin…
03.05.2015 16:24:46.962 MoonwareServer:Constructor Creating Instance of Dropbox Plugin…
03.05.2015 16:24:46.869 MoonwareServer:Constructor Creating Instance of FTP Plugin…
03.05.2015 16:24:46.728 MoonwareServer:Constructor Creating Instance of NAS Plugin…
03.05.2015 16:24:46.572 MoonwareServer:Constructor Creating Instance of simple FTP uploader…
03.05.2015 16:24:46.448 MoonwareServer:Constructor 15 Source Plugins Loaded in AvailablePlugins [SourcePlugins]…
03.05.2015 16:24:46.432 MoonwareServer:Constructor Adding FFMPEG File Encoder…
03.05.2015 16:24:46.432 MoonwareServer:Constructor Adding TimeLapse Encoder…
03.05.2015 16:24:46.432 MoonwareServer:Constructor Adding Live Stream Encoder…
03.05.2015 16:24:46.432 MoonwareServer:Constructor Adding MP3 Audio Stream Encoder…
03.05.2015 16:24:46.432 MoonwareServer:Constructor Adding Watermark Filter…
03.05.2015 16:24:46.416 MoonwareServer:Constructor Adding LPR…
03.05.2015 16:24:46.416 MoonwareServer:Constructor Adding MJPEG Stream Encoder…
03.05.2015 16:24:46.401 MoonwareServer:Constructor Adding Motion Detector…
03.05.2015 16:24:46.401 MoonwareServer:Constructor Adding Audio Detector…
03.05.2015 16:24:45.948 MoonwareServer:Constructor Adding Special Provider…
03.05.2015 16:24:45.948 MoonwareServer:Constructor Adding NetCam Provider…
03.05.2015 16:24:45.714 MoonwareServer:Constructor 1882 Network Camera Templates Loaded…
03.05.2015 16:24:45.714 MoonwareServer:Constructor Adding DirectShow Provider…
03.05.2015 16:24:42.828 MoonwareServer:Constructor Initializing MoonwareServer
03.05.2015 16:24:42.828 MoonwareServer:Constructor Application Folder >> C:\Program Files\Netcam Studio
03.05.2015 16:24:42.828 MoonwareServer:Constructor UserData Folder >> C:\ProgramData\Moonware\Netcam Studio\Server
03.05.2015 16:24:42.641 MoonwareServerWCF:Constructor Initializing MoonwareServerWCF
03.05.2015 16:24:41.768 Common:SetNoSleep SetThreadExecutionState succeeded. PC will not enter sleep mode during execution.

Thank you very much

Hi,

The problem is this error that somehow interrupts the recording process because it cannot be added to the library.

I however cannot reproduce the problem locally on any system at this time.

What operating system / version are you using ?

Windows 7 professional 32bit Czech language.

Thank you for your time.

Roman

Can you please send me a screenshot of all files in Server folder with the version column visible.

One (important) dll apparently refuses to load on your computer. We are trying to reproduce and understand why but unsuccessfully so far. Apparently another user is impacted by this problem but seems not to be the case for most users.

Please provide same screenshot as this from your system:

I’ve installed additional systems but still not luck in reproducing the problem.

Maybe related to non-english OS however I have some doubts since it’s reported to work fine in several non-english environment.

enter link description here

enter link description here

Hello, I’m back again with some new explorations. All test on clear system installation with Netcam Studio 1.1.9

  1. Windows 7 32 / 64 bit Czech - Service or Server … Recording stopped
  2. Windows 7 64 bit English - Recording stopped log below

Thank you for any advice … Roman

Criticality Local / Server TimeStamp Source Description
27.05.2015 08:55:58.908 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
27.05.2015 08:55:48.961 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_085448_813.mp4 (00:01:02.0225475). Took 62 ms
27.05.2015 08:55:48.901 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:54:48.814 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:54:48.770 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_085348_668.mp4 (00:01:02.0025463). Took 47 ms
27.05.2015 08:54:48.725 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:53:48.670 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:53:48.621 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_085248_560.mp4 (00:01:02.0295479). Took 62 ms
27.05.2015 08:53:48.563 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:52:48.562 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:52:48.522 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_085148_373.mp4 (00:01:02.0195473). Took 47 ms
27.05.2015 08:52:48.470 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:51:48.378 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:51:48.330 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_085048_293.mp4 (00:01:01.9245418). Took 32 ms
27.05.2015 08:51:48.294 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:50:48.297 Source(0).StartRecording Source(0) - Started File Recording. Took 15 ms
27.05.2015 08:50:48.229 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_084948_131.mp4 (00:01:01.9995462). Took 0 ms
27.05.2015 08:50:48.213 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:49:48.133 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:49:48.085 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_084847_945.mp4 (00:01:02.0305479). Took 47 ms
27.05.2015 08:49:48.038 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:48:47.947 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:48:47.903 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_084747_817.mp4 (00:01:02.0245476). Took 31 ms
27.05.2015 08:48:47.865 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:47:47.819 Source(0).StartRecording Source(0) - Started File Recording. Took 0 ms
27.05.2015 08:47:47.738 Source(0).StopRecording Source(0) - File recording completed for Recording_0_20150527_084647_581.mp4 (00:01:00.0314336). Took 62 ms
27.05.2015 08:47:47.669 Source(0).ImageReceived Recording for more than 00:01:00. Starting a new file…
27.05.2015 08:46:49.495 Source(0).StartRecording Recording already started (scheduler)
27.05.2015 08:46:49.493 Source(0).WakeUp Source(0) - WakeUp
27.05.2015 08:46:47.612 Source(0).StartRecording Recording already started (scheduler)
27.05.2015 08:46:47.609 Source(0).WakeUp Source(0) - WakeUp
27.05.2015 08:46:47.586 Source(0).StartRecording Source(0) - Started File Recording. Took 16 ms
27.05.2015 08:46:47.552 Source(0).WakeUp Source(0) - WakeUp
27.05.2015 08:46:02.336 SaveSettings "Error in MoonwareServer.SaveSettings
Exception Detail:Unable to generate a temporary class (result=1).
error CS0012: The type ‘Moonware.Common.ItemEntry’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘Moonware.Common, Version=1.1.9.0, Culture=neutral, PublicKeyToken=null’.
error CS1502: The best overloaded method match for ‘Moonware.Core.ItemQueue.Add(Moonware.Common.ItemEntry)’ has some invalid arguments
error CS1503: Argument 1: cannot convert from ‘object’ to ‘Moonware.Common.ItemEntry’
"
27.05.2015 08:46:01.877 MoonwareCore.SaveSettings Saving new configuration and settings
27.05.2015 08:45:51.057 Source(0).TimerInactivityElapsed Source(0) - Video Source Stopped due to inactivity
27.05.2015 08:45:11.985 UserManager New User connected: Admin from 127.0.0.1 [1]
27.05.2015 08:45:08.241 ConsoleHost Listening @ net.tcp://localhost:8120/Moonware/ [netTcpEndpoint]
27.05.2015 08:45:08.241 ConsoleHost Listening @ http://localhost:8124/Json [jsonEndpoint]
27.05.2015 08:45:08.241 ConsoleHost Listening @ http://localhost:8124/Soap [soapEndpoint]
27.05.2015 08:45:08.179 ConsoleHost Moonware WCF Server Started…
27.05.2015 08:45:07.243 MoonwareServer:Constructor Web Server started on port 8100
27.05.2015 08:45:06.151 MoonwareServerWeb:Constructor Initializing MoonwareServerWeb
27.05.2015 08:45:06.089 RuleManager RuleManager Created
27.05.2015 08:45:05.901 MoonwareServer:Constructor Creating Instance of EmailSender Plugin…
27.05.2015 08:45:05.886 MoonwareServer:Constructor Creating Instance of Google Drive Plugin…
27.05.2015 08:45:04.794 MoonwareServer:Constructor Creating Instance of Dropbox Plugin…
27.05.2015 08:45:04.763 MoonwareServer:Constructor Creating Instance of FTP Plugin…
27.05.2015 08:45:04.716 MoonwareServer:Constructor Creating Instance of NAS Plugin…
27.05.2015 08:45:04.685 MoonwareServer:Constructor Creating Instance of simple FTP uploader…
27.05.2015 08:45:04.653 MoonwareServer:Constructor 15 Source Plugins Loaded in AvailablePlugins [SourcePlugins]…
27.05.2015 08:45:04.622 MoonwareServer:Constructor Adding Live Stream Encoder…
27.05.2015 08:45:04.622 MoonwareServer:Constructor Adding MP3 Audio Stream Encoder…
27.05.2015 08:45:04.622 MoonwareServer:Constructor Adding Watermark Filter…
27.05.2015 08:45:04.607 MoonwareServer:Constructor Adding TimeLapse Encoder…
27.05.2015 08:45:04.591 MoonwareServer:Constructor Adding MJPEG Stream Encoder…
27.05.2015 08:45:04.591 MoonwareServer:Constructor Adding FFMPEG File Encoder…
27.05.2015 08:45:04.575 MoonwareServer:Constructor Adding LPR…
27.05.2015 08:45:04.560 MoonwareServer:Constructor Adding Audio Detector…
27.05.2015 08:45:04.544 MoonwareServer:Constructor Adding Motion Detector…
27.05.2015 08:45:04.482 MoonwareServer:Constructor Adding NetCam Provider…
27.05.2015 08:45:04.451 MoonwareServer:Constructor Adding Special Provider…
27.05.2015 08:45:04.279 MoonwareServer:Constructor 1882 Network Camera Templates Loaded…
27.05.2015 08:45:04.279 MoonwareServer:Constructor Adding DirectShow Provider…
27.05.2015 08:45:02.111 MoonwareServer:Constructor Initializing MoonwareServer
27.05.2015 08:45:02.111 MoonwareServer:Constructor Application Folder >> C:\Program Files\Netcam Studio - 64-bit
27.05.2015 08:45:02.111 MoonwareServer:Constructor UserData Folder >> C:\ProgramData\Moonware\Netcam Studio\Server
27.05.2015 08:45:01.939 MoonwareServerWCF:Constructor Initializing MoonwareServerWCF
27.05.2015 08:45:01.783 Common:SetNoSleep SetThreadExecutionState succeeded. PC will not enter sleep mode during execution.

You use only scheduler to record for a given period right ?

No motion detection, no manual recording ?

I will try to reproduce based on this information, if you have more details on how to setup a system same as you do, please share.

Exactly … only scheduler … right click on video preview … Scheduler … tap on Record and upperleft corner of grid. Preview border switch to red and recording started … after some recorded files recording stopped, but cam preview is OK.

What models of cameras / template used ?

Still cannot find a way to reproduce the problem…

and how many sources do your record at the same time?

Btw, you are not alone with this problem but I don’t think it’s related directly to a bug or issue in Netcam Studio.

I have just found this article specific to your error Unable to generate a temporary class (result=1).:

I will look for other and hopefully be able to provide a workaround, i have tried multiple systems and never encountered this which seems related to lack of rights for generating dynamically an assembly (dll) on the hard disk.

Please try this solution:

“When using the XmlSerializer there are permissions issues can can be solved by granting the user account read/write permissions on the %SYSTEMROOT%\Temp folder but I would much rather have the temporary files created in a different folder”

Give access to the user account that is being used by Netcam Studio X or Netcam Studio Service.

It comes from this page:
http://www.hanselman.com/blog/ChangingWhereXmlSerializerOutputsTemporaryAssemblies.aspx

Btw, are you sure this doesn’t happen when the disk is full and when it just cannot write anymore the required temporary files on the HDD ?

One last question for now.

Do you have .NET 4.5 installed ?

All our test systems do have and maybe it’s why we cannot reproduce the issue here. I think that XMLSerialization has changed between .NET 4 and .NET 4.5 but just a guess because i’m lacking of other rational answers.

Hey, you are absolutely right !!! After .NET 4.5 installation all started working. No recordig stops … thank you for your time again. :wink:

Conclusion: it is not related to different language version of OS, some NCS features just need .NET 4.5 installed.

Logiech Ultracam, A4, Notebook Webcam … all local USB

Ok, thanks for the feedback.

At least we know why but it’s something we’ll have to look forward to fix, in this case probably much more users impacted than the 2 of you who reported the issue here.

Anyway, thanks for your patience and help!