Invalid access to memory location. (Exception from HRESULT: 0x800703E6) in Microsoft.SqlServer.Replication

My team use the Sql Server 2005 Replication feature in order to synchronize between databases in different enviornments. One of the strange things though, is that the reference to Microsoft.SqlServer.Replication generated a weird “Invalid access to memory location. (Exception from HRESULT: 0x800703E6)” Error. After a quick google search I found this link which offers a nice workaround (this seems to be VS.NET 2005 bug) which worked for several folks out there but unfortunately it didn’t work for me. The search continues…

 

Oren Ellenbogen

 

4 thoughts on “Invalid access to memory location. (Exception from HRESULT: 0x800703E6) in Microsoft.SqlServer.Replication

  1. hi oren.
    this problem occurs when MSXML registration became corrupted

    The following commands should fix this problem:

    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll

    hope that it will help.
    good luck.

  2. I was having the same issue and it was driving me insane. I tried following the above recommendations and any others I found with no results. It turns out I had an instance of both SqlServer and SqlExpress running. On a hunch, I stopped SqlExpress and the problem went away. Possible because SqlExpress does not support replication and therefore cause Visual Studio to throw the error. Anyway, it worked for me. So the next person who gets this error can try this as well as all the other recommendations.

  3. FYI: The re-registering of the DLLs also fixed that problem for my developer who was using Strataframe.Net to build a web application with a SQLEXPRESS back-end.

    Thanks for the insight Shimon.

    Jason

Comments are closed.