Hi, All!
I have a CSharp assembly (with some WMI.NET calls) which requires
System.Management. How should I load it into SQL2005?
If I try
CREATE ASSEMBLY management from
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.management.dll' WITH
PERMISSION_SET = UNSAFE
outputs:
Warning: The Microsoft .Net frameworks assembly 'system.management,
version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a,
processorarchitecture=msil.' you are registering is not fully tested in SQL
Server hosted environment.
Warning: The Microsoft .Net frameworks assembly
'system.configuration.install
Warning: The Microsoft .Net frameworks assembly
'system.runtime.serialization.formatters.soap
Warning: The Microsoft .Net frameworks assembly 'system.windows.forms
Warning: The Microsoft .Net frameworks assembly 'system.drawing
Warning: The Microsoft .Net frameworks assembly 'accessibility
Warning: The Microsoft .Net frameworks assembly 'microsoft.jscript
Warning: The Microsoft .Net frameworks assembly 'microsoft.vsa
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should
be discarded.
in log:
SqlDumpExceptionHandler: Process 53 generated fatal exception c0000005
EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
Bye, Anatoli
|