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 … 36 37 38 39 40 … 47 Next »
EWA via IIS

 
  • 0 Vote(s) - 0 Average
EWA via IIS
skippy_nz
Offline

Senior Member

Posts: 582
Threads: 54
Joined: May 2006
#11
2006-12-21, 05:27 AM
ok did the reinstall of .NET 2.0 and that is no allowing me access to the site ok from my other computer aswell as the htpc. but say if i edit and save the config i get this error

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

Access to the path 'C:\Program Files\devnz\gbpvr\config-web.xml' is denied.
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.UnauthorizedAccessException: Access to the path 'C:\Program Files\devnz\gbpvr\config-web.xml' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:


Line 363:            }
Line 364:
Line 365:            configWeb.Save(GetWebConfigFileName());
Line 366:        }
Line 367:


Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs    Line: 365

Stack Trace:


[UnauthorizedAccessException: Access to the path 'C:\Program Files\devnz\gbpvr\config-web.xml' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014595
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   System.Xml.XmlDocument.Save(String filename) +87
   gbweb.Settings.SaveToFile() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:365
   gbweb.Settings.Save() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:196
   gbweb.Admin.hlSubmit_Click(Object sender, EventArgs e) in c:\Program Files\devnz\gbpvr\web\Admin.aspx.cs:327
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +104
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +172
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5614




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

any ideas on that one ?
i still have to check if the website works from outside my house.

thanks for all your help so far.
sixgun
Offline

Member

Posts: 197
Threads: 35
Joined: Sep 2004
#12
2006-12-21, 09:21 AM
I haven't read all the posts in this thread, so i'm not 100% up on what you're doing. But i do have some experience with ASP.NET.

It looks to me like a permissions problem. You need to give the ASPNET user account write access to the file that is being saved.
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
skippy_nz
Offline

Senior Member

Posts: 582
Threads: 54
Joined: May 2006
#13
2006-12-21, 10:37 AM
yeah you were right about the permissions - i changed them so aspnet had write access to the config-web.xml and it appears ok - again will have to test that its ok from outside my house but so far so good - i take it that aspnet would also need read access to any folders that i want to be able to view ie video library etc. ?

cheers
skip
sixgun
Offline

Member

Posts: 197
Threads: 35
Joined: Sep 2004
#14
2006-12-21, 12:07 PM
yep - basically the web server is running under that ASPNET user, to it'll need access to anything the web interface needs to read/change
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
skippy_nz
Offline

Senior Member

Posts: 582
Threads: 54
Joined: May 2006
#15
2006-12-22, 06:42 AM
sixgun Wrote:yep - basically the web server is running under that ASPNET user, to it'll need access to anything the web interface needs to read/change

finally got it sorted thanks - but just one question - is there anyway that i can stop access to photo library etc - as those are pointing to another laptop they just error out.

thanks
skip
sixgun
Offline

Member

Posts: 197
Threads: 35
Joined: Sep 2004
#16
2006-12-22, 07:32 AM
so, you want to disable photo library, but only via the web ?

i think you'd need to be able to configure the web interface to not have those options, but i don't know enough about the web interface (don't use it very often) to say if that's even possible.
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
skippy_nz
Offline

Senior Member

Posts: 582
Threads: 54
Joined: May 2006
#17
2006-12-22, 09:35 AM
sixgun Wrote:so, you want to disable photo library, but only via the web ?

i think you'd need to be able to configure the web interface to not have those options, but i don't know enough about the web interface (don't use it very often) to say if that's even possible.

yeah thats pretty much what i want to do - also do you know what other files i need to enable ASPNET access to to enable me to be able to schedule recordings via the web interface - when i try now im just getting Recording Failed messages and nothing else...

cheers
skip
sixgun
Offline

Member

Posts: 197
Threads: 35
Joined: Sep 2004
#18
2006-12-22, 09:44 AM
i'd take a guess at the database files, but i don't know for sure. Someone like sub and/or the author of the web interface would be better qualified to answer that one.

again, i'm guessing here. But if there is any kind of error logging on the web interface, i'd try turning that on. Then look at what files it's trying to write to, if it logs that information in the first place.

Can't be anymore help than that i'm afraid.
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
skippy_nz
Offline

Senior Member

Posts: 582
Threads: 54
Joined: May 2006
#19
2006-12-22, 10:00 AM (This post was last modified: 2006-12-22, 10:19 AM by skippy_nz.)
sixgun Wrote:i'd take a guess at the database files, but i don't know for sure. Someone like sub and/or the author of the web interface would be better qualified to answer that one.

again, i'm guessing here. But if there is any kind of error logging on the web interface, i'd try turning that on. Then look at what files it's trying to write to, if it logs that information in the first place.

Can't be anymore help than that i'm afraid.

i changed the rights on the DB3 file and the WEB dir but still have the same issue - i also turned on full extended logging and tried again - didnt see much in the error logs so i changed the rights on the entire GVPBR folder and now it appears to be working - so now i just need to find out how to remove the photo library and im all sorted....

thanks for your help sixgun
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#20
2006-12-22, 11:00 AM
skippy_nz Wrote:i changed the rights on the DB3 file and the WEB dir but still have the same issue - i also turned on full extended logging and tried again - didnt see much in the error logs so i changed the rights on the entire GVPBR folder and now it appears to be working - so now i just need to find out how to remove the photo library and im all sorted....

thanks for your help sixgun

Web errors are logged to the subfolder that contains the gbpvrpublic.dll file. You will need to look through the sub folders in the below directory. In that subfolder you will see the dll and a .log file.

Directory:
Code:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbpvr\4d107d39\801bf7b5\assembly\dl3
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)

Pages (4): « Previous 1 2 3 4 Next »


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

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

Linear Mode
Threaded Mode