Unable to Setup Replication in SQL 2008 R2 SP1
-
Friday, May 04, 2012 8:54 PM
While Setting up Replication and Generating Replication scripts, I am getting this error. Please help.
TITLE: Generate SQL Script
------------------------------
SQL Server cannot generate the SQL script.
------------------------------
ADDITIONAL INFORMATION:
The type initializer for '<Module>' threw an exception. (Microsoft.SqlServer.Rmo)
------------------------------
The C++ module failed to load during process initialization.
(msvcm80)
------------------------------
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.SqlServer.Replication)
------------------------------
BUTTONS:
OK
-----------------------------
- Edited by Vikranth8 Friday, May 04, 2012 8:56 PM additional info
- Moved by Papy Normand Wednesday, May 09, 2012 6:05 PM seems to be more related to SQL Server Replication than SQL Server Data Access (From:SQL Server Data Access)
All Replies
-
Saturday, May 05, 2012 8:48 PM
Hello,
Please, could you provide more informations about your problem ?
- could you explain how you are setting up Replication and generating Replication script ? In your own application calling the SQL Server ReportBuilder or in another way ?
- are you using VC++ code created by yourself ?
Please, could you have a look at this link ? http://msdn.itags.org/visual-csharp/50163/
It seems that this problem is described in this link , but i have not used VC++ since 2003 ( release date of VC# ) and my memory is failing about VC++ even if i used it in versions 4 to 6.
Don't hesitate to post again for more help or explanations.
Have a nice day
PS : A moderator ( with your agreement ) could move your thread to the SQL Server Replication Forum, but , i prefer to be sure that your problem is a SQL Server Replication problem , not a problem related to your own VC++ code ( or to the call of CLR in SQL Server )
Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

