2016-10-16, 11:56 PM
NextPVR web server will not start. This started to happen while Windows was changing the indexing properties on all files on the C drive (where NextPVR is installed). I have completely uninstalled and reinstalled NextPVR (3.8.3.160929) which does not help. The Windows event log states "Event ID 1325 from ASP.NET.4.0.30319.0 cannot be found. Component is not installed or the installation is corrupted." I can't figure out what is "not installed" or what "installation is corrupted." It can't be NRecord.exe since I completely uninstalled and reinstalled NextPVR.
Can anyone suggest a way to find out what is not installed or corrupted?
At the time of the error the NRecord.log shows the following.
Can anyone suggest a way to find out what is not installed or corrupted?
At the time of the error the NRecord.log shows the following.
Code:
[...startup]
2016-10-16 15:08:20.805 [DEBUG][4] OnStart()
2016-10-16 15:08:20.820 [DEBUG][4] Checking if upgrade required
2016-10-16 15:08:20.820 [DEBUG][4] master file is C:\Users\Public\NPVR\Config-master-dont-edit.xml
2016-10-16 15:08:20.836 [INFO][4] Using local in-process recording service
2016-10-16 15:08:21.992 [DEBUG][4] CaptureSource.LoadAll()
2016-10-16 15:08:22.039 [DEBUG][4] RecordingServiceProxy@exit
2016-10-16 15:08:22.039 [INFO][4] RecordingService.Startup()
2016-10-16 15:08:22.039 [INFO][4] Starting remoting service (on port 8968)
2016-10-16 15:08:22.102 [DEBUG][10] Requesting wake up for 'EPGWAKEUP-backup' at 10/17/2016 3:22 AM
2016-10-16 15:08:22.102 [INFO][13] ServiceLocatorThread() Hostname: HT2
2016-10-16 15:08:22.117 [DEBUG][10] Requesting wake up for 'EPGWAKEUP' at 10/17/2016 3:22 AM
2016-10-16 15:08:22.117 [DEBUG][10] Next EPG update time: 10/17/2016 3:22 AM
2016-10-16 15:08:22.117 [INFO][4] Starting web server on: 8866
2016-10-16 15:08:22.117 [INFO][4] Setting working directory to: C:\Program Files (x86)\NPVR\
2016-10-16 15:08:22.117 [INFO][4] Web root: C:\Users\Public\NPVR\web
2016-10-16 15:08:22.149 [INFO][9] RecordingService starting...
2016-10-16 15:08:22.149 [DEBUG][9] Doing database vacuum
2016-10-16 15:08:22.305 [INFO][13] IP Address: 192.168.1.108
2016-10-16 15:08:22.305 [DEBUG][13] Waiting for broadcast
2016-10-16 15:08:27.103 [DEBUG][11] Client Listener starting on port 7969
2016-10-16 15:08:28.369 [DEBUG][9] vacuuming done
2016-10-16 15:08:28.369 [DEBUG][5] Deleting web temp files
2016-10-16 15:08:28.385 [DEBUG][9] No C:\Users\Public\NPVR\Scripts\PostStartup.bat
2016-10-16 15:08:28.400 [DEBUG][9] PurgeOldDeletes()
2016-10-16 15:08:28.400 [DEBUG][9] Loading recording schedule
2016-10-16 15:08:28.400 [ERROR][4] [color=#FF0000]Unexpected error starting web server:[/color]
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 [color=#FF0000]NRecord[/color].RecordingService.OnStart(String[] args)
2016-10-16 15:08:28.400 [DEBUG][4] OnStart() complete...
2016-10-16 15:08:28.416 [DEBUG][9] CancelAllWakeupRequests
2016-10-16 15:19:36.211 [DEBUG][17] OnStop()
2016-10-16 15:19:36.211 [DEBUG][17] About to stop webserver
2016-10-16 15:19:36.211 [DEBUG][17] webserver stopped
2016-10-16 15:19:36.211 [DEBUG][17] About to stop MVP servers
2016-10-16 15:19:36.211 [DEBUG][17] MVPManager shutdown initiated
2016-10-16 15:19:36.211 [DEBUG][17] MVPManager shutdown complete
2016-10-16 15:19:36.211 [DEBUG][17] MVP servers stopped
2016-10-16 15:19:36.211 [DEBUG][17] About to stop recording service
2016-10-16 15:19:36.211 [INFO][17] RecordingService.Shutdown()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.211 [INFO][17] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.462 [INFO][9] HDHomeRun.StopAllStreams()
2016-10-16 15:19:36.672 [DEBUG][17] recording service stopped
2016-10-16 15:19:36.672 [DEBUG][17] OnStop() complete...