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 2 3 4 5 6 … 47 Next »
Server Error when trying to schedule with NEWA in 336?

 
  • 0 Vote(s) - 0 Average
Server Error when trying to schedule with NEWA in 336?
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#1
2015-12-09, 03:59 PM
Hi UJB

As title, I get a crash with this error when trying to schedule with NEWA in 336?

Cheers

k.

Code:
[COLOR=#000000][FONT=Verdana][h=1]Server Error in '/' Application.[/h][h=1][/h][h=1][HR][/h][h=2][I]Object reference not set to an instance of an object.[/I][/h][/FONT][/COLOR][FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif][COLOR=#000000][B]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.

[B]Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

[B]Source Error:

[TABLE="width: 100%"]
[TR]
[TD]Line 493:            RecordingQuality quality = RecordingQuality.QUALITY_DEFAULT;
Line 494:
[COLOR=red]Line 495:            switch (Request.Params["_ctl0:ContentPlaceHolder1:quality"].ToLower())
[/COLOR]Line 496:            {
Line 497:                case "best":[/TD]
[/TR]
[/TABLE]

[B]Source File: c:\Users\Public\NPVR\web\SearchResults.aspx.cs[B]    Line: 495

[B]Stack Trace:

[TABLE="width: 100%"]
[TR]
[TD][NullReferenceException: Object reference not set to an instance of an object.]
   N_EWA.SearchResults.hlRecord_Click(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\SearchResults.aspx.cs:495
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +91
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +91
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +169
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3345[/TD]
[/TR]
[/TABLE]
[/B][/B][/B][/B][/B][/B][/COLOR][/FONT]
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#2
2015-12-09, 04:03 PM
Code:
Server Error in '/' Application.

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>
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2015-12-10, 01:38 PM (This post was last modified: 2015-12-11, 05:31 PM by UncleJohnsBand.)
This should fix it.... stop the service....unzip to your npvr directory..... two files are in there that go into web\
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
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#4
2015-12-10, 02:14 PM
Cheers UJB that does fix the old error; unfortunately it seems to have introduced a new error?

Code:
[COLOR=#ff0000]Server Error in '/' Application.[/COLOR]

Compilation Error

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: CS0103: The name 'quality' does not exist in the current context

Source Error:


Line 516:                            }
Line 517:
[COLOR=#ff0000]Line 518:                            bool scheduleReturn = myschedule.ScheduleOnce(epgevent, prePad, postPad, quality, getSelectedRecordingDirectory());[/COLOR]
Line 519:                            Channel chnl = Channel.LoadByOID(epgevent.ChannelOID);
Line 520:                            Recordings.Items.Add(epgevent.OID.ToString() + "@" + chnl.Name + " " + epgevent.Title.ToString() + " " + epgevent.StartTime.ToLocalTime().ToLongDateString() + " " + epgevent.StartTime.ToLocalTime().ToShortTimeString() + " - " + epgevent.EndTime.ToLocalTime().ToShortTimeString());

Source File: c:\Users\Public\NPVR\web\SearchResults.aspx.cs    Line: 518


Show Detailed Compiler Output:

Show Complete Compilation Source:

Much appreciated, as always.

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#5
2015-12-11, 05:31 PM
Lets try again.... :-)
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
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#6
2015-12-12, 12:34 AM
Awesome; Works!
Thanks UJB.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,653 2020-05-02, 01:02 AM
Last Post: cweseloh
  Error with Web Admin? jksmurf 0 2,316 2019-06-20, 10:34 AM
Last Post: jksmurf
  gbpvr.com still somewhere in the NEWA code? jksmurf 0 2,046 2019-02-26, 01:29 AM
Last Post: jksmurf
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,009 2018-07-11, 12:12 AM
Last Post: snagglewest
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,091 2018-07-03, 03:26 AM
Last Post: jksmurf
  Newa snaitaz 8 4,662 2018-05-17, 09:30 PM
Last Post: sub
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,521 2018-05-09, 12:50 AM
Last Post: jksmurf
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,383 2017-12-03, 12:48 AM
Last Post: snagglewest
  Server Error in '/' Application smajor 19 16,817 2017-10-27, 12:57 PM
Last Post: mvallevand
  Difference between NPVR and NEWA recordings lists Bobins 4 5,066 2017-09-27, 10:16 PM
Last Post: Bobins

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

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

Linear Mode
Threaded Mode