NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 45 46 47 48 49 … 93 Next »
Enhanced Web Admin

Thread Closed 
 
  • 0 Vote(s) - 0 Average
Enhanced Web Admin
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#61
2005-03-15, 02:11 AM
I have a web server set up and I'd like to get the enhanced gb web pages to run on that instead of on the PVR box. I figure I can map network drives etc. to the PVR from the web server so that it can access whatever it needs to on the pvr side.

I haven't taken the time to look through the code yet, but how much work do you guys think it would be to change the enhanced web to run from a different machine? Is it just a couple of path variables or would it be really involved?
1
2
3
4
5
6
7
8
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#62
2005-03-15, 07:41 AM
superdad: the web frontend uses several of the gb-pvr libraries. They expect the install location of gb-pvr to be in the registry (Local_Machine\gbpvr). If you copy that key across from the machine where you installed gb-pvr and alter it to the correct network location it should work. Then just copy the whole web folder to the web server you want to use.
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#63
2005-03-15, 10:43 PM
Normanr: Thanks! I'll take a look through the regitry and grab the gbpvr keys and give it a go. If I can make it work maybe I can automate it for other people to use.

Edit:

I made the registry entry, changed it to point to the gbpvr machine
[HKEY_LOCAL_MACHINE\SOFTWARE\Devnz]
"GBPVR InstallDir"="\\\\pvr\\gbpvr\\"

the \gbpvr share is the gbpvr directory with full read/write

I copied over the \web folder to my web server and configured the webserver software.

When I try to go to the site I get an error that NativeUtilities cannot be loaded.

I checked the /bin folder and it has the nativeutilities.dll file in there.

Here's the full error:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
Server Error in '/gbpvr' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: File or assembly name NativeUtilities, or one of its dependencies, was not found.

Source Error:


Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

Assembly Load Trace: The following information can be helpful to determine why the assembly 'NativeUtilities' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = NativeUtilities
(Partial)
LOG: Appbase = file:///D:/gbpvr/Web
LOG: Initial PrivatePath = bin
Calling assembly : System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NativeUtilities
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/gbpvr/c1a241f8/416ffc58/NativeUtilities.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/gbpvr/c1a241f8/416ffc58/NativeUtilities/NativeUtilities.DLL.
LOG: Attempting download of new URL file:///D:/gbpvr/Web/bin/NativeUtilities.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NativeUtilities, Version=1.0.1870.28642, Culture=neutral, PublicKeyToken=null




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
[/QUOTE]

I tried using gacutil to install nativeutilities.dll into the GAC, but I got no love, it said that it can't install it without a strong name.

I'll have to keep trying.



1
2
3
4
5
6
7
8
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#64
2005-03-16, 08:38 AM
I would just triple check, and delete all the .dll's (except the gbweb.dll and gbweb.pdb) from the web\bin folder, and recopy most of the dll's from the gbpvr folder to the web\bin folder. (At one point in the time dll's didn't match correctly and hence stuff failed)
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#65
2005-03-16, 11:22 PM
I did that and got the same thing. I looked inside that .pdb file (with note pad) and it looks like it's all hard coded with c:\program files\devnz\gbpvr\filename.dll

What is that pdb file, and is there any ways I can make one that has relative paths instead of hard coded paths?
1
2
3
4
5
6
7
8
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#66
2005-03-16, 11:27 PM
The .pdb file is only for the paths the get displayed when an error occurs. The paths are always relative to where the code was compiled, and has nothing to do with where the program is installed.

I suspect here that NativeUtilites it trying to load something up which is not installed... sub, any comment?

If I get time *ha ha* I will try this same thing this weekend and let you know.
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#67
2005-03-17, 01:28 AM
Ok, thanks for helping out a newbie like me as much as you have. I've done quite a bit of C# development, but never any asp.net, I've obviously got some learning to do. [Image: smile.gif]
I'll take a look around for some sort of .Net Dependancy viewer.

I looked at the source for that page and found these comments:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
[FileNotFoundException]: File or assembly name NativeUtilities, or one of its dependencies, was not found.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark&amp; stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark&amp; stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable original)
[ConfigurationException]: File or assembly name NativeUtilities, or one of its dependencies, was not found. (c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config line 258)
at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable original)
at System.Web.UI.TemplateParser.AppendConfigAssemblies()
at System.Web.UI.TemplateParser.PrepareParse()
at System.Web.UI.TemplateParser.Parse()
at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser&amp; parser)
at System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
at System.Web.HttpApplicationFactory.Init(HttpContext context)
at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
[/QUOTE]



1
2
3
4
5
6
7
8
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#68
2005-03-24, 06:45 PM
I was looking here again - renewing my subscriptions because of the new forums, and I can only think of suggesting that you copy the nativeutilites.dll from the gb-pvr folder (not the web/bin folder) on the pc which has gbpvr installed to the web/bin folder on the machine hosting the website. I'll try and remember to check this out this weekend :-)
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#69
2005-03-26, 07:19 PM
here's build 10: gbweb-with-search.v10.zip

the only change being that the popup window is slightly bigger
numatrix
Offline

Junior Member

Posts: 37
Threads: 4
Joined: Feb 2005
#70
2005-03-27, 01:59 AM
Thanks for the work, I really like the updated interface.

Secondly, couple of suggestions that should be relatively easy to implement:

1) Direct download link? Allow a direct link to download the .mpeg of the file; quite useful for downloading from another machine on my home network.
2) Channel Listing - It would be convienant to be be able to select a single channel and have a 'daily' or 'weekly' listing of all the shows on just that channel (for example, for queueing up movies from all-movie channels).
« Next Oldest | Next Newest »

Users browsing this thread: 5 Guest(s)

Pages (161): « Previous 1 … 5 6 7 8 9 … 161 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  SQLite GUI-based admin & query building? Braklet 3 1,949 2006-10-30, 02:45 PM
Last Post: Braklet
  Recordings made via the Web Admin interface are at the wrong resolution! mmatheny 9 3,067 2006-08-04, 06:34 PM
Last Post: HtV
  Enhanced Web Admin Hobson 3 2,373 2006-06-09, 07:47 AM
Last Post: Hobson
  Enhanced Web Admin (Time Slice error?) SFX Group 2 1,818 2006-02-04, 08:10 PM
Last Post: normanr
  Web Admin suggested feature babybob 0 1,150 2006-01-31, 10:12 PM
Last Post: babybob
  Enhanced Web Admin Request psycik 1 1,328 2005-10-10, 08:16 PM
Last Post: UncleJohnsBand
  reoccuring + web admin aegisx 0 1,167 2005-01-25, 10:57 PM
Last Post: aegisx
  GBPVR Web Admin KingArgyle 8 4,072 2004-12-15, 03:01 AM
Last Post: KingArgyle

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

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

Linear Mode
Threaded Mode