Re: Error with simple maintenance plan



aaron.kempf@xxxxxxxxx (aaron.kempf@xxxxxxxxx) writes:
I've been getting nothing but errors recently; as I've been usign
maintenance plans.

Here is one of the error logs.

Executing the query "EXECUTE master.dbo.xp_delete_file
0,N'',N'',N'2008-03-14T00:56:18'
" failed with the following error: "Error executing extended stored
procedure: Invalid Parameter". Possible failure reasons: Problems with
the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.

The cause for the error message is obvious: there is no file name.
So, as for why there is not, I don't know. I avoid maintenance plans as
much as I can.

But people who have more experience and who want to help you, may be
interested in which version of SQL Server you are using, so please post
the output of SELECT @@version.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: the higher the cos , the faster?
    ... > believe to be the best order of operations to do the query. ... > can check all of the possible ways of executing the query, ... > possible to let SQL Server do its thing. ... > would I even consider using temp tables. ...
    (microsoft.public.sqlserver.programming)
  • ADO client disconnects after running a long query
    ... I am having a problem executing long running queries from an ASP application ... continue beyond the first query if it takes a while to run. ... connection to SQL Server is just dropped for some reason. ...
    (microsoft.public.scripting.vbscript)
  • web client disconnects from SQL Server - IIS timing out?
    ... I am having a problem executing long running queries from an ASP application ... continue beyond the first query if it takes a while to run. ... connection to SQL Server is just dropped for some reason. ...
    (microsoft.public.inetserver.asp.db)
  • web client disconnects from SQL Server - IIS timing out?
    ... I am having a problem executing long running queries from an ASP application ... continue beyond the first query if it takes a while to run. ... connection to SQL Server is just dropped for some reason. ...
    (microsoft.public.inetserver.asp.general)
  • ADO client disconnects after running a long query
    ... I am having a problem executing long running queries from an ASP application ... continue beyond the first query if it takes a while to run. ... connection to SQL Server is just dropped for some reason. ...
    (microsoft.public.inetserver.asp.components)

Loading