Changed PC name, now can't connect to TV Server (1 Viewer)

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
I've changed the name of the computer MP is running on from pc to P4 and it's caused it to stop working. I've had the SQL database window up, which allowed me to change it to P4 and that connected and saved OK, but TV Server config still shows pc and it obviously can't connect to that. Where else do I need to go to change it?

I've updated to 1.0.2 and ran TV Server config after that, which again bought up the SQL database window which worked again but it still shows pc in TV Server config and can't connect.

TV-Server Version: v1.0.2
MediaPortal Version: v1.0.2
MediaPortal Skin: X-Factor
Windows Version: XP Pro SP3
CPU Type: Intel P4 2.8Ghz Northwood (non-HT)
HDD: 1*500GB Western Digital SATA
Memory: 1.5GB DDR
Motherboard: Gigabyte 8i848-PM
Video Card: Leadtek FX5600 256MB VIVO
Video Card Driver: 93.71
Sound Card: onboard Realtek AC97 (ALC655)
Sound Card AC3: no AC3
Sound Card Driver: 5.10.0.6300
1. TV Card: Hauppauge Nova-T 500
1. TV Card Type: DVB-T
1. TV Card Driver: 4.3.25080.0
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Cyberlink Video/SP Decoder (PDVD7)
MPEG2 Audio Codec: MPC - MPA Decoder Filter
h.264 Video Codec: CoreAVC Video Decoder
Satelite/CableTV Provider:
HTPC Case: Custom
Cooling: Nexus 120mm Intake Fan, Accelero S2, Mini Ninja
Power Supply: DELL DA-2 AC->12v DC, mCubed EF28 DC-DC board
Remote: Nova-T 500
TV: Sony XBR800 36"
TV - HTPC Connection: DVI
 

Peter2

MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    Could it be that a windows service, related to SQL, is not started?
    It can be tricky to change the computer name of a 'server'.
    Does it work when you change it back?

    I'm not familiar with SQL but maybe someone else can comment on this.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I think it's more that some config file related to MP was still using the old name "PC", as that was still what was shown in TV Server config.

    Anyway, I've re-installed XP and MP now so I'll just avoid changing the name in future :)
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Fine changing name, just do it when XP\Vista first installed :)

    SQL management express is good for doing these kind of things as well, dbo.server is where the name is stored, you need to change the login to mixed mode, so you can put in the "sa" and "MediaPortal" for access to the MpTvDb.

    Hope that helps, just in case you decide to have a memory lapse and change it in the future :)
     

    Leon_Gjerland

    Portal Pro
    February 1, 2005
    50
    2
    Home Country
    Norway Norway
    The computer name is stored in the SQL Server's metadata. Renaming the computer does not change this.

    If you have renamed PC1 running an instance of SQL Server named SQLEXPRESS to PC2, create a new query i SQL Management Studio, and run the following procedures:

    sp_dropserver 'PC1\SQLEXPRESS'

    sp_addserver 'PC2\SQLEXPRESS', local


    Then restart the instance of SQL Server.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Thanks guys. I'll file those tips away in case I ever need them in future.
     

    Users who are viewing this thread

    Top Bottom