I’ve read
http://dbaspot.com/sqlserver-programming/463313-32-bit-clr-procedure-64-bit-sql-server.html
Does that mean it’s not possible to run a 32 bits assembly on a 64 bits SQL Server? If so, what would be some solutions?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, that’s true.
The solution is to build it for
Any CPU. If you are making calls out to native code via P/Invoke that requires it to be a 32-bit process, then you will have to either modify those calls to their 64-bit equivalents or find a different, managed way to achieve the result. I hope you’re not doing that though, because it’s a lot easier to break the stability guarantee usually afforded when using the CLR in SQL Server (it’s called theUNSAFEpermission set for a reason).