SQL Server 2005 : Piecemeal Restore With Fulltext Index

Mar 27, 2008

Hi,

I have a problem restoring a Read-Only filegroup in a database.
I've restored the Read/Write filegroups first without any problem.

Then, I am able to recover Read-Only filegroups which do not contain fulltext indexes with the command :
RESTORE DATABASE GSM FILEGROUP = 'FG_RO_20080214' WITH RECOVERY

However, for filegroups containing FullText indexes (Fulltext indexes are in the same filegroup as data used for this index), I always get the following error :

Server: Msg 3149, Level 16, State 6, Line 1
The file or filegroup "sysft_CAT_SM_20080127" is not in a valid state for the "Recover Data Only" option to be used. Only secondary files in the OFFLINE or RECOVERY_PENDING state can be processed.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

If I'm looking at sys.database_files catalog view, I can see the following
name type_desc state_desc
------------------------ ----------- -----------------
sysft_CAT_MS_20080127 FULLTEXT RECOVERY_PENDING

Does anyone have an idea, please.

Thanks in advance
Patrick

View 2 Replies


ADVERTISEMENT

Language Error When Creating FULLTEXT INDEX By Using SQL Server 2005 Management Express!

Apr 12, 2007

Hello..
When I used Microsoft SQL Server 2005 Management Studio Express to Create FULL TEXT INDEX by this code:

CREATE FULLTEXT INDEX ON txtfilestbl(txtfile) KEY INDEX PK_txtfilestbl ON ForumsArchiveLibCtlg WITH CHANGE_TRACKING AUTO

It returns this ERR MSG:

Informational: No full-text supported languages found.
Informational: No full-text supported languages found.
Msg 7680, Level 16, State 1, Line 1
Default full-text index language is not a language supported by full-text search.

I Use same this code to create FULL TEXT INDEX by using Microsoft SQL Server 2005 Management Studio, and it was working properly.
What I have to do?

View 2 Replies View Related

SQL 2012 :: Piecemeal Restore With Filestream Database?

Sep 9, 2015

We have one database with Filestream enabled. There is one table "dbo.files" which uses Filestream.

We created a filestream filegroup Filegroup1 and added 3 data containers to it. (3 filestream data containers within the same filegroup.)

We have three LUNs F:, G:, H: each with a capacity of 2TB (That is the limitation). F: and G: are almost full. So, I restricted their growth so inserts do not happen into these data containers. Inserts are now going into H: drive which has lots of free space. Our application code prevents any sort of deletes or updates to this table. So data in the growth restricted containers will never change.

Now the database is around 6 TB in size and backups is a challenge. We are contemplating on migrating storage to netAPP and use their snapmanager console which is much faster.

However, until then, we need a solution with native SQL backups. We tried partial backups and piecemeal restore.

WE tried this on a test server :

1) Partial backup only the read-only data containers first, (F: and G:) (The plan is to back these up just once a month as this data never changes).

2) Partial backup the primary filegroup plus the third data container in the Filestream filegroup which is subject to inserts (H:)

While restoring, we tried the online restore, First, I restored the backup obtained from step 2 above with recovery option. Then I restored the backup obtained from step 1 with recovery. I see that the database was brought online. However, when I try to query the dbo.files table, I get an error stating that some files of the filestream filegroup are offline.

View 0 Replies View Related

CREATE FULLTEXT INDEX

Sep 1, 2007

Hi All,

I am using SQL SERVER 2005 Express. I am trying to set up CREATE FULLTEXT INDEX.

I have confirmed that the Fulltext is installed with:

SELECT
fulltextserviceproperty('IsFulltextInstalled')

So no I need to create a Full Text index:

CREATE FULLTEXT INDEX
ON E190MELCDL(xmldata)
KEY INDEX PK_E190MELCDL

But I get this error:

Informational: No full-text supported languages found.

Informational: No full-text supported languages found.

Msg 7680, Level 16, State 1, Line 1

Default full-text index language is not a language supported by full-text search.

Any Ideas?

Thanks,

Bones

View 7 Replies View Related

FTS. Can't Create FullText INDEX

Jan 15, 2007

I've got fresh Installed SQLExpress 2005 Adv. with a following:
WinXP Pro, Developer PC, Admin/Full rights, Antivirus PC-Cilin was switched off for the installation.Enable User Instance - 0 (clear check box during installation)SQL Collation: Dictionary order case sensetive for1252 Char setSELECT @@language: us_englishcreate fulltext catalog testAPFullTextcatalog,
Sp_help_FullText_catalogs: 5 testAPFullTextcatalog C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLFTData estAPFullTextcatalog 0 0create unique index indexName_Comment on dbo.FullTextSearchTestTable(RecordID)
sp_configure:
allow updates 0 1 0 0
clr enabled 0 1 0 0
cross db ownership chaining 0 1 0 0
default language 0 9999 0 0
max text repl size (B) 0 2147483647 65536 65536
nested triggers 0 1 1 1
remote access 0 1 1 1
remote admin connections 0 1 0 0
remote login timeout (s) 0 2147483647 20 20
remote proc trans 0 1 0 0
remote query timeout (s) 0 2147483647 600 600
server trigger recursion 0 1 1 1
show advanced options 0 1 0 0
user instances enabled 0 1 0 0
user options 0 32767 0 0CREATE FULLTEXT INDEX ON dbo.FullTextSearchTestTable(Comment)
KEY INDEX indexName_Comment ON testAPFullTextcatalog
WITH CHANGE_TRACKING AUTO
Result:
Informational: No full-text supported languages found.
Informational: No full-text supported languages found.
Msg 7680, Level 16, State 1, Line 1Default full-text index language is not a language supported by full-text search.

I couldn't overcome the issue. Please help.

Alexei


P.S. May be Important: During installation (on Management Studio Express installation stage) a had to click twice the "Ignore" button for the following popUp message:
"Could not write value to key:
SoftwareClasses.xdropenWithProgIdsShared - verify, if you have sufficient access to hot key or contact your support.

View 10 Replies View Related

Can't Create Fulltext Index

May 1, 2007

I'm about ready to smash my computer. I've installed SQL Server 2005 Express Edition with Advanced Services on Win XP Pro SP2. I made sure to enable the Fulltext service at install. Installed to the default instance name, and made sure the fulltext service is running from the CM. I made sure to enable full text indexing on my database from the properties window. I can create the fulltext catalog, but not the index!

----

create fulltext index on [person.contact] (Lastname)

key index [PK_Person.Contact] on myfulltextcatalog



Informational: No full-text supported languages found.

Informational: No full-text supported languages found.

Msg 7680, Level 16, State 1, Line 1

Default full-text index language is not a language supported by full-text search.

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

select * from sys.fulltext_catalogs



returns the catalog



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



sp_fulltext_service 'update_languages'



Informational: No full-text supported languages found.



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



select @@language



us_english



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



select * from sys.fulltext_languages



Returns an empty table



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

SELECT * FROM sys.configurations

ORDER BY name ;



1126 default full-text language 1033 0 2147483647 1033 default full-text language 1 1

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



Does anyone have any idea what's going on? I've already removed and re-installed a couple of times to different directories, used different instance names, and still no luck. Any help would be greatly appreciated.



Mike

View 6 Replies View Related

How Do I Create A Fulltext Index On A View?

Oct 30, 2007

Hello all,I'm wanting to do a CONTAINS query on fields that belong to two seperate tables.  So, for example, this is what I'd *like* to do :SELECT ci.itemNameFROM Content_Items ciINNER JOIN Content_Pages AS cp ON ci.contentItemId = cp.contentItemIdINNER JOIN FREETEXTTABLE(Content_Items, (ci.title, cp.pageText), @searchString) AS ft ON ci.contentItemId = ft.[KEY]However, this will not work, since SQL Server won't let you do fulltext queries against more then one table.So my idea is to create a view that combines my Content_Items table with the desired column from my Content_Pages table.  I would then create a fulltext index on this view, and do fulltext queries against it.It seems like this should work.  However, when I try to create a fulltext index on my newly-created view, I get this error :A unique column must be defined on this table/view.How do I create a unique column within a view?Also, will my approach work, or will it have unintended consequences?  I'm using this as part of a search component in my software, so it has to perform reasonably well.

