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

ADSI related

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS Simple Logs for customers?  
Author Message
abcd

External


Since: Jun 29, 2004
Posts: 24



(Msg. 1) Posted: Wed Jul 21, 2004 7:19 pm
Post subject: ADSI related
Archived from groups: microsoft>public>inetserver>iis (more info?)

I am writing asp page why the code is failing at

Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")

any reasong why GetObject is failing on my localhost

 >> Stay informed about: ADSI related 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 2) Posted: Thu Jul 22, 2004 6:53 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

what's the error msgs ?

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"abcd" <abcd RemoveThis @abcd.com> wrote in message
news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
 > I am writing asp page why the code is failing at
 >
 > Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
 >
 > any reasong why GetObject is failing on my localhost
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ADSI related 
Back to top
Login to vote
abcd

External


Since: Jun 29, 2004
Posts: 24



(Msg. 3) Posted: Thu Jul 22, 2004 6:53 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Error 70, permission denied.

Bernard wrote:
 > what's the error msgs ?
 >
 >
 > "abcd" <abcd RemoveThis @abcd.com> wrote in message
 > news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
  >> I am writing asp page why the code is failing at
  >>
  >> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
  >>
  >> any reasong why GetObject is failing on my localhost<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 4) Posted: Fri Jul 23, 2004 3:03 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Login as local admin, you need admin privileges.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"abcd" <abcd RemoveThis @abcd.com> wrote in message
news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
 > Error 70, permission denied.
 >
 > Bernard wrote:
  > > what's the error msgs ?
  > >
  > >
  > > "abcd" <abcd RemoveThis @abcd.com> wrote in message
  > > news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   > >> I am writing asp page why the code is failing at
   > >>
   > >> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   > >>
   > >> any reasong why GetObject is failing on my localhost
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
abcd

External


Since: Jun 29, 2004
Posts: 24



(Msg. 5) Posted: Fri Jul 23, 2004 4:56 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

where should I login, how should I login? I am already loggined in as
administrator to the amchine.

Moicrosoft sucks !

Bernard wrote:
 > Login as local admin, you need admin privileges.
 >
 >
 > "abcd" <abcd.TakeThisOut@abcd.com> wrote in message
 > news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
  >> Error 70, permission denied.
  >>
  >> Bernard wrote:
   >>> what's the error msgs ?
   >>>
   >>>
   >>> "abcd" <abcd.TakeThisOut@abcd.com> wrote in message
   >>> news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   >>>> I am writing asp page why the code is failing at
   >>>>
   >>>> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   >>>>
   >>>> any reasong why GetObject is failing on my localhost<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
abcd

External


Since: Jun 29, 2004
Posts: 24



(Msg. 6) Posted: Fri Jul 23, 2004 4:58 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

where should I login, how should I login? I am already loggined in as
administrator to the machine.

I am writing the installation program so that should be able to install
these settings....I am not sure if that time how Admin will work....

Mircrosft has lots of documentation but all are vauge and scrap.....they
tell all the things except the required things....Microsoft documentation
sucks !



Bernard wrote:
 > Login as local admin, you need admin privileges.
 >
 >
 > "abcd" <abcd.TakeThisOut@abcd.com> wrote in message
 > news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
  >> Error 70, permission denied.
  >>
  >> Bernard wrote:
   >>> what's the error msgs ?
   >>>
   >>>
   >>> "abcd" <abcd.TakeThisOut@abcd.com> wrote in message
   >>> news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   >>>> I am writing asp page why the code is failing at
   >>>>
   >>>> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   >>>>
   >>>> any reasong why GetObject is failing on my localhost<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 7) Posted: Mon Jul 26, 2004 5:01 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Based on the error msgs, you got a access denied error.
If you are running as local admin, I suggest to get filemon
from sysinternals.com to trace the access error.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"abcd" <abcd RemoveThis @abcd.com> wrote in message
news:esd4HfPcEHA.1144@TK2MSFTNGP11.phx.gbl...
 > where should I login, how should I login? I am already loggined in as
 > administrator to the machine.
 >
 > I am writing the installation program so that should be able to install
 > these settings....I am not sure if that time how Admin will work....
 >
 > Mircrosft has lots of documentation but all are vauge and scrap.....they
 > tell all the things except the required things....Microsoft documentation
 > sucks !
 >
 >
 >
 > Bernard wrote:
  > > Login as local admin, you need admin privileges.
  > >
  > >
  > > "abcd" <abcd RemoveThis @abcd.com> wrote in message
  > > news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
   > >> Error 70, permission denied.
   > >>
   > >> Bernard wrote:
   > >>> what's the error msgs ?
   > >>>
   > >>>
   > >>> "abcd" <abcd RemoveThis @abcd.com> wrote in message
   > >>> news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   > >>>> I am writing asp page why the code is failing at
   > >>>>
   > >>>> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   > >>>>
   > >>>> any reasong why GetObject is failing on my localhost
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
greg_platt

