+ Reply to Thread
Results 1 to 2 of 2

SQL job completing successfully but throwing the error

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    4

    SQL job completing successfully but throwing the error

    Dear Team,

    Kindly advise how do I resolve the below issue:

    Issue Description : I Have a SQL job scheduled to copy from local, refresh excel files and then upload to the SharePoint.

    Job is doing all fine. It refreshes the file and upload to the SharePoint though it throws the below massage when checked the job history in SQL.

    {Message
    Executed as user: REDMOND\v-mahonn. Microsoft (R) SQL Server Execute Package Utility Version 10.50.4000.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 04:04:00 Error: 2014-01-23 04:13:51.41 Code: 0x00000000 Source: Refresh Excel FileVbnet C:\Scorecard\FilesToRefresh\Daily\Premier Screening\Vendor Loyalty report\~$Loyalty Survey Results EMEA.xlsx Description: Excel cannot open the file '~$Loyalty Survey Results EMEA.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file. at Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad) at ST_71d7b1572b8d440babe9a44ea0da3ab2.vbproj.ScriptMain.Main() End Error Error: 2014-01-23 04:13:51.41 Code: 0x00000008 Source: Refresh Excel FileVbnet Description: The script returned a failure result. End Error DTExec: The package execution returned DTSER_SUCCESS (0). Started: 04:04:00 Finished: 04:13:51 Elapsed: 591.166 seconds. The package executed successfully. The step succeeded.
    }

    Kindly advise how I get rid of this msg.

    Manjula

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: SQL job completing successfully but throwing the error

    It seems one of the workbooks is open and your DTS job is trying to read the lock file. Perhaps you may configure it to ignore files whose names begin with a '~' character?
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. =LEFT function throwing up error
    By mcp2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-07-2013, 12:32 PM
  2. [SOLVED] Sumproduct throwing value error
    By LeapingLizard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2012, 05:33 PM
  3. Set Ranges Throwing Unknown Error
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2011, 08:41 AM
  4. Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM
  5. Throwing an error ... on purpose!
    By Sarah B via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1