2007-08-11, 04:35 AM
Firstly I apologise up front for being so lengthly - it helps if you have all the info to start with
I'm having an interesting problem with EWA in an environment that seems to be a little different from most I've read about. The difference here is that I have a Windows 2003 Server running Active Directory for a Windows Domain. This Domain controller is also my file server. ALL my files are stored on this server as I have bucket loads of space available here.
I have a two other machines on the LAN that are members of the Domain.
System1 - Windows XP with Media Player and codecs installed.
System2 - Windows Vista with my Haupagge PVR500 and GBPVR installed.
When GBPVR records tv it records directly to a specific share on my file server. I had to make sure that the share had been setup with the correct permissions, so that the service that GBPVR runs under, could write files to the share - and this works perfectly! My other PC's and media players can access this share and play the content as one would expect.
The Problem:
When GBPVR runs under the "local system" account EWA works fine from both local access i.e. http://localhost:7647/gbpvr/guide.aspx and from the other machines on the LAN using http://system2:7647/gbpvr/guide.aspx BUT the share on the server dosn't understand the context of "local system" coming in from the network and thus the files are not saved to the directory. In fact GBPVR thinks it's recording - but it can't write the files to the share.
However - when I use a specific service account (which is a domain account with 'log on as a service' rights assigned to it, AND is part of the Domain Admins Group which means it is also a Local Admin) - GBPVR CAN write to the server share - BUT the EWA does not work. And from what I can tell it's not even starting. A netstat -b shows no port listening on 7647 where-as using 'local system', port 7647 is listed as listening by GBPVRRecordingService.exe
When comparing the logs in the gbpvr\logs directory the following error occurrs when using the Domain account to start the service:
ERROR [4] Error starting webserver: Could not load file or assembly 'GBPVRRecordingService, Version=1.0.2743.31033, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
The closest thread I've found on the forum is this http://forums.nextpvr.com/showthread.php?t=27117
I'm assuming that "anonim" has a Windows "Workgroup" as the fix was to create a username with the same password on both computers (which you can't do in a Domain - a domain account does this automatically) and the thread also suggests it is standard to use local system - this doesn't work - no rights to the network share
In a nut shell....
It seems that a Domain Account (even though it is a Local Admin and can log in as a service) can start the RecordingService service but can't start the actual web server because it can't find a specified file - yet when logged on as the domain account I can see and access all the files in the GBPVR directory....
Random thoughts...
1) Maybe a file in a directory other than the GBPVR dir is required - is anything installed in the Windows directories that is needed to start the EWA?
2) Perhaps I try installing Vista's IIS server but this looks tricky in itself...
TIA
I'm having an interesting problem with EWA in an environment that seems to be a little different from most I've read about. The difference here is that I have a Windows 2003 Server running Active Directory for a Windows Domain. This Domain controller is also my file server. ALL my files are stored on this server as I have bucket loads of space available here.
I have a two other machines on the LAN that are members of the Domain.
System1 - Windows XP with Media Player and codecs installed.
System2 - Windows Vista with my Haupagge PVR500 and GBPVR installed.
When GBPVR records tv it records directly to a specific share on my file server. I had to make sure that the share had been setup with the correct permissions, so that the service that GBPVR runs under, could write files to the share - and this works perfectly! My other PC's and media players can access this share and play the content as one would expect.
The Problem:
When GBPVR runs under the "local system" account EWA works fine from both local access i.e. http://localhost:7647/gbpvr/guide.aspx and from the other machines on the LAN using http://system2:7647/gbpvr/guide.aspx BUT the share on the server dosn't understand the context of "local system" coming in from the network and thus the files are not saved to the directory. In fact GBPVR thinks it's recording - but it can't write the files to the share.
However - when I use a specific service account (which is a domain account with 'log on as a service' rights assigned to it, AND is part of the Domain Admins Group which means it is also a Local Admin) - GBPVR CAN write to the server share - BUT the EWA does not work. And from what I can tell it's not even starting. A netstat -b shows no port listening on 7647 where-as using 'local system', port 7647 is listed as listening by GBPVRRecordingService.exe
When comparing the logs in the gbpvr\logs directory the following error occurrs when using the Domain account to start the service:
ERROR [4] Error starting webserver: Could not load file or assembly 'GBPVRRecordingService, Version=1.0.2743.31033, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
The closest thread I've found on the forum is this http://forums.nextpvr.com/showthread.php?t=27117
I'm assuming that "anonim" has a Windows "Workgroup" as the fix was to create a username with the same password on both computers (which you can't do in a Domain - a domain account does this automatically) and the thread also suggests it is standard to use local system - this doesn't work - no rights to the network share
In a nut shell....
It seems that a Domain Account (even though it is a Local Admin and can log in as a service) can start the RecordingService service but can't start the actual web server because it can't find a specified file - yet when logged on as the domain account I can see and access all the files in the GBPVR directory....
Random thoughts...
1) Maybe a file in a directory other than the GBPVR dir is required - is anything installed in the Windows directories that is needed to start the EWA?
2) Perhaps I try installing Vista's IIS server but this looks tricky in itself...
TIA