Article ID: 937685 - Last Review: June 5, 2007 - Revision: 1.1 Error message when you register an assembly in SQL Server 2005: "CREATE ASSEMBLY for assembly 'Microsoft.SqlServer.Smo' failed because assembly 'microsoft.sqlserver.batchparser' is malformed or not a pure .NET assembly"SYMPTOMSWhen you register an assembly in Microsoft SQL Server 2005, you receive the following error message: Server: Msg 6544, Level 16, State 1, Line 1 CREATE ASSEMBLY for assembly 'Microsoft.SqlServer.Smo' failed because assembly 'microsoft.sqlserver.batchparser' is malformed or not a pure .NET assembly. Unverifiable PE Header/native stub. Note The Microsoft.SqlServer.Management.Smo namespace resides in the Microsoft.SqlServer.Smo.dll file. CAUSEThis problem occurs because you cannot use the Microsoft.SqlServer.Management.Smo namespace in the common language runtime (CLR) integration feature in SQL Server 2005. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. | Article Translations
|
Back to the top
