Problem with DTSX

I am trying to execute an DTSX for Exporting data from SQL 2005 to Access Database. From SQL Wizard, the Export process is running fine. 

When I tried to execute the same using an Stored Procedure (
   XP_CMDShell 'dtexec /F E:\Shared\Export\Export_Fame_Entity.dtsx') it is getting executed for long time.. but never gets completed and thus, not giving any error also.

Help required.........

regards,
Ravi K
Mascon Global Limited


Answer this question

Problem with DTSX

  • mac318

    In SQL Server 2005 the xp_cmdshell is disabled in new installations. This may be your problem. The Books Online topic, Surface Area Configuration for Features, rovides more information about enabling xp_cmdshell.

    Also it looks like your command line is missing quotes. Try using "E:\Shared\Export\Export_Fame_Entity.dtsx"
    I ran a package successfully from the Query window in SQL Server Management Studio using the following syntax
    xp_cmdshell 'dtexec /f "C:\UpsertData.dtsx"'
    The SQL Server 2005 Books Online topic, dtexec Utility, provides a wealth of information about running packages by using dtexec.

    Marianne
    SQL Server User Education
    This posting is provided "AS IS" with no warranties, and confers no rights.

     


  • Problem with DTSX