MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Get Support


Get Support Problems with the TV-Server or Client? Post them in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-12-10, 14:45   #1 (permalink)
YAG
Portal Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default The database backend (provider SQLServer) could not be reached.

No matter what I do, I can't get a remote client to work (on same network using my linksys router between client computer and server machine)
The repeated error in the error log is "The database backend (provider SQLServer) could not be reached."
I have:
* disabled firewalls everywhere
* enabled surface connections for local and remote connections (TCP and named pipes)
* verified that I can connect to the server machine with a client installed on it.

I installed on the client comuputer 0.2, then SVN, then plugin.
Anything I am missing???


MediaPortal Version: 0.2+SVN+plugin
MediaPortal Skin: Blue Two
Windows Version: XP
CPU Type: AMD3200+
HDD: 320GB SATA
Memory: 512MB
Motherboard: ASUS
Video Card: NVIDIA 7300
1. TV Card: TV-PVR500


::deleted by infinityloop::

Last edited by infinityloop; 2006-12-10 at 19:01. Reason: attach the logfiles. do not paste them into your post!
YAG is offline   Reply With Quote
Old 2006-12-10, 19:03   #2 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,794
Thanks: 137
Thanked 102 Times in 71 Posts

Country:

My System

Default

when you installed the tv-server, after the first startup it asked you for the IP/Hostname of the SQL server.
what have you entered there? 127.0.0.1?

is the serverside tool (setuptv) working?

note:
attach your logfiles to your post. do not paste the text of the logfiles please.
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2006-12-11, 01:35   #3 (permalink)
Portal Member
 
wishywashy's Avatar
 
Join Date: Jan 2005
Location: Hill AFB, UT
Age: 33
Posts: 458
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

Started the SQL browser (can't remember the exact name) on the server?

Ok, I found it in the Wiki. Some "fine print" at the bottom:

Enable Local and remote connections and select Using both TCP/IP and named pipes.

note: You may have to restart the SQL server.

Change the SQL browser service to automatic and start it

Last edited by wishywashy; 2006-12-11 at 01:38.
wishywashy is offline   Reply With Quote
This User Say Thank You:
Old 2006-12-11, 03:57   #4 (permalink)
YAG
Portal Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Ok...
attached log file
When I installed the client on the server machine I am not sure what I entered, but when I go to mediaportal.xml I see under host the name of the computer it's running on (yag-media). (should I have entered 127.0.0.1?)
The tvsetup program does work
Everything seems to work fine on the server machine, just not on the client on another computer...

I tried obviously restarting the services.

Any new ideas?
YAG is offline   Reply With Quote
Old 2006-12-11, 07:00   #5 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,794
Thanks: 137
Thanked 102 Times in 71 Posts

Country:

My System

Default

If you are using a client - server configuration (clients in the LAN connect to the server PC) then you have to enter the Hostname or the REAL IP-Adress.

When you start the SetupTV application from the TV-Server the first time and you enter 127.0.0.1/SQLEXPRESS then you have a problem.
why?
When you start MyTV on the client the first time, you have to enter the IP-Adress of the Server. i.e. 192.168.123.10
Now the client connects to the server (192.168.123.10) and the server tells the Client the Hostname/IP-Adress) of the SQL-Server.
So if you have entered 127.0.0.1, the TV-Server will forward this adress to the Client.
Which means the Client will "think" that the SQL-Server is installed localy on the Client. so he can not connect.
Have a look @ your TV-Server installation and fin the Gentle.config. there you will find the IP-Adress you entered after the first startup.
You must enter the real IP-Adress or the Hostname.
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2006-12-12, 15:11   #6 (permalink)
YAG
Portal Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Thank you infinityloop for bearing with me.
I got frustrated, so I completely uninstalled MP/TV Server/Plugin, deleted the directories and fully reinstalled.

The process I went through was: install MP0.2, TV Server, Plugin, XMLTV - all on the same machine.
Only after the entire process did I enter TV Setup - which works fine, picks up channels from XMLTV etc...
When I run MP it does NOT ask for an IP address - it just works (I can see TV and channels get updated).

When I run MP on another machine I STILL get the same errors communicating with the SQL server.

I entered gentle.config file (attached) and found 127.0.0.1 - changed it to the proper IP address. Still same error.

Help...
YAG is offline   Reply With Quote
Old 2006-12-12, 15:20   #7 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,794
Thanks: 137
Thanked 102 Times in 71 Posts

Country:

My System

Default

When you entered MyTV on the client the first time, did you get to the screen which asked you for the IP/hostname of the tv-server?
when do get to that screen, MediaPortal is creating the following entry in MediaPortal.xml

