MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-11-29, 03:22   #1 (permalink)
Portal Member
 
etheesdad's Avatar
 
Join Date: Nov 2008
Posts: 113
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default What are the correct settings for user "sa" in MSSQL Express?

TV-Server Version: svn2075
MediaPortal Version: svn2075
MediaPortal Skin: monochrome
Windows Version: xp mce sp3
CPU Type: celeron 2.4
HDD: seagate 80 + WD 160
Memory: 1gb ddr
Motherboard: ga-8ig1000 pro
Video Card: radeon 9200 se
Video Card Driver: 8.252.0.0
Sound Card: soundblaster
Sound Card AC3:
Sound Card Driver: 5.1.260.5512
1. TV Card: hve-1100
1. TV Card Type: dvb-t
1. TV Card Driver: 2.122.2619.0
2. TV Card: dvt2000h
2. TV Card Type: dvb-t
2. TV Card Driver: 4.0.112.3113
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: k-lite
MPEG2 Audio Codec: k-lite
h.264 Video Codec: k-lite
Satelite/CableTV Provider:
HTPC Case: silverstone lc20
Cooling: custom
Power Supply:
Remote: imon
TV:
TV - HTPC Connection: s-video

Ive got a recurring error trying to start tv server, with login failling for user "sa". This is from a fresh install of tvserver and mssql express.

I have not changed anything from default settings, and followed the instructions here to do the install
TV-Server/install-SQL-Server - MediaPortal Manual Documentation

Firewall allows connection. (single seat setup). SQL Browser service is running.

---------

MEDIABOX5\SQLEXPRESS\Databases\MpTvDbRC2\Security\ Users\

sa is not listed. Is this correct?

---------

MEDIABOX5\SQLEXPRESS\Databases\MpTvDbRC2\Security\ Users\dbo

login name - sa

Owned schemas
(none)

Database Role Membership
- db_owner

MEDIABOX5\SQLEXPRESS\Security\Logins\sa

General
- enforce password policy is ticked
- default database = master

Server Roles
- public
- sysadmin

User mapping
:users mapped to this login
- master
- model
- MpTvDbRC2
- msdb
- tempdb

Database role membership
- db_owner
- public

Status
: permission to connect
- grant

:login
- enabled

(login is not "locked out")

-------------

Are there any other elements I should be looking at?

Thanks very much to anyone familiar with MSSQL who can help.

BTW, it would be really useful to have working settings for single-seat & multi-seat installations posted in the documentation for TV server....
Attached Files
File Type: log error.log (21.7 KB, 9 views)
File Type: log tv.log (6.4 KB, 11 views)

Last edited by etheesdad; 2008-11-29 at 03:24.
etheesdad is offline   Reply With Quote
Old 2008-11-29, 09:07   #2 (permalink)
Portal Tester
 
flokel's Avatar
 
Join Date: Oct 2005
Location: Unterfranken
Age: 24
Posts: 934
Thanks: 60
Thanked 45 Times in 40 Posts

Country:

My System

Default

Please try the latest RC4.

With the installer you do not have to install and configure the SQL server by hand,
it's done automatically.
__________________
Regards,
Flo
flokel is offline   Reply With Quote
Old 2008-11-29, 10:55   #3 (permalink)
Portal Member
 
etheesdad's Avatar
 
Join Date: Nov 2008
Posts: 113
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default

wow. I didnt know it was out... will go away and try it. thanks!
etheesdad is offline   Reply With Quote
Old 2008-11-30, 03:40   #4 (permalink)
Portal Member
 
etheesdad's Avatar
 
Join Date: Nov 2008
Posts: 113
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Question

Nope. didnt work. setuptv.exe came up with --config-db. selected MSSQL and it logged in. Was fine while I was setting up channels, then when I rebooted the machine it locked out user SA again.

Strangely, when I run setuptv.exe --configure-db, the test login works fine "test succeeded", so I hit save, then if I try to start the TV Server configuration, it chokes, & says "tv server not started"


Code:
2008-11-30 08:52:00.906250 [TVService]: Exception   :Error: DatabaseUnavailableUnclassified
Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=MediaPortal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC4;Data Source=mediabox5\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC4" requested by the login. The login failed.
Login failed for user 'sa'.
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
   --- End of inner exception stack trace ---
   at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
   at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
   at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
   at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
   at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
   at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
   at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
   at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
   at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
   at TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDbRC4" requested by the login. The login failed.
Login failed for user 'sa'.
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
Exception   :The database backend (provider SQLServer) could not be reached.
Check the connection string: Password=MediaPortal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC4;Data Source=mediabox5\SQLEXPRESS;Connection Timeout=300;
  site      :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
  source    :Gentle.Common
  stacktrace:   at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
   at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
   at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
   at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
   at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
   at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
   at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
   at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
   at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
   at TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.InitController()
etheesdad is offline   Reply With Quote
Old 2008-11-30, 03:46   #5 (permalink)
Portal Member
 
etheesdad's Avatar
 
Join Date: Nov 2008
Posts: 113
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Question

also, MSSQL Studio does this when it starts

How do I find out what the error is?
Attached Thumbnails
what-correct-settings-user-sa-mssql-express-wtf.jpg  
etheesdad is offline   Reply With Quote
Reply

Bookmarks

Tags
correct, express, mssql, settings, user

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Login for user "sa" failed etheesdad General Support 7 2008-12-04 00:24
a couple of questions about xmltv "Input string was not in a correct format" etheesdad xmlTV 0 2008-11-29 01:06
Won't play ISOs - pops up "insert correct DVD" kiruji Installation, configuration support 0 2008-08-15 23:04
Connection succeeded, but: "unable te create database;logon failed for user sa jgevaert Get Support 2 2008-03-11 14:30


All times are GMT +1. The time now is 07:23.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden