Could not load package xxxxx because of error 0xC0014062

Could not load package xxxxx because of error 0xC0014062
Description: The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login Timeout Expired). The SQL statement that was issued has failed.


I have a SSIS package that executes fine through BIDS, but when execute the same using dtexec, I am gettig the above error:
The DTEXEC command is as below:

dtexec /Server LOCAL /SQL MIGRATE_FROM_ACQ

BUT IF I GIVE THE NAME OF THE SERVER IN THE COMMAND AS BELOW

dtexec /Server WIN-LCIHG6EMFGN /SQL MIGRATE_FROM_ACQ

I am getting the error as Option -LCIHG6EMFGN is not valid, eventhough I used square brackets while giving the server name as [WIN-LCIHG6EMFGN ]

Could some one provide the solution for the above problem that I am facing?


nagaraja_mrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dodge20Commented:
Try putting the servername in double quotes.
0
nagaraja_mrAuthor Commented:
I tried putting the servername in double quotes, that too failed with the same error as Option -LCIHG6EMFGN is not valid
0
Steve HoggITCommented:
Did you try using the dtexecui.exe gui to build the string?
0
Steve HoggITCommented:
/SQL "\MIGRATE_FROM_ACQ" /SERVER "WIN-LCIHG6EMFHN" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF  /REPORTING EW
Make sure the package is found, I get the same error using your data but I beleive that is because it does not exist here.
I believe you just need a backslash before the package name. See above.
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nagaraja_mrAuthor Commented:
Basically I took the command from the Exexute Package utility, provided the password and executed the command in the command line utility and it worked fine.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.