I use this code
' Get the IIsWebService Admin Object
Set WebServObj = GetObject("IIS://LocalHost/W3svc")

' Enable the AspAllowOutOfProcComponents Parameter
WebServObj.Put "AspAllowOutOfProcComponents", True

' Save the changed value to the metabase

this code is used to set the ISS metabase property named as AspAllowOutOfProcComponents
it gives me an error permission denied. Please sort me out this probs , how
should i give permissions and from where.