MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » 1.0 RC1 and SVN Builds


1.0 RC1 and SVN Builds Post bugs you have found in 1.0 RC1 or any later SVN-Snapshot here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-04-19, 01:29   #1 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


not a bug TV-Server Config: Can not create database

TV-Server Version: 1.0 RC1 Refresh

Hi,
after configuring the db connection for Tv-Server when i tried to open SetupTv.exe an error came up saying something like "Can not create database". By looking in the log file I saw that the program was trying to create a sql server file TvLibrary.mdf which was already there. I solved the problem by manually deleting the file and some tables in the master database.

I think that the file was there because of another (unsuccessful) installation of Tv-Server. Maybe a check should be added to see if the file is already in the folder?

I've attached the log.
Bye
Attached Files
File Type: zip tv.zip (3.7 KB, 9 views)
k4m4 is offline   Reply With Quote
Old 2008-04-19, 05:54   #2 (permalink)
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,834
Thanks: 144
Thanked 104 Times in 73 Posts

Country:

My System

Default

i know what you mean.

if you uninstall the SQL server without deleting the TVLibrary db first, then TvLibrary.mdf will stay in place and cause issues if you install the SQL-Server in the same path again later on.

somehow i consider this to be a bug in the SQL-server, because "why" doesnt it overwrite the file?
__________________
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 2008-04-19, 09:21   #3 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,523
Thanks: 85
Thanked 97 Times in 71 Posts

Country:

My System

Default

Correct. We can only check the master table for information regarding any existing DB. If that tells us "there's nothing here" we have to assume MSSQL does tell the truth as your primary filestorage/partitioned tables/etc could be placed everywhere.
__________________
rtv is offline   Reply With Quote
Reply

Bookmarks

Tags
config, create, database, tvserver

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


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


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