2014-12-04, 04:31 PM
The following error is returned when starting the recording service so I cannot use the web server on 8866
The full exception error is
2014-12-03 21:30:17.343 [ERROR][4] Unexpected error starting web server:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at Cassini.Server.CreateHost()
at Cassini.Server..ctor(Int32 port, String virtualPath, String physicalPath)
at NRecord.RecordingService.OnStart(String[] args)
I uploaded the log in npvr.zip
Everything else is working fine with npvr.
My OS is Windows 8.1
The firewall is disabled.
my config.xml settings are
<WebServer>
<Enabled>true</Enabled>
<Port>8866</Port>
<Username>admin</Username>
<Password>5F4DCC3B5AA765D61D8327DEB882CF99</Password>
<PinMD5>4A7D1ED414474E4033AC29CCB8653D9B</PinMD5>
<AllowRemoteAPI>false</AllowRemoteAPI>
<AllowRemoteTranscode>true</AllowRemoteTranscode>
<AllowRemoteStreaming>true</AllowRemoteStreaming>
<TranscodeExe>.\other\ffmpeg.exe</TranscodeExe>
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -flags +loop -cmp +chroma -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgs>
</WebServer>
I tried downloading and installing NEWA v2.15 and v.1.34 and both gave the same error.
Any ideas? Is there a way to add more debug info to the exception?
The full exception error is
2014-12-03 21:30:17.343 [ERROR][4] Unexpected error starting web server:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at Cassini.Server.CreateHost()
at Cassini.Server..ctor(Int32 port, String virtualPath, String physicalPath)
at NRecord.RecordingService.OnStart(String[] args)
I uploaded the log in npvr.zip
Everything else is working fine with npvr.
My OS is Windows 8.1
The firewall is disabled.
my config.xml settings are
<WebServer>
<Enabled>true</Enabled>
<Port>8866</Port>
<Username>admin</Username>
<Password>5F4DCC3B5AA765D61D8327DEB882CF99</Password>
<PinMD5>4A7D1ED414474E4033AC29CCB8653D9B</PinMD5>
<AllowRemoteAPI>false</AllowRemoteAPI>
<AllowRemoteTranscode>true</AllowRemoteTranscode>
<AllowRemoteStreaming>true</AllowRemoteStreaming>
<TranscodeExe>.\other\ffmpeg.exe</TranscodeExe>
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -flags +loop -cmp +chroma -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgs>
</WebServer>
I tried downloading and installing NEWA v2.15 and v.1.34 and both gave the same error.
Any ideas? Is there a way to add more debug info to the exception?