View 1 Replies View Related

Fulltext Index Is Not Covering All Entries

Dec 5, 2007

Hello,
i have a database with about 300.000 entries. The database gets about 30 new entries every day. The Database has an FulltextIndex on several columns. This FulltextIndex will be updated every night.
But now i have found out, that the fulltextsearch doesn't work anymore for all entries that where added after April 2006.
When i for example make following sql-statementSELECT id,date FROM MyTable WHERE (CONTAINS((columnA),' "mykeyword" '))

i only get results that have a date after April 2006 (although there are matching entries after that date).
What can the reason for that be?
According to Management Studio the last Update of the FulltextCatalog has been made on 1st of December 2007. Everything looks normal and I didn't find any logs that are saying that there has been any errors.
Where do I have to look to be sure if the FullTextIndex does work?
Specs:
SQL Server 2005
Microsoft SQL Server Management Studio      9.00.1399.00Microsoft Analysis Services-Clienttools      2005.090.1399.00Microsoft Data Access Components (MDAC)      2000.086.3959.00 (srv03_sp2_rtm.070216-1710)Microsoft MSXML      2.6 3.0 6.0 Microsoft Internet Explorer      6.0.3790.3959Microsoft .NET Framework      2.0.50727.832Operating System 5.2.3790
 
greetings
Klaus

View 3 Replies View Related

Weighted Search On Fulltext Index

Aug 20, 2007

SQL Server 2005:
Anyone know how best to rewrite this SQL string to perform a weighted search on my table?
here's my code:
SQL="SELECT RecipeName FROM recipeList WHERE FREETEXT(*,'ISABOUT " & ing01 & " WEIGHT (.1) or " & ing02 & " WEIGHT (.2) or " & ing03 & " WEIGHT (.3) or " & ing04 & " WEIGHT (.4) or " & ing05 & " WEIGHT (.5)')"
the idea is to get a list of recipes most pertinant to the ingredients entered.
table 'recipeList' contains the ingredients in several columns. so column 2 might say '5oz of flour', column 2 - '2oz butter' etc.

at the moment it returns the correct recipes but not in the right order.
If I use 'CONTAINS' it returns nothing.
hope that's not too vague!

View 10 Replies View Related

How Do I Create A Fulltext Index On A View?

Oct 30, 2007

Hello all,

I'm wanting to do a CONTAINS query on fields that belong to two seperate tables. So, for example, this is what I'd *like* to do :

SELECT ci.itemName
FROM Content_Items ci
INNER JOIN Content_Pages AS cp ON ci.contentItemId = cp.contentItemId
INNER JOIN FREETEXTTABLE(Content_Items, (ci.title, cp.pageText), @searchString) AS ft ON ci.contentItemId = ft.[KEY]

However, this will not work, since SQL Server won't let you do fulltext queries against more then one table.

So my idea is to create a view that combines my Content_Items table with the desired column from my Content_Pages table. I would then create a fulltext index on this view, and do fulltext queries against it.

It seems like this should work. However, when I try to create a fulltext index on my newly-created view, I get this error :
A unique column must be defined on this table/view.

How do I create a unique column within a view?

Also, will my approach work, or will it have unintended consequences? I'm using this as part of a search component in my software, so it has to perform reasonably well.

View 1 Replies View Related

Can't Backup DB Or Drop FullText Index

Mar 29, 2008

I just tried to backup a database I recently deployed to to SQL Server 2005 box, and got the following error:

The backup of full-text catalog 'myCatalog' is not permitted because it is not online. Check errorlog file for the reason that full-text catalog became offline and bring it online.
Or BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only online data.


I don't need the index so I tried to drop it with both:

DROP fulltext catalog 'myCatalog'

and

DROP catalog 'myCatalog'


but both give me a syntax error.

How can I get rid of this index so I can backup my database?

Thanks,

Tristan

View 2 Replies View Related

Merge Replication And FullText Index

Oct 5, 2007

We are designing a scenario in which we will have a central publisher and several subscribers in a server to server environment using Merge replication. We also will have a fulltext index for one of the tables being replicated and synchronized. What are your recommendations for the index? Would auto change tracking reduce the impact? We are building for a possible 1 billion row table but do not anticipate more than 100K rows at any time of replication.

Thanks,

Sally

View 4 Replies View Related

How Do I Create A Fulltext Index On A View?

Oct 30, 2007

Hello all,


I'm wanting to do a CONTAINS query on fields that belong to two seperate tables. So, for example, this is what I'd *like* to do :


SELECT ci.itemName
FROM Content_Items ci
INNER JOIN Content_Pages AS cp ON ci.contentItemId = cp.contentItemId
INNER JOIN FREETEXTTABLE(Content_Items, (ci.title, cp.pageText), @searchString) AS ft ON ci.contentItemId = ft.[KEY]


However, this will not work, since SQL Server won't let you do fulltext queries against more then one table.


So my idea is to create a view that combines my Content_Items table with the desired column from my Content_Pages table. I would then create a fulltext index on this view, and do fulltext queries against it.


It seems like this should work. However, when I try to create a fulltext index on my newly-created view, I get this error :
A unique column must be defined on this table/view.


How do I create a unique column within a view?


Also, will my approach work, or will it have unintended consequences? I'm using this as part of a search component in my software, so it has to perform reasonably well.

View 7 Replies View Related

How Can I Check Whether A Table In Database Has The FULLTEXT INDEX Or Not.

Oct 7, 2004

Our production DBs are SQL Server 2000(Enterprise Edition) on Windows2003.
Can anybody tell me how can I check whether a table has a FullText Index or not?

Thank you!

View 1 Replies View Related

Fulltext Index Taking Up All The Disk Space

Mar 27, 2007

I am running a DB with 250Gb of documents, the fulltext index just keeps growing and growing. The files in the MssearchCatalogDir folder is currently taking up 106Gb, it was only 74Gb this morning. The full text catalog size property says its only 53.6Gb and this is remaining steady while the files in the MssearchCatalogDir folder seem to be balloning out of control. I ran a reorg on the fulltext catalog and it did not alter the file space (actually increased it).

There is one *.ci file that is doing most of the growing, its about three times as big as the second biggest one and is expanding before my eyes.

Should I have turned population off when I did the reorg?

Manamgement studio has an Optimize catalog option on the fulltext catalog properties dialog, is this different from a fulltext catalog reorg? Should I run this.

Should I run a shrink file on the filegroup containing the fulltext catalog (the filegroup itself is very small, all the space is in the MssearchCatalogDir folder)?

I have 140Gb left on this drive, is it just going to keep on expanding until I'm out of room, I just dont know what I should do.



Abit more info.....

I was rebuilding the index from scratch (needed to move it to another filegroup).

When I first started the rebuild, msftesql.exe and msftefd.exe were both taking alot of cpu and the overall cpu usage was high. Now after 12 hours, only msftesql.exe is running and is taking up 5-10% cpu. Could it be that the rebuild is not complete yet? Although the Item Count property of the full text catalog does seem to indicate that all documents have been processed, the processes keeps running and disk space keeps going down.

View 1 Replies View Related

Fulltext Index Error With Query Word BARBE

Jul 30, 2007

For demonstration I created a fulltext index on table employee in Northwind database.

The following query gives an error:

SELECT * FROM employees
WHERE CONTAINS (FirstName, 'Barbe')

Replacing 'Barbe' by 'Barb' or other words it works fine.

The error message is (I have a french version of SQL installed, here the translation: "A clause in the query contains only ignored words"
Une clause de la requête ne contient que des mots ignorés)

Language for wordbreak in fulltext index is French and the error happens only with French, with English it works.

Is this a Microsoft bug?

View 1 Replies View Related

