Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Transactional Replication Error

$
0
0
Publisher (pub is own Distributor) SQL 2008 Enterprise SP1 on Win2003 x64 Server SP2

Created a trans repl pub with 1 table and recieved the following error. I have created multiple trans reps with no errors.
Error messages:
Message: A .NET Framework error occurred during execution of user-defined 
routine or aggregate "sp_scriptdropinsreconciliationproc_sqlclr": 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlConnection' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> 
System.Configuration.ConfigurationErrorsException: The value of the property 
'name' cannot be parsed. The error is: Request failed. (C:\Program 
Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Binn\sqlservr.config 
line 21)
System.Configuration.ConfigurationErrorsException: 
  at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] 
keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, 
SectionRecord sectionRecord, Object parentResult)
  at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord 
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean 
getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
  at 
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String 
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, 
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
  at 
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String 
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, 
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
  at System.Configuration.BaseConf
	...
System.TypeInitializationException: 
  at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
  at 
Microsoft.SqlServer.Replication.TransSqlClrCodeGenerators.ScriptDropReconciliationProcedure(SqlInt32 
articleId, CustomStoredProcedureType customProcedureType)
  at Microsoft.SqlServer.Replication.TransSqlC...
A .NET Framework error occurred during execution of user-defined routine or 
aggregate "sp_scriptdropdelreconciliationproc_sqlclr": 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlConnection' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> 
System.Configuration.ConfigurationErrorsException: The value of the property 
'name' cannot be parsed. The error is: Request failed. (C:\Program 
Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Binn\sqlservr.config 
line 21)
System.Configuration.ConfigurationErrorsException: 
  at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] 
keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, 
SectionRecord sectionRecord, Object parentResult)
  at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord 
factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean 
getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
  at 
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String 
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, 
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
  at 
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String 
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, 
Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
  at System.Configuration.BaseConf
	...

Viewing all articles
Browse latest Browse all 4054

Trending Articles