- Remove From My Forums
-
Question
-
Hello, I am not a SQL guru but have been tasked with getting our SQL server backed up. I am using a Barracuda appliance which seems to be working.
My issue is I have to have a maintenance plan to truncate the logs as Barracuda does a VSS backup and doesn’t do that for me.
I created a plan
Shrink Database
Reorganize Index
Rebuild Index
Update Statistics
Maintenance Cleanup Task
This task runs before the Barracuda backup. However it keeps erroring out and it increases the size of the log file by quite a bit after it runs.
I get the 12291 error followed by a Warning from SQLSERVERAGENT code 208 SQL Server Scheduled Job ‘Truncate Logs.Subplan_1’ (0xC44F9B7DFAC4C74D89B6D5B1AD4F468D) — Status: Failed — Invoked on: 2018-05-17 21:09:57 — Message: The job failed. The
Job was invoked by User sa. The last step to run was step 1 (Subplan_1).Any ideas on where I might of went wrong?
Thank you!
- Remove From My Forums
-
Question
-
I have an SSIS package that runs just fine. However, when I schedule it as a job, it fails with this in the Event Viewer:
Source: SQLISPackage
Event ID: 12291
Description: Package «<package name>» failed.
I have many other SSIS packages scheduled on the same server using the same security. What can be wrong, or where can I look to find out what the problem is?
Neal
Answers
-
Got it! UNC versus mapped drives!
The manual process uses my credentials, which has a mapped drive reference. The job uses the SQL Server Agent account, which does not. I just found out that the programmer is using the mapped drive.
Solved!
- Remove From My Forums
-
Question
-
I have an SSIS package that runs just fine. However, when I schedule it as a job, it fails with this in the Event Viewer:
Source: SQLISPackage
Event ID: 12291
Description: Package «<package name>» failed.
I have many other SSIS packages scheduled on the same server using the same security. What can be wrong, or where can I look to find out what the problem is?
Neal
Answers
-
Got it! UNC versus mapped drives!
The manual process uses my credentials, which has a mapped drive reference. The job uses the SQL Server Agent account, which does not. I just found out that the programmer is using the mapped drive.
Solved!
- Remove From My Forums
-
Question
-
I have an SSIS package that runs just fine. However, when I schedule it as a job, it fails with this in the Event Viewer:
Source: SQLISPackage
Event ID: 12291
Description: Package «<package name>» failed.
I have many other SSIS packages scheduled on the same server using the same security. What can be wrong, or where can I look to find out what the problem is?
Neal
Answers
-
Got it! UNC versus mapped drives!
The manual process uses my credentials, which has a mapped drive reference. The job uses the SQL Server Agent account, which does not. I just found out that the programmer is using the mapped drive.
Solved!
- Remove From My Forums
-
Question
-
Hello, I am not a SQL guru but have been tasked with getting our SQL server backed up. I am using a Barracuda appliance which seems to be working.
My issue is I have to have a maintenance plan to truncate the logs as Barracuda does a VSS backup and doesn’t do that for me.
I created a plan
Shrink Database
Reorganize Index
Rebuild Index
Update Statistics
Maintenance Cleanup Task
This task runs before the Barracuda backup. However it keeps erroring out and it increases the size of the log file by quite a bit after it runs.
I get the 12291 error followed by a Warning from SQLSERVERAGENT code 208 SQL Server Scheduled Job ‘Truncate Logs.Subplan_1’ (0xC44F9B7DFAC4C74D89B6D5B1AD4F468D) — Status: Failed — Invoked on: 2018-05-17 21:09:57 — Message: The job failed. The
Job was invoked by User sa. The last step to run was step 1 (Subplan_1).Any ideas on where I might of went wrong?
Thank you!
- Remove From My Forums
-
Question
-
Hello, I am not a SQL guru but have been tasked with getting our SQL server backed up. I am using a Barracuda appliance which seems to be working.
My issue is I have to have a maintenance plan to truncate the logs as Barracuda does a VSS backup and doesn’t do that for me.
I created a plan
Shrink Database
Reorganize Index
Rebuild Index
Update Statistics
Maintenance Cleanup Task
This task runs before the Barracuda backup. However it keeps erroring out and it increases the size of the log file by quite a bit after it runs.
I get the 12291 error followed by a Warning from SQLSERVERAGENT code 208 SQL Server Scheduled Job ‘Truncate Logs.Subplan_1’ (0xC44F9B7DFAC4C74D89B6D5B1AD4F468D) — Status: Failed — Invoked on: 2018-05-17 21:09:57 — Message: The job failed. The
Job was invoked by User sa. The last step to run was step 1 (Subplan_1).Any ideas on where I might of went wrong?
Thank you!
copy database error 12291 and 208
Discussion in ‘microsoft.public.sqlserver.tools’ started by Philippe, Sep 1, 2006.
-
Hi,
when trying to copy a database from SQLSERVER 2000 To SQLSERVVER 2005
using Copy Database Wizard (CDW) it fails and give two errors in events:Source: SQLISPackage Event ID: 12291
and
Event Source: SQLSERVERAGENT Event ID: 208using text error reporting i find :
«StackTrace: at
Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
at
Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.OpenConnection(Server&
server, ServerProperty serverProp)
InnerException—>An error has occurred while establishing a connection
to the server. When connecting to SQL Server 2005, this failure may be
caused by the fact that under the default settings SQL Server does not
allow remote connections. (provider: Named Pipes Provider, error: 40 —
Could not open a connection to SQL Server)»First erver is running Windows 2000 server,SQLSERVER 2000
destination server is running Windows 2003 server and SQLSERVER 2005.remote connections named Pipes and TCP/IP connection are allowed,
I you have an idea ..

ThanksPhilippe
-
Advertisements
-
Hi,
Go to SQL Server Surface Area configurationf rom SQL Server 2005 program
groups:-1. Click Start, point to Programs, point to Microsoft SQL Server 2005,
point to Configuration Tools, and then click SQL Server
Surface Area Configuration.
2. On the SQL Server 2005 Surface Area Configuration page, click Surface
Area Configuration for Services and Connections.
3. On the Surface Area Configuration for Services and Connections page,
expand Database Engine, click Remote Connections, click
Local and remote connections, click the appropriate protocol to enable
for your environment, and then click Apply.Stop and Start the SQL Server service.
If you are running SQL Server 2005 by using an instance name and you are not
using a specific TCP/IP port number in your connection string, you must
enable
the SQL Server Browser service to allow for remote connectionsAfter doing this changes try again
Thanks
Hari
SQL Server MVP -
Advertisements
-
Hari Prasad a écrit :
Thanks you for your fast answer,
I tried to doso, TCP/IP and Named Pipes are allowed for remote
connection as needed and the SQL Server Browser service is enabled.I tried again but it failed at the last step (running sql agent) whith
the same error message.(I can acces without problem to the both databases whith
ServerManagement Studio)Philippe
-
That’s kind of strange error since the job always have been running
on the destination server everytime I’ve tried it. And it can’t run
on the source server anyway, since the source is SQL 2000.So why would Integration Services not be able to connect locally? Hm,
exactly how did you specify the target server?And from which machine did you initiate the copy? From the destination
server? Or a third machine?And which method did you pick? SMO Method or attach/detach?
(I did just try SMO — it failed with an exception «the DefaultSchema
property is not available on SQL 2000″ — it reinforces my opinion
that the CDW is still an early beta.)By the way, always make it a habit to send the CDW log to text file.
-
I did some research on that. Apparently there was something spooky with
the database I tried. (One of my several junk databases for various
funny tests.) I tried to reproduce it by starting from scratch, but I did
not succeed. I did not dig too deep into it, though. -
Hello Philippe,
The last step in Copy Database Wizard executes a SSIS package in a SQL Agent
Job ( Job executed by SQL Server Agent service). Please make sure the SQL
Server Agent service start up account credentials has sufficient permissions
to access source and target SQL Server. and databases.If you could send us a detailed repro scenario through Connect web site,
our product team could take a look at this issuehttps://connect.microsoft.com/SQLServer/Feedback
Click on Submit Feedback
Please include the following details
SQL Server Version, Edition
Copy Database Wizard Log files -
Advertisements
- Ask a Question
Want to reply to this thread or ask your own question?
You’ll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.