FullText Change-tracking And Update-index Were Disabled

Jul 30, 2007

How can i enable my fulltex change-tracking and update-index in my table?
I recreated my fulltext catalog and start the full population, but although my fulltext index status shows active, my full-text change-tracking and the update index were disabled. - and I don't know how to enable them.
Thanks in advance

View 3 Replies View Related

SQL Search :: Truncate And Load A Table With FullText Index?

Jun 4, 2015

I am using SSIS to replace set of tables daily. One of the table has primary, unique, foreign keys and full-text index. Before truncating, I am dropping the foreign key constraints (to truncate the parent table), truncating the tables and recreating the foreign keys.

I have few questions:

1) Do I need to drop and recreate the unique key as well? (I am not dropping the primary key) - Unique key is identity column created just for the full-text indexing since it was mentioned that key on integer is better than key on varchar and my pk is a varchar.

2) Do I need to drop and recreate the full-text index or just rebuild/repopulate it every time the table is loaded.

This is the first time i am using  full text index and I was able to learn a lot about it from the sites. I would like to understand the correct approach while loading the tables.

View 4 Replies View Related

FullText Search Not Returning Results After Rebuilding Full Text Index

Aug 6, 2012

We have a table that is Full Text Search index enabled on one column.This table has 200 lakhs of rows(20000000) . ContainsTable() function is searching data with in these 200 lakhs of rows(20000000), if any new rows are inserted then the ContainsTable is not going to search in these recent inserted rows.

We observed when we try for a data to search. it is returning the rows till the rows that are inserted date is less than 30th of march 2012. but not searching in the records that are created after April month , if even the data we are searching is available .

TableFulltextItemCount is around 2.2 crores.

Then we done rebuilt the FT catalog Index. then the TableFulltextItemCount became 0.Again we run the containstable query ,but still it is not getting results.

As the no of rows are very more . so i am not able to show the actual rows from which the data is not coming.

the below query gives 2 results that are from actual base table

HTML Code:
select * from g_case_action_log where cas_details like '%235355%' and product_id = 38810

To search for the same above word using FTS,I have used the query as below

HTML Code:
SELECT Distinct top 50 cal.case_id,cal.cas_details From g_case_action_log cal (READUNCOMMITTED)inner join containstable(es.g_case_action_log, cas_details, ' ("235355" OR "<br>235355" OR "235355<br> ") ') as key_tbl on cal.log_id = key_tbl.[key] Where cal.product_id = 38810 ORDER By cal.case_id DESC

I have attached one sql script file for your ref that contains create logic and index schema properties

Why it is not returning results all the time.

View 1 Replies View Related

Fulltext Search In Sql Express 2005

Jul 22, 2007

I had problem when change database from sqlserver 2000 to sql express 2005.The fulltext index does not create automatically.Example: i use sqldatasource to insert new name to my table.and then i find it by query like this : select count(*) from mytable where contains(mycol,'newname')the result is 0but if i run query to start full index : exec sp_fulltext_catalog 'myfulltext','start_full'  and run query select count(*) from mytable where contains(mycol,'newname')again. The result is 1.  So i alway run exec sp_fulltext_catalog 'myfulltext','start_full'  after insert or update, delete to create fulltext index. When i use sql server 2000 , i didn't need do that, it automatic. Pls help me !!! how to make fulltext index create auto in sql express 2005 . 

View 1 Replies View Related

Sql Server 2005 Compact Edition 3.1 RDA Synchronization Fails On Table With Index In Sql Server 2005 Database

Jan 21, 2008

We have been using Sql Server 2005 Compact Edition 3.1 RDA synchronization method successfully on Sql Server 2000 database. Recently we moved the database to Sql Server 2005, sync doesn't work anymore, it just hangs on one table. On further investigation, we found out that it's the index on that table that causes this. We removed the index, it works fine. We are wondering the root cause, removing the index is not a solution for us. Any thoughts?. Thanks.

View 1 Replies View Related

Fulltext Search With Contain Keyword In Server

Sep 25, 2013

