web 2.0

CLR Integration and Lightweight Pooling Conflict

I thought I am CLR Integration Guru in Sql Server but this morning I came to know that there are lots of things left to grab. While I was moving the local database on the new live server I run some CLR Procedure which Says these procedures required CLR Integration enabled. So to get that done.
I went on SQL Server Surface Area Configuration -> Surface Area configuration for features -> Enable CLR Integration. till here, every thing seems fine I encounter no error.
After that when I re-execute the same query I get a new error:
"Invalid connection (Common languageruntime (CLR) execution is not supported under lightweight pooling.Disable one of two options: "clr enabled or "lightweight pooling".
I really have no idea what the light weight pooling is but the need of the time is to disable it. After googling for a bit I get this link. but still no use as the query written in this page is not working infact it is giving error.
Query:sp_configure 'show advanced options', 1;GOsp_configure 'lightweightpooling', 0;GORECONFIGURE;GO
Error:The configuration option 'lightweightpooling' does not exist, or it may be an advanced option.
To find what is going wrong, I quried on sys.configurations because this table contain database configuration.
select * from sys.configurations where name like '%light%'
Finally, after running the above query I came to know that there is a space in 'lightweightpooling'. It means it is 'lightweight pooling. Now when I diagnose the problem I execute the following query which make my sql server CLR Integrated.
USE masterGOEXEC sp_configure 'show advanced options', 1GORECONFIGURE WITH OVERRIDEGOEXEC sp_configure 'lightweight pooling', 0GOEXEC sp_configure 'clr enabled', 1goRECONFIGURE WITH OVERRIDEGOEXEC sp_configure 'show advanced options', 0GO
After executing the query, we might need to restart the SQL Services to make it work.

Comments

sheartech United States, on 9/24/2009 5:16:53 PM Said:

sheartech

i spent majority of my time reading on this blog. and i got lots of information here.

Acne United Kingdom, on 9/29/2009 5:29:03 AM Said:

Acne

Very Clear and straight forward explanation.

long range baby monitor United States, on 10/30/2009 10:33:16 PM Said:

long range baby monitor

You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it!

Data Deduplication United States, on 10/30/2009 11:03:09 PM Said:

Data Deduplication

Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!

self defense techniques United States, on 11/1/2009 5:49:55 PM Said:

self defense techniques

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

I want six pack United States, on 11/3/2009 3:56:36 AM Said:

I want six pack

Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.

Free Online Games United States, on 11/5/2009 8:21:01 AM Said:

Free Online Games

Thank you for the sensible critique. Me & my neighbour were preparing to do some research about that. We got a good book on that matter from our local library and most books where not as influensive as your information. I am very glad to see such information which I was searching for a long time.This made very glad Smile

Linda Mirano United States, on 11/9/2009 8:09:00 PM Said:

Linda Mirano

That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.

flower delivery singapore United States, on 11/12/2009 10:51:25 PM Said:

flower delivery singapore

I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.

canvas prints United States, on 11/17/2009 12:37:32 AM Said:

canvas prints

Dude.. I am not much into reading, but somehow I got to read lots of articles on your blog. Its amazing how interesting it is for me to visit you very often.

Sears Parts United States, on 11/29/2009 11:18:31 AM Said:

Sears Parts

私は、上から下には、読書の後、すぐに私は自分のブログのための新しいアイデアを得たのは、検索エンジンからこの記事を見つけた。おかげで、私のインスピレーションになります。

Income protection insurance  United States, on 1/12/2010 11:50:57 PM Said:

Income protection insurance 

Great post, you’ve helped me a lot

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading