NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 171 172 173 174 175 … 433 Next »
Help with web server not starting

Help with web server not starting
gariak
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Aug 2015
#1
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:
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>
gariak
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Aug 2015
#2
2015-08-16, 11:25 PM
Nothing? I've exhausted my knowledge and resources, so any pointers would be appreciated, thanks.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#3
2015-08-16, 11:28 PM
Sounds like a .net problem, you could try running microsofts .net repair tool

"I'd rather have a bottle in front of me than a frontal lobotomy"
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,691
Threads: 767
Joined: Nov 2003
#4
2015-08-17, 12:21 AM
If you stop the recording service, and run it manually using the following command, does the web server start?

nrecord.exe RUN
gariak
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Aug 2015
#5
2015-08-17, 01:35 PM
sub Wrote:If you stop the recording service, and run it manually using the following command, does the web server start?

nrecord.exe RUN

No, I get the same error either way. As the previous commenter said, I also already tried the .NET repair tool. Thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,691
Threads: 767
Joined: Nov 2003
#6
2015-08-17, 05:37 PM
Sorry, I'm not really sure what to suggest on this one.
ecollin2
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Aug 2015
#7
2015-08-17, 07:10 PM
sub Wrote:Sorry, I'm not really sure what to suggest on this one.

Try Googling "disable IIS". I had an issue where the Kodi web server would not start and disabling IIS fixed it for me.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#8
2015-08-21, 09:42 AM
Your solution may be like mine, see my post here http://forums.nextpvr.com/showthread.php...post491461

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,150 2023-01-11, 08:49 PM
Last Post: Frapo
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,325 2021-01-28, 01:52 PM
Last Post: mvallevand
  Configure NextPVR Server Pliedes 1 1,815 2020-10-07, 04:59 PM
Last Post: sub
  Lights-Out for Windows Home Server 2011 pvrip 6 3,224 2020-05-21, 04:56 PM
Last Post: Madlec
  Trouble starting NextPVR Kiwa23 3 1,848 2020-03-26, 12:25 AM
Last Post: sub
Photo Server database error mnthope 4 2,185 2019-12-23, 11:28 PM
Last Post: sub
  Cannot access NextPVR server after internet service change tskdrk 5 2,673 2019-12-17, 01:12 AM
Last Post: sub
  Unable to communicate with server (IP Address) NudeNut 7 3,276 2019-10-30, 06:14 AM
Last Post: sub
  recording service not starting in win 10 Brucek2839 2 1,369 2019-10-25, 03:21 PM
Last Post: Brucek2839
  NextPVR, Web Server and Sub-titles henrikk 1 1,071 2019-06-04, 07:58 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode