Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COI found that the problem was actually not the fact that I'm using .NET 3.5 as a target, but I was referencing the wrong version of the sgen.exe tool, which in this case I needed the x64 version of 6.0A (which translates to .NET 3.5) at this path: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\sgen.exe. Now I am able to build the correct version of the serialization assembly, upload it, and also use it.
      singulars
    2. COAlso, I would not say this is a bad idea at all to have CLR invoke a .NET Web Service. I am restricting my CLR to run under a user account with EXTERNAL_ACCESS permissions. The DLL is strong-name signed and the user account is mapped to an asymmetric key for this DLL. Its very secure. Only two DLL files had to be imported into the database: the CLR and the serialization DLL for the CLR, which helps serialize the generated proxy class using the wsdl tool, in which I had kept only the constructor and synchronous methods. Its scary how secure it is.
      singulars
    3. COSince the DLL contains a Web Reference, the DLL files it loads in are already supported by MSSQL Server, so I did not need to import other DLL files like you would for creating a proxy to a WCF service. Also, the only unfortunate downside to me using x64 as a target architecture was that I had to manually reference assemblies for x64 so that my project would build by unloading it and editing the .csproj file.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload