NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 2 3 4 5 … 34 Next »
web interface wouldn't start, root element missing.

 
  • 0 Vote(s) - 0 Average
web interface wouldn't start, root element missing.
brucewol
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Nov 2016
#1
2023-01-11, 12:11 AM
back in sept, 2022 i installed version 5 and it worked fine for awhile. Then I couldn't login any longer. the old style 4.2.4 exe worked fine, so i've been using that since sept. decided to look into the problem now. still doesn't work. just reinstalled over the top of what i had. doing some recordings now, so don't want to unistall for a bit.  when i start what was a chrome shortcut with http://localhost:8866/ i get 

Server Error in '/' Application.


Server Error in '/' Application.
Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: Root element is missing.

Source Error:


Line 796:
Line 797: if (File.Exists(GetWebConfigFileName()))
Line 798: configWeb.Load(GetWebConfigFileName());
Line 799:
Line 800: globalSettings = new HybridDictionary();

Source File: c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs    Line: 798

Stack Trace:  
[XmlException: Root element is missing.]
  System.Xml.XmlTextReaderImpl.Throw(Exception e) +69
  System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1266
  System.Xml.XmlTextReaderImpl.Read() +63
  System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +253
  System.Xml.XmlDocument.Load(XmlReader reader) +108
  System.Xml.XmlDocument.Load(String filename) +124
  N_EWA.classes.Settings.LoadFromFile(Boolean reload) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:798
  N_EWA.classes.Settings.GetSetting(Object moduleObject, String settingName) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:742
  N_EWA.classes.Settings.Load() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:174
  N_EWA.classes.Settings..ctor() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:166
  N_EWA.Global..cctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:78

[TypeInitializationException: The type initializer for 'N_EWA.Global' threw an exception.]
  N_EWA.Global..ctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:71
  ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0a635572\38fd2de4\App_global.asax.f-p_sm9s.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
  System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
  System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +122
  System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +239
  System.Activator.CreateInstance(Type type, Boolean nonPublic) +85
  System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1173
  System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +130
  System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +21
  System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +44
  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +130
  System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +35
  System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +195
  System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +83
  System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +520
 


==========================================================================================

same error message with firefox. 

probably should fix this but i'm happy for now using 4.2.4. i can record locally and watch with vlc. remotely, my recordings are on a share, so also watch with vlc. i can get log files but this looks like it is more a configuration problem with my pc. 

would appreciate help in debugging. thanks.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#2
2023-01-11, 12:21 AM
Those are v4 messages from NEWA. If you run v4 and v6 together you need to use different ports or shutdown the v4 service while testing.

Martin
brucewol
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Nov 2016
#3
2023-01-11, 02:46 AM (This post was last modified: 2023-01-11, 02:48 AM by brucewol.)
Thanks Martin but i need a bit clarification. I started using nextpvr probably around 2015 or so when beyondtv would not load a schedule any more. i'm a techie type but nextpvr seems to have gotten a lot more techie in recent years. i'm been retired 20 years and probably not as a techie as i used to be, just older.

anyway, define some terms

v4 - prior version of nextpvr
v6 - typeo for current v5 version of nextpvr

NEWA - never ever want apples, you might have a different definition

different ports - so use something other than 8866 http://localhost:8866/  okay but what would i use, how would i find the proper port

By the way, i'm not testing. just a dumb user but i imagine that's obvious by now.

so, what do i need to do now? Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#4
2023-01-11, 03:19 AM
V6 now supercedes V5 It might be better to just think of it as NextPVR and the obsolete version as V4. It does not updateV4 though so you need to stop V4 from running. NEWA is the V4 web server.

NextPVR in many ways is easier than V4 but although people use the web for pretty much everything now some people have trouble adapting, you will get used to it. There are more clients the ever so ths can make it seem harder. Using NextPVR for Windows as your client you might not notice anything once you are set up. I've been retired for seven years BTW.

If you turn off V4 your life might be easier perhaps go to the wiki and follow some tips https://github.com/sub3/NextPVR/wiki/upd...on-Windows It might help if you read through the wiki to help get used to it.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#5
2023-01-11, 03:39 AM
Quote:I've been retired for seven years BTW.
Really - man, where did those 7 years go. I swear you were just retiring like last year or the year before Big Grin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,521
Threads: 166
Joined: Jun 2007
#6
2023-01-11, 03:25 PM
(2023-01-11, 03:39 AM)sub Wrote:
Quote:I've been retired for seven years BTW.
Really - man, where did those 7 years go. I swear you were just retiring like last year or the year before Big Grin

I was thinking the exact same thing!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to start NPVR directly in "Live TV" mode NathanF 2 121 2023-02-13, 04:47 AM
Last Post: NathanF
  Recordings start too early, and finish too early Paul92 2 141 2022-12-25, 02:50 PM
Last Post: mvallevand
  Aspect Ratio in Web Interface mcbo84 15 505 2022-12-18, 06:47 PM
Last Post: sub
  Epg half missing 0:00 - 12:00 psycik 9 284 2022-10-05, 02:19 AM
Last Post: sub
  Scan missing channels. snknts 15 1,023 2022-10-01, 12:26 PM
Last Post: russell
Question Filtering Groups/Channels I am missing something basic I think? dravenstone 12 568 2022-09-05, 07:14 PM
Last Post: BrettB
  Missing "Save" button on Update channels f0945a5662 26 1,038 2022-06-20, 01:47 AM
Last Post: f0945a5662
  Recording suddenly not shown in web interface xbmcgotham 6 1,256 2022-03-31, 06:15 PM
Last Post: xbmcgotham
  NZ DVB-T channels missing Armsp0 5 670 2022-02-08, 02:10 AM
Last Post: Armsp0
  Start recording again after failure? cords911 3 522 2021-10-07, 01:37 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode