Showing posts with label exist. Show all posts
Showing posts with label exist. Show all posts

Wednesday, March 28, 2012

Maintenance Plan creation fails

I've been searching everywhere for a solution to this problem and no answers exist anywhere. When I try to create a new maintenance plan I get the following error. I've been told it may be related to SSIS but nobody has a solution. How do I fix this issue so I can create a maintenance plan.

Exception has been thrown by the target of an invocation. (mscorlib)
ADDITIONAL INFORMATION:
An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued
and failed.
An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued
and failed.

I have the same problem trying to create a maintenance plan via SQL management studio. The problem is on SQL2005 EE. I just applied SP1, the problem is still there.

However I have no problem doing the same task on a server with SQL2005 Standard Edition. I can create maintenance plans fine.

On both servers, I installed everything from the CD. That is SSIS is running on those servers.

So what is wrong with creating maintenance plan on SQL 2005 Enterprise Edition?

Please help!

NP

|||

Im having the same issue SQL 2005 EE. Works on one machine and but not on another machine. Both has same OS version, same SQL 2005 EE SP1. Any idea?

Dev

|||

I found that when I reinstalled SQL2005 EE with only core options (SQL Service, SQL Agent, SSIS), the maintenance problem is not there.

I guess when you installed all options of SQL2005 EE on the same machine, the maintenance plan problem occurs.

NP

Maintenance Plan creation fails

I've been searching everywhere for a solution to this problem and no answers exist anywhere. When I try to create a new maintenance plan I get the following error. I've been told it may be related to SSIS but nobody has a solution. How do I fix this issue so I can create a maintenance plan.

Exception has been thrown by the target of an invocation. (mscorlib)
ADDITIONAL INFORMATION:
An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued
and failed.
An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued
and failed.

I have the same problem trying to create a maintenance plan via SQL management studio. The problem is on SQL2005 EE. I just applied SP1, the problem is still there.

However I have no problem doing the same task on a server with SQL2005 Standard Edition. I can create maintenance plans fine.

On both servers, I installed everything from the CD. That is SSIS is running on those servers.

So what is wrong with creating maintenance plan on SQL 2005 Enterprise Edition?

Please help!

NP

|||

Im having the same issue SQL 2005 EE. Works on one machine and but not on another machine. Both has same OS version, same SQL 2005 EE SP1. Any idea?

Dev

|||

I found that when I reinstalled SQL2005 EE with only core options (SQL Service, SQL Agent, SSIS), the maintenance problem is not there.

I guess when you installed all options of SQL2005 EE on the same machine, the maintenance plan problem occurs.

NP

Monday, March 12, 2012

Maint. Plan

There is a Database Maintaince plan exist in my database but I want to check
what this database maintaince plan do? Can I know through any command or
query ?
YOu can watch the steps in the EM. Becasuse of not knowing if you have an
MSDE or not, i assume gtaht our are using an MSDE. In the msdb database
there are serveral tables for the jobs, you can qeyr them for further
information of the jobs,jobssteps and scheduling information:
Example:
SELECT dbo.sysjobs.name, dbo.sysjobs.enabled, dbo.sysjobs.description,
dbo.sysjobsteps.step_id, dbo.sysjobsteps.step_name,
dbo.sysjobsteps.command
FROM dbo.sysjobs INNER JOIN
dbo.sysjobsteps ON dbo.sysjobs.job_id =
dbo.sysjobsteps.job_id
Otherwise the recommondation od MS is not to touch the systemtables more
than necessary, so i mentioned also that there are serveral SPs in the MSDB
DB which are realted to the Jobs System:
sp_help_job
sp_help_jobstep
sp_help_jobserver
sp_help_jobschedule
sp_help_jobhistory
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
"Joh" <joh@.mailcity.com> schrieb im Newsbeitrag
news:uNKvw9PRFHA.2604@.TK2MSFTNGP10.phx.gbl...
> There is a Database Maintaince plan exist in my database but I want to
> check
> what this database maintaince plan do? Can I know through any command or
> query ?
>
|||Thanks for your reply but can you explain me about this like how can I
understand from the following command.
EXECUTE master.dbo.xp_sqlmaint N'-PlanID
C8754E1A-484E-42D5-95B7-91427E7ADB9E -WriteHistory -RmUnusedSpace 1000 15 '
I think now you got my question what I wanna ask ...
thanks
"Jens Smeyer" <Jens@.Remove_this_For_Contacting.sqlserver2005.de> wrote in
message news:OeSGaPQRFHA.2252@.TK2MSFTNGP15.phx.gbl...
> YOu can watch the steps in the EM. Becasuse of not knowing if you have an
> MSDE or not, i assume gtaht our are using an MSDE. In the msdb database
> there are serveral tables for the jobs, you can qeyr them for further
> information of the jobs,jobssteps and scheduling information:
> Example:
> SELECT dbo.sysjobs.name, dbo.sysjobs.enabled, dbo.sysjobs.description,
> dbo.sysjobsteps.step_id, dbo.sysjobsteps.step_name,
> dbo.sysjobsteps.command
> FROM dbo.sysjobs INNER JOIN
> dbo.sysjobsteps ON dbo.sysjobs.job_id =
> dbo.sysjobsteps.job_id
> Otherwise the recommondation od MS is not to touch the systemtables more
> than necessary, so i mentioned also that there are serveral SPs in the
MSDB
> DB which are realted to the Jobs System:
> sp_help_job
> sp_help_jobstep
> sp_help_jobserver
> sp_help_jobschedule
> sp_help_jobhistory
> HTH, Jens Suessmeyer.
> --
> http://www.sqlserver2005.de
> --
> "Joh" <joh@.mailcity.com> schrieb im Newsbeitrag
> news:uNKvw9PRFHA.2604@.TK2MSFTNGP10.phx.gbl...
>
|||Check out xp_sqlmaint in BooksOnLine for what the command and it's options
do. But you really need Enterprise manager to display the whole Maintenance
plan in an easily understandable format.
Andrew J. Kelly SQL MVP
"Joh" <joh@.mailcity.com> wrote in message
news:edrDm0QRFHA.2748@.TK2MSFTNGP09.phx.gbl...
> Thanks for your reply but can you explain me about this like how can I
> understand from the following command.
> EXECUTE master.dbo.xp_sqlmaint N'-PlanID
> C8754E1A-484E-42D5-95B7-91427E7ADB9E -WriteHistory -RmUnusedSpace 1000 15
> '
> I think now you got my question what I wanna ask ...
> thanks
> "Jens Smeyer" <Jens@.Remove_this_For_Contacting.sqlserver2005.de> wrote
> in
> message news:OeSGaPQRFHA.2252@.TK2MSFTNGP15.phx.gbl...
> MSDB
>

Friday, March 9, 2012

mail task

how to attach a xls file that will be created at run time using mail task. I get a file does not exist error if the file is not there.

If the file is not there, then obviously you would expect the task to fail.

If your are just having issues because at the start of execution the file is not there, but it will exist by the time the mail task actually runs, use the DelayValidation property. This will stop the mail task validating at the beginning of package execution, it will only validate immediately prior to the task execution, by which time you should have written the file.