Quote:
Originally Posted by MedaPortal.xml
<section name="tvservice">
<entry name="hostname">=IP-OF-YOUR-SERVER</entry>
</section>
------------------------------

in gentle.config you have to check this line:

Quote:
Originally Posted by gentle.config
<DefaultProvider name="SQLServer" connectionString="Password=abraxas;Persist Security Info=True;User ID=sa;Initial Catalog=TvLibrary;Data Source=IP-OF-YOUR-SERVER\SQLEXPRESS;" />
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2006-12-13, 15:15   #8 (permalink)
YAG
Portal Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Giving up here...

OK... Nothing seems to work.
I completely reinstalled the server machine:
uninstalled TVServer
uninstalled MP
uninstalled plugin
Deleted the sql database

When I start the client on the master machine I am NOT asked for the server IP address. I go to My plugins, start TV and it works. The gentle.config file does NOT contain the IP address and neither does mediaportal.xml.
I added the entries in them as advised, with the IP address etc... - still no luck.
I always get unable to connect to SQL server from the client machine...
I have no idea what next...
YAG is offline   Reply With Quote
Old 2006-12-13, 15:47   #9 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,794
Thanks: 137
Thanked 102 Times in 71 Posts

Country:

My System

Default

Quote:
Originally Posted by YAG View Post
OK... Nothing seems to work.
I completely reinstalled the server machine:
uninstalled TVServer
uninstalled MP
uninstalled plugin
Deleted the sql database

When I start the client on the master machine I am NOT asked for the server IP address. I go to My plugins, start TV and it works. The gentle.config file does NOT contain the IP address and neither does mediaportal.xml.
I added the entries in them as advised, with the IP address etc... - still no luck.
I always get unable to connect to SQL server from the client machine...
I have no idea what next...
based on that post, i think that your installation steps are wrong.
  1. install SQL 2005 Express
  2. install SQL Management Studio
  3. enable the local connections with the SQL Management Studio
  4. install TV-Server
  5. start the tv server with the following link on your desktop MediaPortal Tv Server
  6. a new window opens where you should allready see the correct hostname entered.
  7. enter your password for the SA user of your SQL express installation.
  8. click TEST
  9. if the test of the SQL connection worked, then click OKAY
  10. now you will get a pop up "TV-Service is not running, should it be started?"
  11. click YES
  12. now configure the Server (autotune ect)
  13. then close the TV-Server config application with the OK button
  14. Install MediaPortal
  15. apply the latest public svn build
  16. install the tv-server client plugin
  17. start mediaportal
  18. the setup wizzard is displayed
  19. configure mediaportal
  20. start mediaportal after you configured it
  21. enter MyTV
  22. after a few seconds you will see a screen which asks you for the ip/hostname of the server
  23. enter the hostname or ip of the server
  24. watch tv

with this step by step description it has to work.
__________________
regards
chris

MediaPortal Project Coordinator
Test Team Leader

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is offline   Reply With Quote
Old 2006-12-14, 16:09   #10 (permalink)
YAG
Portal Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I uninstalled everything, followed the instructions, yet when I run mediaportal on the server machine I do not get asked for an IP address - it just works (shows TV).

There is one thing I wanted to verify in your installation process - when you say configure TVServer and Configure Mediaportal:
1. When configuring TVserver I do not scan for channels, but rather add them from the XMLTV file plugin
2. When I first run mediaportal I essentially configure nothing (TV channels scan etc...) I expect these to be read from the TVserver
3. When I start mediaportal there is therefor no My TV - My TV is under My Plugins correct?

Again, on the server machine, the client works - but does not imply anywhere that it is using a server/ip address/host name. On the other machine running the client only with the server plugin I get nothing - only SQL connection errors in the log file.

Even after modifying gentle.config and mediaportal.xml to include the TVserver info I get the same old can't connect to SQL server.

Thanks for the help...
YAG is offline   Reply With Quote
Reply

Bookmarks

Tags
backend, database, provider, reached, sqlserver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(original thread) US/Canadian/Mexico EPG Zap2it Plugin Released bradsjm zap2it (discontinued) 513 2007-02-21 14:07
nothing to configure MediaTobiPortal pre 1.0 RC1 8 2007-01-13 11:40
Help with TVServer and client rick78 Get Support 8 2006-12-12 18:48
0.2.1 and latest svn MyPictures thumbnails broken gloomyandy Codecs, External Players 1 2006-10-24 10:01
Fusion HDTV5 Gold and external inputs nst6563 General Support 7 2006-05-27 19:05


All times are GMT +1. The time now is 04:55.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress