Problem With Database Maintenance Wizard

Jun 16, 2007

Hi



I have upgraded my Production Server from SQL Server 7 to SQL SERVER 2005 Enterprise Edition.
There are about 5 user databases(excluding 4 system databases).When I try to create a Database
Maintenance plan to create backup jobs for the user databases,they are no being listed/shown in the
DataBase Maintenance Plan wizard of SSMS(2005).What could be the reason ......?

View 3 Replies


ADVERTISEMENT

SQL Server Database Maintenance Wizard

Feb 13, 2002

I've heard from several sources that there are issues using the maintenance wizard with 7.0 & 2000 databases. I'm looking for information to either support or refute this. Can anyone help?

View 2 Replies View Related

Database Maintenance Plan Wizard

Apr 8, 1999

I ran the Maintenance Plan Wizard and created 2 plans, one for the system databases and one for the User databases. While running the wizard I was asked if I wanted to configure an operator to e-mail reports to.

Once that operator is selected, how can you change it without recreating the maintenance plan?

This is separate from an operator that can be configured within each job.

Thanks,
C. Fischer

View 1 Replies View Related

Database Maintenance Plan Wizard

Apr 15, 1999

When i was going to run the Database Maintenance Plan Wizard on one of my databases, i received the following warning:

"Database 'HGB' is over 400MB in size. It is not recommended that you run the Database Maintenance Plan Wizard on databases exceeding this size. Do you still want to continue?"

My database has 1GB data space, with 757MB free and 341MB log, with 211MB free. What´s the matter on having too much free space? I thought that was good...

View 1 Replies View Related

Database Maintenance Plan Without Using The Wizard

May 2, 2008

Hi everybody,
I need a way to create a database maintenance plan in SQL Server 2000, without using the wizard. So, I am looking for a way to create this plan either using TSQL or (even better) using VB6 code (maybe by using SQLDMO library). I want the end-user of my vb6 application to decide for the options of the plan (like scheduling or backup directory). Does anybody have any sample vb6 code for doing this?
Thanks in advance.

View 1 Replies View Related

Maintenance Plan Wizard Vs Tsql Maintenance

Aug 17, 2007

Hello,

I have a question that I hope someone can clear up for me. I have come across a number of different suggestions on DB maintenance, for example reindexing with the following script:

USE DatabaseName --Enter the name of the database you want to reindex

DECLARE @TableName varchar(255)

DECLARE TableCursor CURSOR FOR
SELECT table_name FROM information_schema.tables
WHERE table_type = 'base table'

OPEN TableCursor

FETCH NEXT FROM TableCursor INTO @TableName
WHILE @@FETCH_STATUS = 0
BEGIN
DBCC DBREINDEX(@TableName,' ',90)
FETCH NEXT FROM TableCursor INTO @TableName
END

CLOSE TableCursor

DEALLOCATE TableCursor

My question is, doesn't the maintenance plan have this functionality inherent in it when you create the maintenance jobs to reindex? Is there a benefit to scripting things out vs just using the maintenance plan wizard for this sort of thing and any of the items it covers? I came from an Oracle background where this was a no-brainer but I am a bit confused on the choices with SQL Server.

Thanks.

View 1 Replies View Related

Maintenance Wizard

Jul 20, 2005

I'm trying to backup several databases to UNC folders. I'm able to do itmanually for each database, but when I set up the maintenance plan it failsbecause SQL tries to use the SQL administrator account to push the data.The million dollar question is how does one change which account is runningthe maintenance?

View 2 Replies View Related

DB Maintenance Plan Wizard

Sep 14, 2000

I have created the backup plan for all the 40 user databases on one of the production servers.Scheduled to run the backup at Sunday 2.00AM every week on to a different drive on the same server.If all the databases are backed up at the same specified time,will it effect the performance or anything?Under the maintenance plan wizard,there is no option to select different times for different databases.Total size of all the databases will be 10GB.Does it take the backups one after another DB or all at the same time which is specified?Any idea on potential problems?
Thanks!!

View 1 Replies View Related

Maintenance Wizard Error...

Dec 18, 2006

Hi,

I'm just trying to use the Maintenance Wizard for the first time, but the SQL Server Management Studio shows me an error message about 'Agent XPs' is not running on my server; and I should activate it through 'sp_configure'?

I've tried to understand 'sp_configure' by searching it on MS TechNet, etc. But of course, because I'm not a SQL Server expert user; I don't even know how to use 'sp_configure' at all....

Anyone know how to work this thing around? Appreciate all the help...

PS: I almost forgot to mention, that I'm using MS Windows Small Business Server R2 2003 with SQL Server 2005 Workgroup Edition.

View 6 Replies View Related

Maintenance Plan Wizard Missing

Jul 9, 2007

Under Management, all I have is SQL Server Logs and Activity monitor, no option to create a maintenance plan or run the wizard ??

View 4 Replies View Related

T-SQL Restore Of A File Created Through Maintenance Wizard

May 9, 2000

I am trying to restore a file that was created using Database Maintanence Wizard on a server that is now totally crashed.

I want to use T-SQL to restore the physical file to a new name and location.
Using the backup command, I get the error that I must use the with move option??

What are the required steps to restore from a
physical file (with a bak extention)???

I do not know the original database/log file names. Any advice?

Thanks
Ziggy

View 1 Replies View Related

SQL 2005 SP2 : Cannot See DB IN SQL 7.0 CMP MODE In Maintenance Plan Wizard

Jan 30, 2008



Hi,


I've small issue with SQL 2005 SP2. We have migrated database from another server with backup/restore procedure. Seems that db is properly set with cmp level 7.0. We are using standard maintenance plan for all SQL 2005 servers with option "backup all user databases", to have less work. Now it seems that dbs in SQL COMPATIBILITY LEVEL 7.0 cannot be backuped with Maintenance plan. They are not listed in the list of the databases and Maintenance plan is always reporting failure :

"Database '<DBNAME>' is not valid to be included in the maintenance plan."


Is there any way to fix this? Or can I safely switch db to CMP Level 8.0 at least?

Thanks for help

View 4 Replies View Related

How To Call &"Maintenance Plan Wizard&" In SSMS

Apr 25, 2008

I need to write my own application to start SQL Server Management Studio. What's more, when SSMS appears, the "SQL Server Maintenance Plan Wizard" is also required to be appeared. So could i get some suggest on implementing this scenario?
Thanks

View 1 Replies View Related

Import Wizard - Using Query For Remote Database To Compare Local Database

Apr 10, 2008

I am trying to use the Import Wizard to setup a daily job to import new records based on an ID field (PK). The source database is remote and a replica. I am inserting new records to update my table called the same thing. Both are SQL Native Client


Code Snippet
select *
from [CommWireless].[dbo].[iQclerk_SaleInvoicesAndProducts] as S1
join [IQ_REPLICA].[dbo].[iQclerk_SaleInvoicesAndProducts] as S2
on S1.SaleInvoiceID = S2.SaleInvoiceID
where S1.SaleInvoiceID > S2.SaleInvoiceID


When I parse the query, I keep getting an error message.

Deferred prepare could not be completed.
Statement(s) could not be prepared.
Invalid object name 'IQ_REPLICA.dbo.iQ_SaleInvoicesAndProducts'. (Microsoft SQL Native Client)

Anyone know an easy why to get this to work? Or should I add a create table to verify new records?

View 8 Replies View Related

Could The ADS Access Database Sychronizer Wizard Accomodate A Remote Database?

Jan 4, 2008



I've used the ADS sample program and it works well. I looked at the code and changed it to VB (sorry, I'm not biligual yet), and have tried to 'adjust' it so I can connect to a remote PC (XP running IIS) instead of the local PC using the workgroup information database (system.mdw). Any ideas of the connection string that could make the connection?..my intention is to RDA once a week between a mobile device (3g/gsm) and a 'poor man's' IIS web server.
I've tried everything I can think of, and I'm sure its possible since all I'm doing is changing the connection path.

View 1 Replies View Related

How Do I Create A Database Wizard To Install My Database Anywhere

Nov 9, 1999

Hi.. i have created a project which uses SQL 7 as a database and have finished it. MY supervisor wants me
to create a wizard that will be able to install the database on any NT 4.0 machine. How do i start and go about doing
it

Please help
thanks

View 1 Replies View Related

Database Maintenance

Feb 14, 2000

I am looking for opinions of setting up a database maintenance plan. I want to know if it is safe to trust the wizard and let it set up all of the jobs, or if it is better to write your own procedures to handle backups and maintenance as in 6.5. All sugestions and opinions are welcome. Thanks.

View 2 Replies View Related

Database Maintenance

Feb 2, 2000

