Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > problem using WinNT provider and GetObject- PLEASE HELP

Reply
Thread Tools

problem using WinNT provider and GetObject- PLEASE HELP

 
 
Blake
Guest
Posts: n/a
 
      06-01-2004
single ASP page running on IIS 5 on a Native Windows 2000 AD:

<%Set usr = GetObject("WinNT://LONGWOOD/duffeyba,user")%>

(the IIS machine is a member server)

The page is running as the user 'duffeyba'.


I am getting this result:

Microsoft VBScript runtime error '800a0046'
Permission denied: 'GetObject'

/cyphir/auth/test4.asp, line 1



This code works fine our our test domain, but fails on our production
domain. I can't see what the problem is.

Any ideas appreciated.


 
Reply With Quote
 
 
 
 
Blake
Guest
Posts: n/a
 
      06-01-2004
Authenticated ASP page:

strNTName = "samh"
Set oUser = GetObject("WinNT://LONGWOOD/" & strNTName)

Gives:
error '80070035'

Works on one domain, not on the 2nd.

Any ideas?

Blake


 
Reply With Quote
 
 
 
 
Egbert Nierop \(MVP for IIS\)
Guest
Posts: n/a
 
      06-01-2004
Is this code running for the **current** user or for another? If the latter,
the permission denied is logical.

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

"Blake" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Authenticated ASP page:
>
> strNTName = "samh"
> Set oUser = GetObject("WinNT://LONGWOOD/" & strNTName)
>
> Gives:
> error '80070035'
>
> Works on one domain, not on the 2nd.
>
> Any ideas?
>
> Blake
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Voip provider advice please ? Who is the best service provider ? www.crystal-power.co.uk UK VOIP 4 09-28-2005 06:57 PM
error '80070035' using WinNT provider Blake ASP General 4 04-26-2005 12:01 PM
VC++ and WinNT Problem Raveen.B C++ 10 07-27-2004 11:14 AM
Searching the domain with WinNT Provider in ASP.NET Matthias Mohr via .NET 247 ASP .Net 1 07-04-2004 05:04 AM
.ChangePassword method using WinNT provider and error 424 Blake ASP General 2 05-29-2004 01:50 AM



Advertisments