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 … 47 Next »
Server Error in '/' Application

 
  • 0 Vote(s) - 0 Average
Server Error in '/' Application
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#11
2011-09-23, 11:00 PM
OK, I renamed config-web.xml (not called web-config.xml), stopped and started NPVR, logged in and it recreated the file.
All seems OK for now, need to check remotely, but I did notice when I tried to "Search Now" from config, I got this error.

Code:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Specified cast is not valid.
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.InvalidCastException: Specified cast is not valid.

Source Error:


Line 834:                foreach (EPGEvent epgevent in epgeventArray)
Line 835:                {
Line 836:                    foreach (DayOfWeek day in selectedDays)
Line 837:                    {
Line 838:                         if (epgevent.StartTime.ToLocalTime().DayOfWeek == day)


Source File: c:\Users\Public\NPVR\Web\App_Code\Classes\SearchEngine.cs    Line: 836

Stack Trace:


[InvalidCastException: Specified cast is not valid.]
   N_EWA.classes.SearchEngine.filterSearchResults(Int32 minLength, Int32 maxLength, ArrayList selectedDays) in c:\Users\Public\NPVR\Web\App_Code\Classes\SearchEngine.cs:836
   N_EWA.classes.SearchEngine.SelectEPGEvents(Array channels, Array selectedGenre, Boolean checkTitle, Boolean checkDesc, Boolean checkSubtitle, Boolean matchTitle, Boolean matchDesc, Boolean matchSubtitle, Boolean startTitle, Boolean startDesc, Boolean startSubtitle, Boolean matchUniqueID, String searchFor, Boolean caseSensitive, Schedule scheduleHelper, Int32 EPG_EVENTMinLength, Int32 EPG_EVENTMaxLength, ArrayList selectedDays) in c:\Users\Public\NPVR\Web\App_Code\Classes\SearchEngine.cs:518
   N_EWA.classes.SavedSearchUtils.autoSearch(ArrayList Searches) in c:\Users\Public\NPVR\Web\App_Code\Classes\SavedSearch.cs:1162
   N_EWA.Admin.forceSearch_Click(Object sender, EventArgs e) in c:\Users\Public\NPVR\Web\Admin.aspx.cs:220
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +78
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +100
   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) +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2863
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 |
Yousty
Offline

Junior Member

Posts: 11
Threads: 2
Joined: Sep 2016
#12
2017-07-12, 03:30 PM (This post was last modified: 2017-07-12, 03:54 PM by Yousty.)
smajor Wrote:Hello, I'm running NPVR on Win 7. I have never used the web admin with NPVR, although I've been using NPVR for a long time. I enabled it in the previous version of NPVR, gave myself a user/pass, but am receiving the following error. A saw a similar thread, not quite the same error.

I let it be and installed 2.2.6 and still the error remains. I downloaded it from the wiki and replaced the contents of the web directory with the download. Still the same. Any ideas?

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>

I'm getting the same error as this first post. I have tried deleting the config-web.xml in C:\Users\Public\NPVR\ and then stopping and starting npvr but it isnt fixing the problem. It also isn't recreating the file when I restart npvr. Any suggestions?


Edit: Fixed. I downloaded the latest version of npvr and reinstalled it and now it works!
qnexus
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Oct 2017
#13
2017-10-24, 01:01 PM
I've tried reinstalling NextPvR, stop and starting the service but I can't access the web interface. I've made my ip static but both localhost:8866 and IP:8866 neither work. When I do localhost:8866 on my pc hosting nextpvr I get the below error message. Any help would be greatly appreciated. Thanks!

Server Error in '/' Application.

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: 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: q:\Users\Public\NPVR\web\App_Code\Classes\VerifyInernalNetworkJSON.cs Line: 129
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,174
Threads: 958
Joined: May 2006
#14
2017-10-24, 01:22 PM
That is too old a post to be relevant. Your problem is the installer doesn't delete the file verifyinernalnetwork.cs on non standard installations.

Martin
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#15
2017-10-26, 12:19 AM
We started getting this error on clients using NEWA as well right after the Windows 10 NextPVR server received the fall creators update (1709). X-NEWA also fails to connect now as well. Has anyone else had issues with NEWA after Windows 10 received the fall creators update.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,174
Threads: 958
Joined: May 2006
#16
2017-10-26, 12:26 AM
Also not related but after a major windows update you might need to run the installer again to fix .net files for the web server.

Martin
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#17
2017-10-26, 02:39 AM
This solution got rid of "Server Error in '/' Application" following the fall creators update (1709).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,174
Threads: 958
Joined: May 2006
#18
2017-10-26, 03:52 PM
Rerunning the installer should effectively do the same thing.

Martin
qnexus
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Oct 2017
#19
2017-10-27, 12:27 PM
mvallevand Wrote:That is too old a post to be relevant. Your problem is the installer doesn't delete the file verifyinernalnetwork.cs on non standard installations.

Martin

There were posts as recent as July and its the same main error message, it would have been the same topic title I would have used so it seemed redundant.

Anyway, your suggestion worked like a charm, deleted the file and reinstalled again and now I can access.

I am curious what is classified as a non standard installation? I simply upgraded my version of NextPVR?

Thanks for your suggestion and help, much appreciated!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,174
Threads: 958
Joined: May 2006
#20
2017-10-27, 12:57 PM
qnexus Wrote:I am curious what is classified as a non standard installation?

The installer is hard-coded to delete any "bad" files from the default location of C:\Users\Public\NPVR Your folder for NextPVR is on a Q Drive.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with Web Admin? jksmurf 0 2,418 2019-06-20, 10:34 AM
Last Post: jksmurf
  Error when trying to stream from NEWA on PC jksmurf 2 2,881 2017-02-27, 05:12 AM
Last Post: jksmurf
  Server Error in '/' Application [streaming failure] oldman 3 3,137 2017-02-04, 12:48 AM
Last Post: UncleJohnsBand
  Server Error when settign a manual recording in NEWA martinu 2 2,433 2017-01-23, 01:30 AM
Last Post: UncleJohnsBand
  Internal Server Error SilverTiger 5 3,315 2016-07-24, 04:03 PM
Last Post: UncleJohnsBand
  "Record selected" returns error web page ... softfoot 5 3,867 2016-03-26, 01:37 PM
Last Post: UncleJohnsBand
  Server Error in "/" Application ? Lone_Stranger 1 2,456 2016-02-19, 02:10 AM
Last Post: UncleJohnsBand
  Server Error in '/' Application mdenecke 1 2,977 2016-01-13, 03:33 AM
Last Post: UncleJohnsBand
  Server Error when trying to schedule with NEWA in 336? jksmurf 5 3,851 2015-12-12, 12:34 AM
Last Post: jksmurf
  Mobile NEWA Error - 'RenderEpg' psycik 4 2,601 2015-09-15, 01:05 AM
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