External


Since: Jun 17, 2004
Posts: 21



(Msg. 8) Posted: Mon Jul 26, 2004 7:32 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You have to go into IIS and set permissions on the asp page.
By default IIS uses a different account when executing an ASP page
(IUSR_MACHINENAME).

In IIS Admin locate the file and click properties. Goto File Security Tab
and under Anonymous access set the username the page is run under to be an
Administrator account with the correct password.



"abcd" <abcd DeleteThis @abcd.com> wrote in message
news:esd4HfPcEHA.1144@TK2MSFTNGP11.phx.gbl...
 > where should I login, how should I login? I am already loggined in as
 > administrator to the machine.
 >
 > I am writing the installation program so that should be able to install
 > these settings....I am not sure if that time how Admin will work....
 >
 > Mircrosft has lots of documentation but all are vauge and scrap.....they
 > tell all the things except the required things....Microsoft documentation
 > sucks !
 >
 >
 >
 > Bernard wrote:
  > > Login as local admin, you need admin privileges.
  > >
  > >
  > > "abcd" <abcd DeleteThis @abcd.com> wrote in message
  > > news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
   > >> Error 70, permission denied.
   > >>
   > >> Bernard wrote:
   > >>> what's the error msgs ?
   > >>>
   > >>>
   > >>> "abcd" <abcd DeleteThis @abcd.com> wrote in message
   > >>> news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   > >>>> I am writing asp page why the code is failing at
   > >>>>
   > >>>> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   > >>>>
   > >>>> any reasong why GetObject is failing on my localhost
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
abcd

External


Since: Jun 29, 2004
Posts: 24



(Msg. 9) Posted: Mon Jul 26, 2004 7:32 pm
Post subject: Re: ADSI related [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am really writing an install program which will set these automatically
when its run. My install program doen't know who is the administrator ....I
only have IUSR_MachineName user....is it possible using this user....


greg wrote:
 > You have to go into IIS and set permissions on the asp page.
 > By default IIS uses a different account when executing an ASP page
 > (IUSR_MACHINENAME).
 >
 > In IIS Admin locate the file and click properties. Goto File Security
 > Tab and under Anonymous access set the username the page is run under
 > to be an Administrator account with the correct password.
 >
 >
 >
 > "abcd" <abcd.DeleteThis@abcd.com> wrote in message
 > news:esd4HfPcEHA.1144@TK2MSFTNGP11.phx.gbl...
  >> where should I login, how should I login? I am already loggined in as
  >> administrator to the machine.
  >>
  >> I am writing the installation program so that should be able to
  >> install these settings....I am not sure if that time how Admin will
  >> work....
  >>
  >> Mircrosft has lots of documentation but all are vauge and
  >> scrap.....they tell all the things except the required
  >> things....Microsoft documentation sucks !
  >>
  >>
  >>
  >> Bernard wrote:
   >>> Login as local admin, you need admin privileges.
   >>>
   >>>
   >>> "abcd" <abcd.DeleteThis@abcd.com> wrote in message
   >>> news:u4r0BIBcEHA.2908@TK2MSFTNGP10.phx.gbl...
   >>>> Error 70, permission denied.
   >>>>
   >>>> Bernard wrote:
   >>>>> what's the error msgs ?
   >>>>>
   >>>>>
   >>>>> "abcd" <abcd.DeleteThis@abcd.com> wrote in message
   >>>>> news:e7XC1k3bEHA.216@TK2MSFTNGP10.phx.gbl...
   >>>>>> I am writing asp page why the code is failing at
   >>>>>>
   >>>>>> Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root")
   >>>>>>
   >>>>>> any reasong why GetObject is failing on my localhost<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI related 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ASP-related problem with IIS - Problem occurs while trying to execute asp script through http(IIS of course). This is a cut from domain's log containing an error --- p |22|80004005|[Microsoft][ODBC_Microsoft_Access_Driver] General_error_Unable_to_..

ADSI on IIS not the same as PWS - Please take a look at the following code: Sub test() Dim usr Dim grp ' This part is working in Excel, Personal web server and IIS (4 and 5) Set usr = GetObject ("WinNT://valid_domain/valid_user ,user") For Each grp In usr.Groups Debug....

Automation Error related to dll initialization - Greetings! We developed an ASP web app using Interdev that interfaces with mainframe db2 databases. When browsing the app from Win XP development machines running IIS, the following error occasionally appears "Automation error A dynamic link libra...

IIS HTTP 500 Error - Not Page Related - We are getting an HTTP 500 in our IIS logs that looks similar to the following: 2003-09-04 17:39:17 IP ADDR - IP ADDR 80 - - - 500 - These are usually found following a GET to a PDF document. I setup a custom error handler for IIS and the HTTP 500 ..

IIS 6.0 detection - ADSI - How can I detect IIS 6.0 thru ADSI ? My program need to take a decision by detecting IIS 4.0, 5.1, 6.0 ... Thanks
   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 ]