For SQL server 7.0, is it necessary to schedule database maintenance plan on a regulare basis? I know it is necessary for SQL server 6.5.
Thanks.
Su Ge

View 1 Replies View Related

Database Maintenance

Apr 12, 1999

SQLMaint is run once a week for the following a database on SQL 6.5. The following is the information for the database when I see it through the Enterprise Manager:

Data Size 650 MB
Data Space Available 0.00
Log Size 360
Log Space Available 359.99

The following is the syntax built by the DATABASE Maintenance Wizard:

SQLMAINT.EXE -D CATS -CkDB -CkAl -CkTxtAl -CkCat -UpdSts -RebldIdx 100 -Rpt E:MSSQLLOGCATS_maint.rpt
It runs once a week and takes about 40 mins and runs successfully. Last it run was 4/11/99 at 2:00 AM

The result set I get from sp_spaceused is as follows:

database_name database_size unallocated space
CATS 1010.00 MB 273.96 MB

reserved data index_size unused
------------------ ------------------ ------------------ ------------------
753710 KB 280360 KB 426494 KB 46856 KB


What I don’t understand is how come the data space available shows 0 in Enterprise Manager? Shouldn't SQLMAINT, which is run once a week, allow for correct information to be reported?

Could someone please explain.
Thanks
Shashu

View 2 Replies View Related

Database And Log Maintenance

Jul 20, 2005

Running SQL Server 2000 Enterprise Edition SP3. The database is alsoused by Microsoft Project Server 2002 and also has OLAP views, so thedatabase is being used to view/run cubes in the Analysis Manager.What is the best way of shrinking the database size and its log file too?Is there an automatic way to do this with a maintenance plan or i haveto manually run a SQL statement periodically?What are the best practices?I have a database that the size of it is 260megs and now the log file isover 800megs...Everytime i run the following:BACKUP LOG DBName WITH TRUNCATE ONLYDBCC SHRINKDATABASE (DBName, 10, TRUNCATEONLY)When running it, i get the following 2 records returned:DbId FieldId CurrentSize MinimumSize UsedPages EstimatedPages7 1 32304 128 28152281527 2 160 128 160128I don't know what the above 2 records mean. I am also concerned if i shouldbe running that statement or not.Also concerned as to why the Windows Server 2003 (Enterprise Edition)always creates a CRITICAL error in the Application event viewer with EventIDnumber 17055, source being MSSQLSERVER and the description of the event:18278:Database log truncated: Database: DBName.If it's a critical error message, then what i am doing is bad? Am i damagingmy database?Within like 7-10 days of running the above statement, the log file becomescloseto 1 GB again! How can i find out what causes the log file to grow that big?Is it beingcaused by running some OLAP views or what? The db has about 20 usersconnected to itusing an ASP web aplication as the front-end, and MSP Professional 2002 alsoto connectto the Project Server 2002 (which uses the same database as the aboveDBName).I would appreciate any help.Thank you very much

View 4 Replies View Related

Database Maintenance

Oct 15, 2007



I have been looking through the data files directory for my databases and noticed that the log (ldf) files of some of the databases are from 2GB to 4.5GB where as the data files are under 500MB. If I shrink the log files what affect does this have on the database? Should I be setting up regular shrink jobs on the log files?

Any help would be very much appreciated.

View 5 Replies View Related

Database Publishing Wizard

May 27, 2008

We are trying to script out database schema and data with the Database Publishing Wizard and are having problems with output script trying to create views and stored procedures before the tables they depend on.
I've seen discussion of this on their codeplex site and back in April 2007 they said that the CTP they just released fixed the problem - but we are still seeing it.  Does anyone know a solution for this (beyond the obvious copy and pasting into the right order)?
What we are trying to do is move the SQL and some basic reference data into source control and a CI process. 

View 2 Replies View Related

Database Copy Wizard

Feb 24, 2004

I was looking at the Database Copy Wizard to copy a database. But it says my local system does not have the permission to copy files over the network. I looked over some tuturials and changed the settings in the Security, System Account, was using my local account which has the sysadmin role, which should allow me to copy? not sure whether I am right? Any ideas as to what I am doing wrong?


Thanks in advance,

nb178856

View 3 Replies View Related

Copy Database Wizard

Nov 3, 2004

Hello, I am trying to copy my database tables and stored procedures to my local machine. I keep gettin gthis error
CDW Error Message

X "Your SQL Server Service is running under the local system account. You need to change you SQL Server Sevice account to have the rights to copy files over the network."

