2004-12-21, 04:35 AM
Okay KingArgyle,
I finally figured out what I was doing wrong in the MSDE install... I was including the quotes around the password as shown in the MSDE setup instructions!
Note to anyone doing install, used SAPSW=password without quotes around the password!
Here are the grants I used for all of the tables (I'm using gbpvr for the user id as suggested by KingArgyle):
GRANT SELECT, INSERT, UPDATE, DELETE ON CAPTURE_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON CHANNEL TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON CUSTOM_TASK_SETTINGS TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON DIRECT_RECORDING_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON EXE_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON GIRDER_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON GO7007SB_RECORDING_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON IR200L_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON LIVETV_FILE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON PLAYBACK_POSITION TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON PROGRAMME TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON RECORDING_SCHEDULE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON RECORD_SEASON TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON REDRAT_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON SOURCE_CHANNEL_MAPPING TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON USBUIRT_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON WINTV_CAP_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON XMLTV_EPGSOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON ZAP2IT_EPGSOURCE TO gbpvr
GO
However... Â
I use Zap2It data and at the very end of the EPG Update, I get the following error...
"Failure in ChanneFactory:toreChannels(): Specified cast is not valid."
And off course there are no channels displayed after this... Â
So KingArgyle, there must be an error in one of the Access type conversions...
I'm running GBPVR v0.23.13.
I ran your last set of scripts; I'm guessing one or the other of these tables are at fault...
CREATE TABLE [ZAP2IT_EPGSOURCE] (
[capture_source_oid] [int] NOT NULL ,
[username] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[password] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[add_offset] [int] NULL
) ON [PRIMARY]
GO
CREATE TABLE [CHANNEL] (
[oid] [int] IDENTITY (1, 1) NOT NULL ,
[name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[channelID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[channel_number] [int] NULL ,
[favourite] [bit] NOT NULL
) ON [PRIMARY]
GO
Note: there is only one row in the CHANNEL table and no rows in the ZAP2IT_EPGSOURCE
Any suggestions are welcome...
-Charles
I finally figured out what I was doing wrong in the MSDE install... I was including the quotes around the password as shown in the MSDE setup instructions!
Note to anyone doing install, used SAPSW=password without quotes around the password!
Here are the grants I used for all of the tables (I'm using gbpvr for the user id as suggested by KingArgyle):
GRANT SELECT, INSERT, UPDATE, DELETE ON CAPTURE_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON CHANNEL TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON CUSTOM_TASK_SETTINGS TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON DIRECT_RECORDING_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON EXE_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON GIRDER_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON GO7007SB_RECORDING_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON IR200L_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON LIVETV_FILE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON PLAYBACK_POSITION TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON PROGRAMME TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON RECORDING_SCHEDULE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON RECORD_SEASON TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON REDRAT_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON SOURCE_CHANNEL_MAPPING TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON USBUIRT_CHANNEL_CHANGER TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON WINTV_CAP_SOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON XMLTV_EPGSOURCE TO gbpvr
GO
GRANT SELECT, INSERT, UPDATE, DELETE ON ZAP2IT_EPGSOURCE TO gbpvr
GO
However... Â
I use Zap2It data and at the very end of the EPG Update, I get the following error...
"Failure in ChanneFactory:toreChannels(): Specified cast is not valid."
And off course there are no channels displayed after this... Â
So KingArgyle, there must be an error in one of the Access type conversions...
I'm running GBPVR v0.23.13.
I ran your last set of scripts; I'm guessing one or the other of these tables are at fault...
CREATE TABLE [ZAP2IT_EPGSOURCE] (
[capture_source_oid] [int] NOT NULL ,
[username] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[password] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[add_offset] [int] NULL
) ON [PRIMARY]
GO
CREATE TABLE [CHANNEL] (
[oid] [int] IDENTITY (1, 1) NOT NULL ,
[name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[channelID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[channel_number] [int] NULL ,
[favourite] [bit] NOT NULL
) ON [PRIMARY]
GO
Note: there is only one row in the CHANNEL table and no rows in the ZAP2IT_EPGSOURCE
Any suggestions are welcome...
-Charles