![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have created a C# library containing CLR stored procedures and user- define functions using Visual Studio 2005, and I have used Visual Studio to deploy the assembly to a SQL Server 2005 instance successfully, of course these sps and udfs are used by other T-SQL sps and udfs. Now the assembly has a new version, and I want to use it to replace the original one, but when I use Visual Studio 2005 to deploy the new assembly, the following error occurs: Error 1 Cannot drop the function 'TranslationStringLike', because it does not exist or you do not have permission. Cannot drop the function 'TranslateEngString', because it does not exist or you do not have permission. Cannot drop the function 'TranslateEngStringReverse', because it does not exist or you do not have permission. DROP ASSEMBLY failed because 'FirmBankCLR' is referenced by object 'TranslationStringLike'. FirmBankCLR That is the assembly is dependent by other objects, it can't be dropped until it is not dependent by other objects. How can I resolve this problem using Visual Studio 2005 or something else? |
#3
| |||
| |||
|
|
I learnt just the other day that ALTER ASSEMBLY is not in the repetoir of Visual Studio. I don't use Visual Studio to work with assemblies but stick to the command line. And all impression I get is that using Visual Studio just makes things harder. |
#4
| |||
| |||
|
|
I learnt just the other day that ALTER ASSEMBLY is not in the repetoir of Visual Studio. I don't use Visual Studio to work with assemblies but stick to the command line. And all impression I get is that using Visual Studio just makes things harder. It seems Microsoft hasn't done the job well, but if we have a lot of objects in the assembly, the manual process of dropping and creating them is horrible. |
![]() |
| Thread Tools | |
| Display Modes | |
| |