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 … 32 33 34 35 36 … 47 Next »
EWA build 66 - IIS problem

 
  • 0 Vote(s) - 0 Average
EWA build 66 - IIS problem
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#1
2007-10-20, 08:15 AM
I am using EWA trough IIS for quite some time now (after the EWA crashed my recording service a few times - WAF problem Rolleyes - I moved it to IIS to split the two).

Everything works fine in IIS except for the manage recordings tab which gives a "server error in /GBPVR". restarting, clearing cache and so on do not help. Trough the recoding service everything works just fine.

I attached the IIS log.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#2
2007-10-20, 09:50 AM
Some further searching complicates the problem. On different machines the problem is sometimes there sometimes not. There is no consistence between ie and firefox either.

Running from within IIS yields the following error page:


Server Error in '/GBPVR' Application.

Length cannot be less than zero.
Parameter name: length


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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length

Source Error:

Line 82: catchLine 83: {Line 84: url = url.Substring(0, url.IndexOf("/gbweb/"));Line 85: }Line 86:
Source File: c:\Program Files\devnz\gbpvr\web\Manage.aspx.cs Line: 84

Stack Trace:

[ArgumentOutOfRangeException: Length cannot be less than zero.Parameter name: length] System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2819889 System.String.Substring(Int32 startIndex, Int32 length) +11 gbweb.Manage.Page_Load(Object sender, EventArgs e) in c:\Program Files\devnz\gbpvr\web\Manage.aspx.cs:84 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Hope this gets us forward.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2007-10-20, 02:49 PM
Koenie Wrote:Some further searching complicates the problem. On different machines the problem is sometimes there sometimes not. There is no consistence between ie and firefox either.

Running from within IIS yields the following error page:


Server Error in '/GBPVR' Application.

Length cannot be less than zero.
Parameter name: length


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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length

Source Error:

Line 82: catchLine 83: {Line 84: url = url.Substring(0, url.IndexOf("/gbweb/"));Line 85: }Line 86:
Source File: c:\Program Files\devnz\gbpvr\web\Manage.aspx.cs Line: 84

Stack Trace:

[ArgumentOutOfRangeException: Length cannot be less than zero.Parameter name: length] System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2819889 System.String.Substring(Int32 startIndex, Int32 length) +11 gbweb.Manage.Page_Load(Object sender, EventArgs e) in c:\Program Files\devnz\gbpvr\web\Manage.aspx.cs:84 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Hope this gets us forward.

Give your IIS site name the name of gbweb. When running under the GBPVR server that name of the site is gbpvr. When I develop and debug which runs under IIS the name is gbweb. So there is some catch coding that if it does not find the name of gbpvr it defualts it to gbweb.
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
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#4
2007-10-20, 06:43 PM
Thx UncleJonhsBand that did the trick.

I think i found out that I could not rename the subdomain which I called gbpvr to gbweb but had to create a new one. Maybe a small extension to the wiki expalining IIS setup would be a good idea.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#5
2007-10-20, 10:11 PM
Koenie Wrote:Thx UncleJonhsBand that did the trick.

I think i found out that I could not rename the subdomain which I called gbpvr to gbweb but had to create a new one. Maybe a small extension to the wiki expalining IIS setup would be a good idea.

Thought about that....but there are a lot of things that can go wrong or need setup in IIS....especially when you go to IIS 7.0 and the official supported server is the gbpvr native web server....which (under the sheets) is a modifid version of Cassini that sub got to support asp.net 2.0.
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
  iNEWA Mobile Problem RTKAT 5 4,117 2016-05-13, 12:22 AM
Last Post: RTKAT
  NEWA Release Build 2.17 Released 2015-08-29 UncleJohnsBand 0 8,295 2015-08-30, 08:05 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.16 Released 2015-04-25 UncleJohnsBand 0 1,849 2015-04-25, 03:18 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.15 Released 2014-10-25 UncleJohnsBand 0 2,182 2014-10-26, 09:38 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.13 Released 2014-07-21 UncleJohnsBand 0 2,077 2014-07-21, 09:13 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.11 Released 2014-01-12 UncleJohnsBand 0 2,017 2014-01-13, 03:41 AM
Last Post: UncleJohnsBand
  NEWA Mobile problem ? vbreton 2 1,996 2014-01-12, 05:35 AM
Last Post: UncleJohnsBand
  Problem with AutoSearch when connecting into NEWA bgowland 19 5,605 2014-01-08, 10:16 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,210 2013-12-31, 02:49 AM
Last Post: UncleJohnsBand
  TV Guide, View Live doesn't work. Problem with address? WKleeven 14 4,967 2013-07-06, 03:00 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