Re: Assembly could not be installed because existing policy would keep it from being used
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Wed, 22 Apr 2009 17:36:32 +0300
MS
What if you change to
with permission_set = SAFE ?
"MS" <adriandams@xxxxxxxxx> wrote in message
news:O5h%23Pa1wJHA.988@xxxxxxxxxxxxxxxxxxxxxxx
This is the query I am using (yes, clr is enabled. the only query below
that fails is the last one)
sp_configure 'clr enabled', 1
go
reconfigure
go
exec sp_dbcmptlevel 'IncuityStore', 90
go
alter database IncuityStore set trustworthy on
go
Create assembly [MyAssembly]
from 'C:\svndev\Services\MyAssembly.dll'
with permission_set = unsafe
"Uri Dimant" <urid@xxxxxxxxxxx> wrote in message
news:eeK9wP1wJHA.1212@xxxxxxxxxxxxxxxxxxxxxxx
MS
Can you post the exact command, btw, have you enabled CLR on the server ?
"MS" <adriandams@xxxxxxxxx> wrote in message
news:un15fM1wJHA.5672@xxxxxxxxxxxxxxxxxxxxxxx
I have an application that loads a dotnet assembly into sqlserver and it
works fine on my dev machine, but fails with the following error on the
customers machine.
Assembly 'MyAssembly' could not be installed because existing policy
would keep it from being used
I have looked into the enterprise, machine and user code access policies
and they all seem to allow execution. At any rate, I don't see any
difference between the policies on the target machine and those on my
dev machine, but I guess I'm not looking in the right place.
Does anyone know what policy is being referred to in this error?
.
- Follow-Ups:
- References:
- Assembly could not be installed because existing policy would keep it from being used
- From: MS
- Re: Assembly could not be installed because existing policy would keep it from being used
- From: Uri Dimant
- Re: Assembly could not be installed because existing policy would keep it from being used
- From: MS
- Assembly could not be installed because existing policy would keep it from being used
- Prev by Date: Re: Assembly could not be installed because existing policy would keep it from being used
- Next by Date: Re: Assembly could not be installed because existing policy would keep it from being used
- Previous by thread: Re: Assembly could not be installed because existing policy would keep it from being used
- Next by thread: Re: Assembly could not be installed because existing policy would keep it from being used
- Index(es):
Relevant Pages
|