What do I do to correct this?

Thanks,
Eric

View 4 Replies View Related

Using Copy Database Wizard

Jan 9, 2002

Hi,

I am attempting to use the Copy Database Wizard to copy databases from SQL Server 7 to a 2000 box. I scripted and then dropped all replications but I am still receiving an error stating that the wizard cannot be used due to replication being present. Does any know how I can work around this and still be able to use the wizard?

Thank You

View 1 Replies View Related

Copy Database Wizard

Jan 14, 2008

Hi All,

I am using a Copy Database Wizard to copy SQL 2000 db to SQL 2005. At the Execute SQL Agent Job step I get the following error:

The directory 'LocalApplicationData' does not exist.

Any ideas?

Thanks.

View 5 Replies View Related

Copy Database Wizard

Feb 19, 2002

Hi, I'm trying to copy a database from a prod server to a development server and it keeps failing. The job first creates the share with no problem and then puts the database in single user mode. It then detaches the database succesfully but we keep failing on the copy file step. The step error code is 80004005. The problem is not space there is plenty on the destination server. I've tried running the job using both the administrator and sa logins. Does anyone have any suggestions?

View 1 Replies View Related

Copy Database Wizard

Jan 14, 2008

Hi All,

I have posted this thread this morning but I can't seem to find it. So I will post it again. I am using the Copy Database Wizard to copy SQL 2000 db to SQL 2005. At the Execute SQL Agent Job step I get the following error:

The directory 'LocalApplicationData' does not exist.

Any ideas?

Thanks.

View 10 Replies View Related

Using Copy Database Wizard

Apr 20, 2007

am trying to copy a database fomr one server to another.. i keep getting errors and i dont know what i am doing wrong.. am using the sql management object method... first i was getting errors about sql server agent being disabled.. so i enabled it on both the servers... now i am getting the following error on the last step:

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

Could not load type 'Microsoft.SqlServer.Management.Smo.Agent.JobBaseCollection' from assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. (Copy Database Wizard)

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

at Microsoft.SqlServer.Management.CopyDatabaseWizard.PackageCreator.CreateAgentJob()
at Microsoft.SqlServer.Management.CopyDatabaseWizard.PackageCreator.CreatePackage()
===================================

heres the report:

Performing operation...

- Add log for package (Success)

- Add task for transferring database objects (Success)

- Create package (Success)

- Start SQL Server Agent Job (Stopped)

- Execute SQL Server Agent Job (Stopped)


can anyone help... thanks!

View 8 Replies View Related

Copy Database Wizard

Oct 10, 2007

When I use the Copy Database Wizard to create a SQL job it doesn't work. I get an error in the log file that says something like "Source database is not set to an instance". (I forget exactly, its been a while and it happens at work)

I've tried everything I can think of.

The source and destination are on the same server, and the SQL account is a local admin on the machine.

Any ideas?

Thanks

View 20 Replies View Related

Using The Copy Database Wizard

Nov 24, 2005

Hi to all,I'm trying to use the copy database wizard to copy a database from the2000 version to the 2005 version of sql server. I choose not to copylogins so I expect to find a database with only an administrative logino none at all. When I start the created package it throws an errorsaying:errorCode=-1073548784 description=Executing the query "EXECdbo.sp_grantdbaccess @loginame = N'PresIng1', @name_in_db = N'PresIng1'" failed with the following error: "'PresIng1' is not a valid login oryou do not have permission.". Possible failure reasons: Problems withthe query, "ResultSet" property not set correctly, parameters not setcorrectly, or connection not established correctly.I told the wizard NOT to transfer logins. What is it doing?In the origin engine there's mixed mode auth (win + sqlserver) and indestination engine there's only win auth: can it be an issue?Thanks,Gabriele

View 1 Replies View Related

Using Database Copy Wizard

May 23, 2008



I am trying to make a copy of my test database to send to my vendor for troubleshooting. I am copying to the same server.
I get the following error:

05/23/2008 08:13:56,,Error,[298] SQLServer Error: 15404<c/> Could not obtain information about Windows NT group/user 'Domainmyaccount'<c/> error code 0x5. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

View 11 Replies View Related

Copy Database Wizard

Oct 22, 2007



When i am using copy database wizard and connecting to destination server i have this error message been displayed..
i am trying to transfer 2000 databases to 2005 databases.

CDW error message

cannot connect to server.please check server name and try again.

View 12 Replies View Related







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