I'm using full text search in sql server 2008 with contain keyword.

My issue is while I'm trying

select * from tbl_item_master where contains (ITM_FULLTEXT,'red and white')

above syntax gives me required output but while I'm trying

select * from tbl_item_master where contains (ITM_FULLTEXT,'red and the and white')

above syntax does not gives me output. I'm using system stop list and "the" is noise keyword.

I want to stop searching "the" but want result as per first syntax.

I do get warning " The full-text search condition contained noise word(s)."

Is it possible?

View 1 Replies View Related

Recreating Index After Restore--URGENT PLEASE

Sep 4, 2002

Hi all,
I have created a new database from a backup. When I run the application, it seems like it is not getting the right indexes but it is in Development environment. So, I ran a script to recreate the index by DBCC DBREINDEX(TABLENAME). Still not getting it right. mainly it is not using the primary key index. I believe that dbcc dbrenindex will also reindex primarykey indexes. Any one know, how to overcome this problem. It is a production issue and I would appreciate for your prompt advise.
Note: Does anyone has any script to drop the primarykey index and to recreate it.
Thanks,
Joe

View 1 Replies View Related

FullText Search SQLserver2005 Using VS2005 Server Explorer

Aug 16, 2007

 Hello,I am using SQLServer Express and Visual Studio 2005 to create the website. I would like to implement FullText search, but have never done it before. I have looked at the msdn documentation on FullText search in SQLServer 2005 here http://msdn2.microsoft.com/en-us/library/ms142519.aspx.I cannot seem to figure out how to use a FT search using Visual Studio. Can someone please help me configure my database and then explain how I can run queries based on user input to return data? 

View 5 Replies View Related

SQL Server 2005 Restore Error!

Aug 18, 2006

Hi Team,
I try to restore my local database using the backup from the live server. However I encountered this type of error:
====================================================================
System.Data.SqlClient.SqlError: The path 'C:Microsoft SQL ServerFullTextApplication_FullText' has invalid attributes. It needs to be a directory. It must not be hidden, read-only, or on a removable drive. (Microsoft.SqlServer.Smo)
====================================================================
It worked before I added a full-text search feature. Any idea?
Thanks in advance.

View 15 Replies View Related

Sql Server 2005 Restore Problem

Jun 10, 2008

Hi,I am using SQL Server 2005 Enterprise edition. I face a problem when I want to restore a database. DataDB.mdf is the database file, When i want restore it using Sql server management studio it show the following error.
TITLE: Microsoft SQL Server Management Studio
------------------------------

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
ADDITIONAL INFORMATION:

The media family on device 'C:DatabaseDataDB.mdf' is incorrectly formed. SQL Server cannot process this media family.
RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=3241&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------Any suggestions are welcome.Best Regards 

View 1 Replies View Related

Sql Server 2005 Backup && Restore

Dec 27, 2007

Morning guys,
What is the equivalent to the taskpad on sql server 2005?
I want to be able to see when the last backup and restore was performed via transact sql ......
how would you go about that..... ?
what would I search... ?

View 2 Replies View Related

Restore Failed In Sql Server 2005.

May 19, 2008

Hi,
I am trying to restore a production copy. I have only the .bak file with me. While restoring, i m facing the following error. can u please help me... thanks in advance.

"MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file."

I have placed the data files(52GB) in D: drive(140GB free space) and transaction log file(100GB) in F: drive(465GB free space). Still i am facing this error...

-- Sudheer

View 8 Replies View Related

Restore Fail In Sql Server 2005

Jan 8, 2007

Posted - 09/07/2005 : 15:32:52
--------------------------------------------------------------------------------

Hi, i need help about restore a DB
I did a backup of a database using SQL Server Management Studio, but when i try to restore my database now, i get this error:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Restore failed for Server 'Athenas'. (Microsoft.SqlServer.Smo)

System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Smo)

What do i doing so bad??
Thanks for ur opinions and help.
Regards
------------------------------------------


seyha moth

View 8 Replies View Related

SQL Server 2005 - Restore Problem

Jun 27, 2007

Hello People,



I´ve backup my databases into a Tape Device that wa named as [Tape Device].

I´m using a job to perform this action.



Basically I´ve do a Full backup to this tape and apprently it´s working fine.

The problem is when I´m trying to perform a restore.



I´m using MSMS to perform this restore.

I´m tryin to see the contenct of the Tape and I´m getting this error:



===================================

System.Data.SqlClient.SqlError: Cannot open backup device 'Tape Device(\.Tape0)'. Operating system error 32(error not found). (Microsoft.SqlServer.Smo)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&LinkId=20476

------------------------------
Program Location:

at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteWithResultsAndMessages(String cmd, ServerMessageEventHandler dbccMessageHandler, Boolean errorsAsMessages)
at Microsoft.SqlServer.Management.Smo.BackupRestoreBase.ExecuteSqlWithResults(Server server, String cmd)
at Microsoft.SqlServer.Management.Smo.Restore.ReadMediaHeader(Server srv)
at Microsoft.SqlServer.Management.SqlManagerUI.BakDevMediaContents.InitMediaInfo(Restore sqlRestore)
at Microsoft.SqlServer.Management.SqlManagerUI.BakDevMediaContents.InitProp()


Additional informations:

- I´m logged on MSMS under a local Admin Account

- My SQL Server agent are using a System Account

- SQL Server 2005 SP1



I´ll really appreciate for any help.



Thanks,



José D. Lima

View 7 Replies View Related

SQL Server 2005 TR With IU/QUS - Restore From A Backup

Feb 22, 2007

Hello,

SQL Server 2005 TR with IU/QUS - Restore from a backup

Im trying to set-up the above using sp1. It all works fine until the final step, creating a subscription through sp_addarticle and Im getting the following error:

Msg 8152, Level 16, State 10, Procedure sp_MSget_synctran_commands, Line 198
String or binary data would be truncated.

This worked fine on my laptop with a small table with a couple of columns.Now Ive looked at this error and its like

select * from #art_commands

The table only has 49 columns in it, so its not huge.

What are my options for solving/getting around this problem:

1. Try and fix sp_MSget_synctran_commands, from memory, #art_commands has a nvarchar(max) column and Im wondering if this is related. must admit, havent really looked solidly at this sp yet.

2. SP2 doesnt look like it fixes this problem.

3. Create a bespoke method to replicate.

4. anymore for anymore?

It will be impossible to synchronize the databases so this restore from backup was my only option. Im a bit stuck now, can anyone help?

many thanks,

John P

View 3 Replies View Related

Sql Server 2005 Restore Failure

Aug 28, 2006

Hi,

I have a SQL Server 2005 Database that I would like to export to SQL Server Express.

How do I go about this?

I've tried backing it up, creating a new (blank) SQL Server Express Database and trying to restore it, but get the following message
------------------------------

Restore failed for Server 'PRODSOL-LAPTOP1SQLEXPRESS'. (Microsoft.SqlServer.Smo).

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'test' database. (Microsoft.SqlServer.Smo)

please help

Regrds

T.Anantha Krishnan

View 1 Replies View Related

SQL Server 2005 For TFS Backup&&amp;Restore

Oct 31, 2006



Hi, Our Sharepoint of TFS was down a couple of days ago. By luck, we had fully backed up SQL database. Now, the problem is, I uninstalled everything and tried to move TFS to a new server machine on the domain. I installed freshly everything and tried to restore all the databases (with tables also). Now the problems are these:

1 - Since there are lots of different backup-restore procedures telling on the Internet from some forums and this forum also: What should i do basically to make the configuration of Sharepoint and Reporting Services to make them work correctly?

2 - Secondly, even if i fail in the problem above, I, at least, want to save the source control files and sharepoint files. Where can I find them and how can I take them back to my new TFS installation?

3 - If these problems exist and Suppose on a new project on the new installation, i create new WI's, documents (with new Version Control information), and new SPS configuration. And on a new release,the problems are resolved. Is there some way that I can merge the former Backup with the new installation's database?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved