unhandled exception when trying to open one particular sub package
Hi. Suddenly I am getting an unhandled exception when opening a DF in a subpackage from the CF. The sub package currently runs in production with no problems. I've made no changes to the subpackage. I even copied the production dtsx to my working folder but get the same error. The debug (after I choose debug in new instance of vs 2008) popup says Unhandled exception at 0x3f812b6a in devenv.exe: 0xC0000005: Access violation reading location 0x00000000. The corresponding code looks like... #pragma warning(suppress: 22008) /* prefast is confused */ onexitend = p + (onexitend - onexitbegin); onexitbegin = p; __onexitbegin = (_PVFV *)_encode_pointer(onexitbegin); } /* * Put the new entry into the table and update the end-of-table * pointer. */ *(onexitend++) = (_PVFV)_encode_pointer(func); __onexitend = (_PVFV *)_encode_pointer(onexitend); return func; } in a file called onexit.c. If I create an entirely new solution with only this subpackage, it opens fine. What's going on? I did send the error report to MS. Not sure that will get me anywhere though.
October 25th, 2010 5:35pm

You need to know what has changed since last time there was no error. Perhaps some KBs were installed or other updated performed. In any case this error means that there is some issue with the BIDS. I would try to find out if it is not due for a SP or any other updates, just run Windows Update. If nothing found try to repair the installation of BIDS.Arthur My Blog
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2010 5:51pm

thx Arthur. There were no changes to this sub package since there was no error. All other packages and sub packages open fine CF and DF wise. There is no sp involved. There were no installations. Before repairing BIDS, it would be nice to know what (if anything) breaks it. Otherwise I'll be chasing my tail. I rebooted my local and see the same problem. But when I first opened the entire solution this time, got the error that says Unable to cast COM object of type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageNeutralClass' to interface type 'Microsoft.SqlServer.Dts.Runtime.IObjectWithSite'. This operation failed because the QueryInterface call on the COM component for the interface with IID ....failed due to the following error: The application called an interface that was marshalled for a different thread. (... Following the latter I clicked ok. Reregistering the dts.dll didnt help either but may have gotten rid of the marshall issue.
October 25th, 2010 6:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics