NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 36 37 38 39 40 … 47 Next »
Error - root element is missing

 
  • 0 Vote(s) - 0 Average
Error - root element is missing
phuturetech
Offline

Junior Member

Posts: 42
Threads: 8
Joined: May 2004
#1
2007-05-24, 09:48 PM
my EWA stopped working a couple of weeks ago with the error below. Since then I've tried updating (to v60 and v61), installing the default EWA and repair installing gbpvr without any luck.

Does anyone have any ideas?

Server Error in '/gbpvr' 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 485:
Line 486: if (File.Exists(GetWebConfigFileName()))
Line 487: configWeb.Load(GetWebConfigFileName());
Line 488:
Line 489: globalSettings = new HybridDictionary();


Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs Line: 487

Stack Trace:

[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1166
System.Xml.XmlTextReaderImpl.Read() +42
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +256
System.Xml.XmlDocument.Load(XmlReader reader) +97
System.Xml.XmlDocument.Load(String filename) +164
gbweb.Settings.LoadFromFile(Boolean reload) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:487
gbweb.Settings.GetSetting(Object moduleObject, String settingName) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:431
gbweb.Settings.Load() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:145
gbweb.Settings..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:137
gbweb.Global..cctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:39

[TypeInitializationException: The type initializer for 'gbweb.Global' threw an exception.]
gbweb.Global..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:32
ASP.global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbpvr\4d107d39\801bf7b5\App_global.asax.40vetaet.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, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +181
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +331
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#2
2007-05-24, 10:13 PM
sounds like your config.xml is corrupt...
Does gbpvr and/or the config app still load correctly?
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#3
2007-05-24, 10:14 PM
sorry, i should read before i post...
i think it's looking for web.config...possibly that has been corrupted somehow?
possibly try reinstalling the enhanced web admin?
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2007-05-25, 02:24 AM
Seems like a corrupt config-web.xml file which is located in the gbpvr directory....not the web directory. You can delete it and then access EWA and it should recreate it for you. You will loose all your stored settings but you should get a clean config file......
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with Web Admin? jksmurf 0 2,323 2019-06-20, 10:34 AM
Last Post: jksmurf
  Episode search missing in 4.2.4 UncT 4 3,094 2019-03-08, 06:08 PM
Last Post: UncT
  All content missing on external network lazereagle 3 3,171 2018-03-21, 05:40 PM
Last Post: mvallevand
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,385 2017-12-03, 12:48 AM
Last Post: snagglewest
  Server Error in '/' Application smajor 19 16,824 2017-10-27, 12:57 PM
Last Post: mvallevand
  Error when trying to stream from NEWA on PC jksmurf 2 2,791 2017-02-27, 05:12 AM
Last Post: jksmurf
  Server Error in '/' Application [streaming failure] oldman 3 3,030 2017-02-04, 12:48 AM
Last Post: UncleJohnsBand
  Server Error when settign a manual recording in NEWA martinu 2 2,329 2017-01-23, 01:30 AM
Last Post: UncleJohnsBand
  Internal Server Error SilverTiger 5 3,187 2016-07-24, 04:03 PM
Last Post: UncleJohnsBand
  "Record selected" returns error web page ... softfoot 5 3,734 2016-03-26, 01:37 PM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode