Create assembly from System.Web in SQL Server

Hi I have following problem:

I need to create an assembly in SQL Server database from system.web.dll with following script:

CREATE ASSEMBLY SystemWeb 
FROM 'C:\WINDOWS\MICROSOFT.NET\FRAMEWORK\V2.0.50727\SYSTEM.WEB.DLL' 
WITH PERMISSION_SET = UNSAFE

At fist cannot create because I retrieve some error because don't find some dependencies dll.

I start to install first the dependencies like system.drawing.dll an so on without problem but when I'm trying to install system.web.dll it require System.EnterpriseServices.dll that require System.Runtime.Remoting.dll that require System.Web and here I'm inside a circle and cannot go OUT.

Somebody can help to resolve it?

Windows Server 2008 / SQL Server 2008 Enterprise

Thank you a lot in advance

5
задан marc_s 3 March 2011 в 12:26
поделиться