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 … 249 250 251 252 253 … 433 Next »
Sudden Probem with accessing via Lan.

Sudden Probem with accessing via Lan.
rbmcgee
Offline

Member

Posts: 101
Threads: 24
Joined: Sep 2006
#1
2013-07-29, 11:37 PM
Hi all,

I've always been able to access NPVR (on the server) via firefox at http://192.168.1.204:8866/Guide2.aspx.

Suddenly I'm faced with the following error:

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 528:
Line 529: if (File.Exists(GetWebConfigFileName()))
Line 530: configWeb.Load(GetWebConfigFileName());
Line 531:
Line 532: globalSettings = new HybridDictionary();


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

Stack Trace:


[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +2681
System.Xml.XmlTextReaderImpl.Read() +65
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +155
System.Xml.XmlDocument.Load(XmlReader reader) +109
System.Xml.XmlDocument.Load(String filename) +93
N_EWA.classes.Settings.LoadFromFile(Boolean reload) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:530
N_EWA.classes.Settings.GetSetting(Object moduleObject, String settingName) in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:474
N_EWA.classes.Settings.Load() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:160
N_EWA.classes.Settings..ctor() in c:\Users\Public\NPVR\web\App_Code\Classes\Settings.cs:152
N_EWA.Global..cctor() in c:\Users\Public\NPVR\web\App_Code\Global.cs:56

[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:49
ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0a635572\38fd2de4\App_global.asax.evzkg3ew.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) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +197
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context) +31
System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context) +134
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +290

I can access the server just fine and everything else on the server (and on the client) are working fine.

Can someone give me some advice?
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#2
2013-07-29, 11:51 PM
Can you access the web server directly on the server? Ie http://127.0.0.1:8866/Guide2.aspx from Firefox (or IE) on the server.

It might also help if you zip and post the Logs folder after a failed attempt.

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

Member

Posts: 101
Threads: 24
Joined: Sep 2006
#3
2013-07-30, 12:36 AM
Hi,

The error posted above was actually from the server. Here is the error from a machine other than the server:

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

I will post the web.log in a sec.
rbmcgee
Offline

Member

Posts: 101
Threads: 24
Joined: Sep 2006
#4
2013-07-30, 12:49 AM
Here is the web.log
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,956
Threads: 956
Joined: May 2006
#5
2013-07-30, 12:54 AM
Can you also compress and upload config-web.lxml from the DataDirectory?

Martin
rbmcgee
Offline

Member

Posts: 101
Threads: 24
Joined: Sep 2006
#6
2013-07-30, 12:59 AM
Here is the config.web.xml
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,956
Threads: 956
Joined: May 2006
#7
2013-07-30, 01:09 AM
It is corrupt, do you have a back-up?

Martin
rbmcgee
Offline

Member

Posts: 101
Threads: 24
Joined: Sep 2006
#8
2013-07-30, 01:22 AM
Thanks a lot Martin. I dug an old version of config.web.xml out from a prior image file, copied it over on top of the existing file, rebooted the pc and all seems good.

Once again, thanx.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Sudden loss of one channel Reddwarf 6 1,925 2018-12-15, 12:08 AM
Last Post: Reddwarf
  Accessing Groups freezes NPVR in new version bicbasher 11 2,917 2018-03-04, 01:01 PM
Last Post: bicbasher
  Nextpvr keeps putting win 10 PC to sleep when accessing recordings over LAN eastavin 10 2,981 2016-11-11, 05:11 PM
Last Post: tinstaafl
  Need help debugging sudden decode failure RWinks 2 1,034 2016-07-26, 11:29 PM
Last Post: RWinks
  All of the sudden black screen in NPVR....No video in Live TV steelfanatic 12 4,507 2015-10-22, 04:25 AM
Last Post: steelfanatic
  Accessing Patches for NPVR 3.3.8 smacrae 6 2,369 2015-04-06, 04:53 AM
Last Post: johnsonx42
  Problem Accessing Composite on Device tony95 7 2,516 2014-07-21, 12:28 PM
Last Post: tony95
  Sudden problem recording ... softfoot 10 2,858 2014-01-18, 09:51 PM
Last Post: softfoot
  Windows 7 x64 computer hangs with ver. 2.6.2 when accessing users\public\npvr folder TVHelp 9 2,901 2013-04-26, 10:56 PM
Last Post: TVHelp
  Exception accessing DVD subtitles imilne 2 1,402 2012-02-01, 08:08 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode