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
Products
MPTvClient (stand alone TV client)
[Announce] MPTvClient V1.2.5 (20.12.2007) II
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="strawberry" data-source="post: 147890" data-attributes="member: 17725"><p>Hi Nightflyer,</p><p></p><p>I had the same problem with MySQL, you don't need the follwing settings to be correct "Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" in the gentle.config of the client side, what you do need in there is the correct provider-name.</p><p></p><p>Also I found that for me a file was missing, find MySQL.Data.dll in the server directory and copy it to the client's directory solved my "broken" message.</p><p></p><p></p><p>gentle.config I use: (you can copy it from the server-side and replace username and/or password with anything, you don't want that on your client side for security reasons <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> )</p><p></p><p>The relevant parts of my gentle.config file are</p><p></p><p><!-- </p><p> <NamespaceProviders></p><p> <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." /></p><p> <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." /></p><p> </NamespaceProviders></p><p> --></p><p></p><p> <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" /></p><p></p><p> <!--</p><p> <Providers></p><p> <!-- list known provider assemblies; the assembly .dll suffix is optional --></p><p> <!-- Provider name="CE" assembly="Gentle.Provider.CE" /--></p><p> <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /--></p><p> <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /--></p><p> <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" /></p><p> <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /--></p><p> <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /--></p><p> <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /--></p><p> <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / --></p><p> <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" /></p><p> <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / --></p><p> <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / --></p><p> </Providers></p></blockquote><p></p>
[QUOTE="strawberry, post: 147890, member: 17725"] Hi Nightflyer, I had the same problem with MySQL, you don't need the follwing settings to be correct "Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" in the gentle.config of the client side, what you do need in there is the correct provider-name. Also I found that for me a file was missing, find MySQL.Data.dll in the server directory and copy it to the client's directory solved my "broken" message. gentle.config I use: (you can copy it from the server-side and replace username and/or password with anything, you don't want that on your client side for security reasons :) ) The relevant parts of my gentle.config file are <!-- <NamespaceProviders> <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." /> <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." /> </NamespaceProviders> --> <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" /> <!-- <Providers> <!-- list known provider assemblies; the assembly .dll suffix is optional --> <!-- Provider name="CE" assembly="Gentle.Provider.CE" /--> <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /--> <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /--> <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" /> <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /--> <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /--> <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /--> <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / --> <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" /> <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / --> <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / --> </Providers> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
MPTvClient (stand alone TV client)
[Announce] MPTvClient V1.2.5 (20.12.2007) II
Contact us
RSS
Top
Bottom