Vista - IIS - GetObject()

Vista - IIS - GetObject()

am 06.02.2007 07:03:48 von Sajan

Hi Everyone,
On a Vista machine I have installed all options for IIS including the
compatibility sub features. But a regular call like the following

Set IISOBJ = getObject("IIS://LocalHost/W3SVC")

gives me error 70 - Permission denied.

I am logged in as the administrator. Metabase doesn't seem to be corrupted
either. Any clues on what could be going wrong? Thanks for any help.

Regards,
Sajan

RE: Vista - IIS - GetObject()

am 06.02.2007 12:26:55 von wjzhang

Hi Sajan,

The problem may be caused by new Vista security enhancement. Please go to
\Windows\System32\inetsrv\config directory. Right-click to open the config
files' security property. Verify your logon admin account has permission on
them first. Then please click Advanced button, take ownership of these
files in Owner tab.

After this, please restart IIS and check if you can successfully make the
metabase calls as before.

Please let me know if issue persists.

Thanks for using MSDN newsgroup. Have a great day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx .

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

RE: Vista - IIS - GetObject()

am 06.02.2007 12:37:41 von wjzhang

Hi Sajan,

I've replied you in IIS newsgroup.

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx .

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Re: Vista - IIS - GetObject()

am 06.02.2007 13:29:49 von David Wang

On Feb 5, 10:03 pm, wrote:
> Hi Everyone,
> On a Vista machine I have installed all options for IIS including the
> compatibility sub features. But a regular call like the following
>
> Set IISOBJ = getObject("IIS://LocalHost/W3SVC")
>
> gives me error 70 - Permission denied.
>
> I am logged in as the administrator. Metabase doesn't seem to be corrupted
> either. Any clues on what could be going wrong? Thanks for any help.
>
> Regards,
> Sajan

Are you logged in as the actual built-in Administrator or an account
in the Administrator group.

By default, you need to elevate to administrator to be able to what
you want, as always. Being in the administrators group is insufficient
on Vista.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: Vista - IIS - GetObject()

am 07.02.2007 06:37:40 von Sajan

Thank you WenJun and David for responding. I realized my mistake much late.
I ended up opening a cmd prompt as administrator and launched cscript from
there.

Sajan

"David Wang" wrote in message
news:1170764989.420203.140030@v33g2000cwv.googlegroups.com.. .
> On Feb 5, 10:03 pm, wrote:
>> Hi Everyone,
>> On a Vista machine I have installed all options for IIS including the
>> compatibility sub features. But a regular call like the following
>>
>> Set IISOBJ = getObject("IIS://LocalHost/W3SVC")
>>
>> gives me error 70 - Permission denied.
>>
>> I am logged in as the administrator. Metabase doesn't seem to be
>> corrupted
>> either. Any clues on what could be going wrong? Thanks for any help.
>>
>> Regards,
>> Sajan
>
> Are you logged in as the actual built-in Administrator or an account
> in the Administrator group.
>
> By default, you need to elevate to administrator to be able to what
> you want, as always. Being in the administrators group is insufficient
> on Vista.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>

Re: Vista - IIS - GetObject()

am 08.02.2007 08:00:52 von wjzhang

Glad to hear you've figured it out.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx .

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.