SQL Server Error - HRESULT E_FAIL has been returned from a call to a COM component

  • I have a huge 200MB .SQL file. When I try to open this in SQL server management studio 2008, I get the error -Error HRESULT E_FAIL has been returned from a call to a COM component. I am not sure if there is an error in my queries. But, I suspect that the reason could be that the file is too big.

    What could the reason be and how to fix it ? It does not happen when I open a 2-3 KB file.

  • A 200 MB .sql file? I guess it contains data, does it?

    Run it using sqlcmd.

    If you need to edit, try with a different text editor.

    -- Gianluca Sartori

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply