When using Reporting Services on the Server for the first time, you might find that reports won’t run in Visual Studio or on the web.
The error you get is: “Execution of user code in the .NET Framework is disabled. Enable clr enabled configuration option.”
By default .NET Framework is disabled in SQL2005 and SQL2008.
To enable it in 2005:
Explore "SQL Server 2005/Configuration Tools/Surface Area Configuration" in your Start menu.
2. Select "Surface Area Configuration for Features"
3. For the "CLR Integration" option, activate it and save.
To enable it in 2008:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'clr enabled', 1;
GO
RECONFIGURE;
GO
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment