2015-08-09, 05:07 PM
I recently installed the latest version of NextPVR and cannot get the web server to start. I found the below listed errors associated with the problem, which are repeatable at every restart of the nrecord service and after multiple reboots. On researching it, I found another user getting the same error messages, but without any resolution. I have tried a clean install, removing the Temporary ASP.NET files, updating the recommended DirectX files, updating and repairing the .NET install, and a number of other things. Does anyone have any additional steps I could try? Thanks.
Here is the error from NPVR.log:
And the corresponding error in the Windows app log:
Here is the error from NPVR.log:
Code:
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)
And the corresponding error in the Windows app log:
Code:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 22/02/2015 09:02:00
Event ID: 1325
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: arcturus
Description:
Failed to initialize the AppDomain:aa85f57
Exception: System.AppDomainUnloadedException
Message: The application domain in which the thread was running has been unloaded.
StackTrace: 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)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="49152">1325</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-22T09:02:00.000000000Z" />
<EventRecordID>41601</EventRecordID>
<Channel>Application</Channel>
<Computer>arcturus</Computer>
<Security />
</System>
<EventData>
<Data>Failed to initialize the AppDomain:aa85f57
Exception: System.AppDomainUnloadedException
Message: The application domain in which the thread was running has been unloaded.
StackTrace: 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)</Data>
</EventData>
</Event>