NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 … 4 5 6 7 8 … 13 Next »
3.9.2 Web server not starting

 
  • 0 Vote(s) - 0 Average
3.9.2 Web server not starting
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#1
2016-11-22, 08:20 PM
I just updated NPVR to 3.9.2 and X-Newa alpha 8 would no longer connect to NPVR. I updated to beta 1 and it still won't connect. Has something changed?
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#2
2016-11-22, 08:22 PM
cncb Wrote:I just updated NPVR to 3.9.2 and X-Newa alpha 8 would no longer connect to NPVR. I updated to beta 1 and it still won't connect. Has something changed?

Check that the web server is running and if it not check this thread http://forums.nextpvr.com/showthread.php...r-in-3-9-2

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#3
2016-11-22, 09:09 PM
The web server does not appear to be running but I don't get any detailed error reporting (just a generic runtime error) and I don't appear to have that NativeServiceController.cs file anywhere.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#4
2016-11-22, 09:13 PM
Check the Windows Eventviewer.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#5
2016-11-22, 09:20 PM
What should I look for in the Event Viewer? I also tried the new "nrecord" from the other thread about Web Admin login failure but it didn't help.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#6
2016-11-22, 09:24 PM
Recent ASP.net errors or warnings in the Windows Logs-> Applications

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#7
2016-11-22, 09:35 PM
Code:
HttpCompileException
t:\Data\NPVR\web\App_Code\Classes\VerifyInernalNetworkJSON.cs(129): error CS1061: 'N_EWA.classes.Settings' does not contain a definition for 'GetIP4Address' and no extension method 'GetIP4Address' accepting a first argument of type 'N_EWA.classes.Settings' could be found (are you missing a using directive or an assembly reference?)
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
   at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
   at System.Web.Compilation.BuildManager.CompileCodeDirectories()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)


http://[::ffff:192.168.1.2]:8866/modern/index.html
/modern/index.html
::ffff:192.168.1.43
False
BASE\Admin
8
BASE\Admin
False
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
   at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
   at System.Web.Compilation.BuildManager.CompileCodeDirectories()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Compilation.BuildManager.CallAppInitializeMethod()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#8
2016-11-22, 09:44 PM
I get this detail in the browser on the server:

Code:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'N_EWA.classes.Settings' does not contain a definition for 'GetIP4Address' and no extension method 'GetIP4Address' accepting a first argument of type 'N_EWA.classes.Settings' could be found (are you missing a using directive or an assembly reference?)

Source Error:



Line 127:                Logger.Info("IP V6 Detected on Server ");
Line 128:                Logger.Info("IP6 Address: " + address);
Line 129:                if (Global.Settings.autologinNets.CheckNumber(Global.Settings.GetIP4Address()))
Line 130:                {
Line 131:                    IsInternalnetwork = true;

Source File: t:\Data\NPVR\web\App_Code\Classes\VerifyInernalNetworkJSON.cs ** Line: 129
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,979
Threads: 956
Joined: May 2006
#9
2016-11-22, 09:49 PM
Ah that will do it, sub only deleted the obsolete file VerifyInernalNetworkJSON.cs from a hard-coded folder not using the registry or API Delete it and restart the service.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#10
2016-11-22, 10:08 PM
Thanks - all is working now.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  knewc Timeout Starting Recording Playback BrettB 1 1,681 2021-10-21, 03:02 PM
Last Post: mvallevand
  knewc problems with new server patch BrettB 7 3,696 2021-01-07, 02:45 PM
Last Post: BrettB
  No Connection to Server jcole998 1 1,368 2019-12-21, 06:31 PM
Last Post: mvallevand
  New ODroid N2 - Can't connect to server baj1 10 3,916 2019-12-03, 11:37 PM
Last Post: baj1
  X-NEWA support for selecting server BrettB 1 2,047 2018-12-28, 09:25 PM
Last Post: mvallevand
  XNEWA unable to connect to server every 24 hrs Twisel 20 9,485 2015-11-06, 03:03 PM
Last Post: Twisel
  Server Sleeps when in use! jcjefferies 3 3,110 2015-10-18, 06:01 PM
Last Post: mvallevand
  Close X-NEWA (webclient) when server goes to sleep Sheik Yerbouti 21 8,285 2015-01-11, 05:34 PM
Last Post: mvallevand
  Server ip addresskeeps reseting when i close ejezuba1 2 2,162 2013-06-15, 03:23 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