Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Vista - IIS - GetObject()

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Accessing newly created web site  
Author Message
Sajan

External


Since: Feb 06, 2007
Posts: 2



(Msg. 1) Posted: Tue Feb 06, 2007 12:03 am
Post subject: Vista - IIS - GetObject()
Archived from groups: microsoft>public>inetserver>iis, others (more info?)

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

 >> Stay informed about: Vista - IIS - GetObject() 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Tue Feb 06, 2007 4:29 am
Post subject: Re: Vista - IIS - GetObject() [Login to view extended thread Info.]
Archived from groups: microsoft>public>inetserver>iis (more info?)

On Feb 5, 10:03 pm, <S... DeleteThis @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
//

 >> Stay informed about: Vista - IIS - GetObject() 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 175



(Msg. 3) Posted: Tue Feb 06, 2007 11:26 am
Post subject: RE: Vista - IIS - GetObject() [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/default.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.
 >> Stay informed about: Vista - IIS - GetObject() 
Back to top
Login to vote
Sajan

External


Since: Feb 06, 2007
Posts: 2



(Msg. 4) Posted: Tue Feb 06, 2007 11:37 pm
Post subject: Re: Vista - IIS - GetObject() [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.TakeThisOut@gmail.com> wrote in message
news:1170764989.420203.140030@v33g2000cwv.googlegroups.com...
> On Feb 5, 10:03 pm, <S....TakeThisOut@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
> //
>
 >> Stay informed about: Vista - IIS - GetObject() 
Back to top
Login to vote
WenJun Zhang[msft]

External


Since: Dec 16, 2005
Posts: 175



(Msg. 5) Posted: Thu Feb 08, 2007 7:00 am
Post subject: Re: Vista - IIS - GetObject() [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/default.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.
 >> Stay informed about: Vista - IIS - GetObject() 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS 5 and getObject probs... - Is there ONE way to use getObject via ASP without log on as an Administrator? I tried this but doesn't work. 1) I created an account "example" 2) I added it to Operators of my web site. 3) I clear the selection in "Anonymous access&quot...

IIS GetObject by description ? - Hi all ! I'm using ADSI with GetObject("IIS://localhost/W3SVC/1") and it works fine. Is there any way to bind to IIS using the web site description rather than the id ? I'm looking for our product web site without knowing which id it has in ...

getobject fails - I have an executable cgi application that uses getobject to create and then late bind to an automation server. For example: Set oApp = CreateObject("This.Application") Set oApp = GetObject(, "This.Application") Keep in mind that thi...

Permission denied: 'GetObject' - I'm building an ASP app that uses Windows Authentication (IWA). I have an authentication routine that assesses if & how the user can use the application (see code snippet below). Users of a particular group have full permissions (configured via IIS...

Use of GetObject("IIS://Localhost/W3SVC") - Ciao! Where do I find all Methods and Function GetObject("IIS://Localhost/W3SVC") ? I try to search in M$, but I didn't find the complete list. Daniele
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]