Vista - IIS - GetObject()

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
Sajan [ Di, 06 Februar 2007 07:03 ] [ ID #1620592 ]

RE: Vista - IIS - GetObject()

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.
wjzhang [ Di, 06 Februar 2007 12:37 ] [ ID #1620593 ]

RE: Vista - IIS - GetObject()

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.
wjzhang [ Di, 06 Februar 2007 12:26 ] [ ID #1620618 ]

Re: Vista - IIS - GetObject()

On Feb 5, 10:03 pm, <S... [at] community.nospam> 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
//
David Wang [ Di, 06 Februar 2007 13:29 ] [ ID #1620624 ]

Re: Vista - IIS - GetObject()

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" <w3.4you [at] gmail.com> wrote in message
news:1170764989.420203.140030 [at] v33g2000cwv.googlegroups.com.. .
> On Feb 5, 10:03 pm, <S... [at] community.nospam> 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
> //
>
Sajan [ Mi, 07 Februar 2007 06:37 ] [ ID #1621805 ]

Re: Vista - IIS - GetObject()

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.
wjzhang [ Do, 08 Februar 2007 08:00 ] [ ID #1623076 ]
Webserver » microsoft.public.inetserver.iis.security » Vista - IIS - GetObject()

Vorheriges Thema: IE7 Cannot Login!
Nächstes Thema: How to place a RootCA certificate in system AuthRoot store ?