I have to work on an existing application, comprises of many projects including a database project.
In the statup project, which is a windows app., when making a call to a
This worked for me
EXEC sp_configure 'show advanced options', '1';
GO
RECONFIGURE;
GO
--Enable CLR (.NET Common Language Runtime)
exec sp_configure 'clr enabled', '1';
GO
RECONFIGURE;
GO
--Enable xp_CmdShell stored procedure to run Command Line programs from within T-SQL
--EXEC sp_configure 'xp_cmdshell', 1
--GO
EXEC sp_configure 'show advanced options', '0';
GO
RECONFIGURE;
/****this is another one****/
USE master
GO
ALTER DATABASE SET TRUSTWORTHY ON
USE
GO
EXEC sp_changedbowner 'sa'
/****when error occured relating to m,emory***/