TV Server Config Bug (3 Viewers)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    thecubist

    you error log is HUGE.

    Code:
    2009-05-18 20:35:55.031250 [6]: Exception   :System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
       bei TvLibrary.Implementations.DVB.ConditionalAccess.AddSubChannel(Int32 id, IChannel channel)
       bei TvLibrary.Implementations.DVB.TvDvbChannel..ctor(IFilterGraph2 graphBuilder, ConditionalAccess ca, MDPlugs mdplugs, IBaseFilter tif, IBaseFilter tsWriter, Int32 subChannelId, IChannel channel)
       bei TvLibrary.Implementations.DVB.TvCardDvbBase.GetNewSubChannel(IChannel channel)
       bei TvLibrary.Implementations.DVB.TvCardDvbSS2.Tune(Int32 subChannelId, IChannel channel)
       bei TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)
    
    2009-05-18 20:35:55.578125 [6]: Exception   :System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    MDAPI? :p

    Code:
    2009-05-18 20:38:13.343750 [TVService]: Exception   :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=stephcube\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       bei Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
       bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
       bei TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
       bei TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
       bei TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    Could not reach DB ?

    2009-05-18 21:37:30.343750 [SetupTv]: Exception :Error: UnexpectedRowCountUnclassified
    Gentle.Common.GentleException: The number of returned rows 0 did not match the expected count of 1.
    If concurrency control is enabled this may indicate that the record was updated or deleted by another process.
    bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
    bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
    bei Gentle.Common.Check.Verify(Boolean condition, Error error, Object[] args)
    bei Gentle.Framework.ObjectFactory.GetInstance(Type type, SqlResult sr, Key key)
    bei Gentle.Framework.PersistenceBroker.RetrieveInstance(Type type, Key key, IDbConnection conn, IDbTransaction tr)
    bei Gentle.Framework.PersistenceBroker.RetrieveInstance[T](Key key)
    bei Gentle.Framework.Broker.RetrieveInstance[T](Key key)
    bei TvDatabase.Channel.Retrieve(Int32 id)
    bei TvDatabase.GroupMap.ReferencedChannel()
    bei SetupTv.Sections.TvGroups.mpComboBoxGroup_SelectedIndexChanged(Object sender, EventArgs e)
    bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
    bei System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    bei SetupTv.Sections.TvGroups.InitMapping()
    bei SetupTv.Sections.TvGroups.OnSectionActivated()
    bei SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)
    Do you even have a single TV-Group ?
    Did you ever start MP and entered MyTv to tune a channel? <- if not, do that and then go to TV-Server configuration/TVGroups again
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    Sorry for the HUGE error log, I would love to have a smaller one also ;-)
    Don't know, what the MDAPI is ... what can I do with or against it?

    Could not reach db: yes, this was probably the only thing in the log, I could understand. On the other hand, I don't understand where it comes from. TV-Channels are listed if I open the TV Epg grabber tab for example. Database access must be ok?

    And yes, I started MP several times, there is the all channels group and one I made, the first and last time I could access the TV groups tab ...

    One more thing: when trying to scan for channels right after installing MP, no channels were found. After some restarts and other unknown actions the scanning worked.

    Any more ideas?

    Thanks for helping,

    thecubist
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Sorry for the HUGE error log, I would love to have a smaller one also ;-)
    Don't know, what the MDAPI is ... what can I do with or against it?
    uhm......
    MD*** = "watching PayTV without smartcard"
    you did not install that illegal stuff?
    then i wonder where all the logging is coming from :confused:


    One more thing: when trying to scan for channels right after installing MP, no channels were found. After some restarts and other unknown actions the scanning worked.
    When i read this and look at the error.log, then i am very sure that you have a complettely broken installation.
    But "why", i sadly have no clue about. :(
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    Sorry for the HUGE error log, I would love to have a smaller one also ;-)
    Don't know, what the MDAPI is ... what can I do with or against it?
    uhm......
    MD*** = "watching PayTV without smartcard"
    you did not install that illegal stuff?
    then i wonder where all the logging is coming from :confused:
    No, no illegal stuff at all. It's just a really fresh Windows, drivers and MP. OK, I installed DVBviewer from TechniSat to check tv, but as far as I know, it is legal (since delivered with the SkyStar2 TV-Card)
    First step after scanning is to delete scrambled channels ...

    One more thing: when trying to scan for channels right after installing MP, no channels were found. After some restarts and other unknown actions the scanning worked.
    When i read this and look at the error.log, then i am very sure that you have a complettely broken installation.
    But "why", i sadly have no clue about. :(
    This does not sound good. I already reinstalled MP, so, do I have to reinstall Windows also? This takes me another day ...

    Bye the way: tried deletion of the TVDB as suggested by Paranoid Delusion. Trying to scan for channels does not work again:
    2009-05-19 09:33:52.656250 [6]: Exception :confused:ystem.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    bei TvLibrary.Implementations.DVB.ConditionalAccess.AddSubChannel(Int32 id, IChannel channel)
    bei TvLibrary.Implementations.DVB.TvDvbChannel..ctor(IFilterGraph2 graphBuilder, ConditionalAccess ca, MDPlugs mdplugs, IBaseFilter tif, IBaseFilter tsWriter, Int32 subChannelId, IChannel channel)
    bei TvLibrary.Implementations.DVB.TvCardDvbBase.GetNewSubChannel(IChannel channel)
    bei TvLibrary.Implementations.DVB.TvCardDvbSS2.Tune(Int32 subChannelId, IChannel channel)
    bei TvLibrary.Implementations.DVB.DvbBaseScanning.Scan(IChannel channel, ScanParameters settings)
    bei TvService.ChannelScanning.Scan(IChannel channel, ScanParameters settings)

    Is this helpful?
    Bye,
    thecubist
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    the error you just posted is the same as i did before. ;)

    there is definitly something going wrong on your system, but i have no idea what that could be.

    just one idea regarding the scan issue:
    1. uninstall the Skystar2 completelly
    2. download latest drivers from techinsat homepage
    3. manually install the BDA drivers from technisat by pointing windows to the directory of the drivers you downloaded. DO NOT RUN THE DRIVER INSTALLER!

    i am using the Skystar2 here as well with the BDA drivers from technisat. no issues at all.
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    the error you just posted is the same as i did before. ;)
    Ah, ok ... I posted it, because it was the last error when scanning channels did not work ...

    there is definitly something going wrong on your system, but i have no idea what that could be.
    just one idea regarding the scan issue:
    1. uninstall the Skystar2 completelly
    2. download latest drivers from techinsat homepage
    3. manually install the BDA drivers from technisat by pointing windows to the directory of the drivers you downloaded. DO NOT RUN THE DRIVER INSTALLER!
    i am using the Skystar2 here as well with the BDA drivers from technisat. no issues at all.
    ok I will try all this ... just completely removed MP, to go on with smaller logs ...
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    there is definitly something going wrong on your system, but i have no idea what that could be.
    just one idea regarding the scan issue:
    1. uninstall the Skystar2 completelly
    2. download latest drivers from techinsat homepage
    3. manually install the BDA drivers from technisat by pointing windows to the directory of the drivers you downloaded. DO NOT RUN THE DRIVER INSTALLER!
    i am using the Skystar2 here as well with the BDA drivers from technisat. no issues at all.
    ok I will try all this ... just completely removed MP, to go on with smaller logs ...[/QUOTE]
    Actually the logs are big, because your installation has many issues to log.

    If you do a uninstall of MediaPOrtal make sure that you choose the 3rd option -> "complete products cleanup".
    And then reboot. :)
    Running windowsupdate as many times until nomore updates are available would be a good idea as well + installing latest drivers for all your hardware.
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    YIPPIYAYEAH ;-)

    Don't know why and how, but ...
    1) uninstalled the skystar2 (which was listed in the windows device manager as network adapter) and all the technisat software
    2) reinstalled only the bda-driver of the tv-card
    3) reinstalled mp (selecting do NOT need hdtv-support this time)
    4) scanning for channels worked
    5) tv groups tab works!
    6) still works after starting, closing, rebooting ... I hope, it will decide to keep working ...

    Interested in logs?
    :D thecubist
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    thecubist
    so my guess seems to have been correct.
    it is possible that this odd "setup4pc" application from technisat, which constantly runs in the background when using WDM drivers, causes some conflicts.
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    it is possible that this odd "setup4pc" application from technisat, which constantly runs in the background when using WDM drivers, causes some conflicts.
    I removed "setup4pc"from the autostart in the old setup, but who knows, if it or something else wasn't running anyways ...

    Thanks again!
    thecubist
     

    Users who are viewing this thread

    Top Bottom