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
Development
General Development (no feature request here!)
exception while open connection to TVServer
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="mm1352000" data-source="post: 942448" data-attributes="member: 82144"><p>Hello</p><p> </p><p>Here is an okay place for this question.</p><p>I think it would be good if you could explain exactly what you're trying to do, because in general it would be better if you could let the TV service handle the database connection and use the TVDatabase.dll and TvBusinessLayer.dll to access the data you need. If you need to use custom queries then it makes sense to have your own connection.</p><p> </p><p>To directly address the problem...</p><p>For a start, make sure you have the Gentle.NET provider DLLs in the right place. You need all of the following DLLs:</p><p>Gentle.Common.dll</p><p>Gentle.Framework.dll</p><p>Gentle.Provider.MySQL.dll</p><p>Gentle.Provider.SQLServer.dll</p><p>MySql.Data.dll</p><p> </p><p>I'm not sure exactly what is going wrong, but since Gentle.NET is open source I would suggest to check the source code to work out why the exception is being thrown. The source code is here:</p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/</a></p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/Gentle.Framework/Core/ProviderFactory.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/Gentle.Framework/Core/ProviderFactory.cs</a></p><p> </p><p>I hope that helps at least a little.</p><p> </p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 942448, member: 82144"] Hello Here is an okay place for this question. I think it would be good if you could explain exactly what you're trying to do, because in general it would be better if you could let the TV service handle the database connection and use the TVDatabase.dll and TvBusinessLayer.dll to access the data you need. If you need to use custom queries then it makes sense to have your own connection. To directly address the problem... For a start, make sure you have the Gentle.NET provider DLLs in the right place. You need all of the following DLLs: Gentle.Common.dll Gentle.Framework.dll Gentle.Provider.MySQL.dll Gentle.Provider.SQLServer.dll MySql.Data.dll I'm not sure exactly what is going wrong, but since Gentle.NET is open source I would suggest to check the source code to work out why the exception is being thrown. The source code is here: [url]https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/[/url] [url]https://github.com/MediaPortal/MediaPortal-1/blob/master/Common-MP-TVE3/External/Gentle.NET/Source/Gentle.Framework/Core/ProviderFactory.cs[/url] I hope that helps at least a little. mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
exception while open connection to TVServer
Contact us
RSS
Top
Bottom