home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Installation, configuration support
No channels: "System.NullReferenceException: Object reference not set to an instance of an object"
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="David F" data-source="post: 879437" data-attributes="member: 125510"><p>Hi,</p><p> </p><p>Many thanks for this. After making my post above, I spent quite some time analysing and retesting the installation, including multiple uninstall and re-installs, and eventually found my problem and a solution. I didn't explain initially that instead of a standard SQLEXPRESS or MySQL database, my installation is using a pre-installed SQL Server 2008 R2 database server which I also use for some other database applications on the same machine. When SetupTv.exe runs for the first time and creates and upgrades the MpTvDb database, it was throwing an error which I was ignoring, which turns out to be crucial. The DoScan() thread was then failing to insert data into the Channel table because of a 'not null' column which should not have existed.</p><p> </p><p>The fix I made is in TvEngine3\TVLibrary\SetupTv\57_upgrade_sqlserver_database.sql; Lines 21 and 24 should refer to table 'Channel', not 'channel'. I suppose that if my server collation was case-insensitive this might not matter, but by changing this alone, my installation works fine with case-sensitive collation. </p><p> </p><p>I tested this by downloading, patching and rebuilding the Release 1.2.3 source code. I don't have GIT installed. I hope the above is sufficient for you to roll this fix into the code, but let me know if I should help with a bug report or similar.</p><p> </p><p>David</p></blockquote><p></p>
[QUOTE="David F, post: 879437, member: 125510"] Hi, Many thanks for this. After making my post above, I spent quite some time analysing and retesting the installation, including multiple uninstall and re-installs, and eventually found my problem and a solution. I didn't explain initially that instead of a standard SQLEXPRESS or MySQL database, my installation is using a pre-installed SQL Server 2008 R2 database server which I also use for some other database applications on the same machine. When SetupTv.exe runs for the first time and creates and upgrades the MpTvDb database, it was throwing an error which I was ignoring, which turns out to be crucial. The DoScan() thread was then failing to insert data into the Channel table because of a 'not null' column which should not have existed. The fix I made is in TvEngine3\TVLibrary\SetupTv\57_upgrade_sqlserver_database.sql; Lines 21 and 24 should refer to table 'Channel', not 'channel'. I suppose that if my server collation was case-insensitive this might not matter, but by changing this alone, my installation works fine with case-sensitive collation. I tested this by downloading, patching and rebuilding the Release 1.2.3 source code. I don't have GIT installed. I hope the above is sufficient for you to roll this fix into the code, but let me know if I should help with a bug report or similar. David [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
No channels: "System.NullReferenceException: Object reference not set to an instance of an object"
Contact us
RSS
Top
Bottom