# Error 1 an error occurred while validating hresult 80004005

Rated 3.94/5 based on 525 customer reviews

I somehow missed the entry above that noted that, maybe because it conflicts with what the MS article states the values should be ... Remember when Visual Studio had a setup project template? Then you moved to Wi X and after learning it for 3 months and still being confused, you just moved to Web Apps?Considering the high risk of solving the problem, and the fact that Visual Studio Installer projects have been deprecated in Visual Studio 2010 (see “Visual Studio Setup and Deployment Projects”: it is very unlikely that this issue will be fixed.I am trying to open a DB2 connection with a Transaction Scope and getting the following error. Hi, looking more at the error info your DBA reported it looks like the issue actually might be on the server side. I'm also quite confident that the call is being made correctly, as this code path has been tested extensively. :) You need to check with DBA to see why SQLTABLES SP is failing. Can you please verify that XA transactions are enabled in your MSDTC setup. SQL0998N Error occurred during transaction or heuristic processing. Here is the output when I run testconn40with the -dtc parameter: adding MSDTC step Step 1: Printing version info . This sounds like there is a bug in the calling program.

As you can see I still don't get an XA Transaction in step 5 but it errors.

If this machine is part of a cluster please note that this registry entry needs to be made for each node in the cluster. DLL For more information, see Help and Support Center at The registry entry looks like this: db2and the value is C:\Program Files\IBM\SQLLIB\BIN\db2 thanks dbl Ok, this got put on the back burner as my focus was directed else where but now I need to solve this.

If this machine is part of a cluster please note that this registry entry needs to be made for each node in the cluster. DLL For more information, see Help and Support Center at The registry entry looks like this: db2and the value is C:\Program Files\IBM\SQLLIB\BIN\db2 thanks dbl Hi, the XADLL key name must contain the full path, not just the dll name. the registry entry should look like this: C:\Program Files\IBM\SQLLIB\BIN\db2with value C:\Program Files\IBM\SQLLIB\BIN\db2Regards, Alex Hi, the XADLL key name must contain the full path, not just the dll name. the registry entry should look like this: C:\Program Files\IBM\SQLLIB\BIN\db2with value C:\Program Files\IBM\SQLLIB\BIN\db2Regards, Alex Alex, That worked. I'm still getting the error when running Stage 5 of the Test Conn40 app and am trying to get time with the DBA to research it, I'll let you know when I do.

Please create a string value in the registry under HKLM\Software\Microsoft\MSDTC\XADLL where the value name is the name of the dll in the format and the value is the full path of the Dll.

If you are not sure about the name or path of your XA Dll then please check the documentation for your XA provider.