473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

problem using WinNT provider and GetObject- PLEASE HELP

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.
Jul 19 '05 #1
2 3647
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
Jul 19 '05 #2
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" <bl**********@NOSPAM.hotmail.com> wrote in message
news:ui**************@tk2msftngp13.phx.gbl...
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


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Blake | last post by:
Windows 2000 Active Directory, IIS 5 ASP code looks like this: Set oUser = GetObject("WinNT://DOMAIN/" & strNTName) oUser.ChangePassword strPassword, strNewPassword If (err.number <> 0)...
0
by: RCIC | last post by:
Trying to get a user's full name using ADSI. It works in our Win2000 Active Directory but fails when I try to get a user's full name from a trusted WinNT domain. The error is "Cannot create ActiveX...
2
by: Sai Pavan | last post by:
I'm developing a web application i.e. asp.net. I have added a key named "Provider" in web.config file as follows <appSettings> <add key="Provider" value="3"></add> <add key="OracleClient"...
1
by: elziko | last post by:
Hi, I'm using the following code to create a user: Dim strNodeName As String = "test user" Dim NewUser As DirectoryEntry Dim AD As New DirectoryEntry("WinNT://MYCOMPUTER") 'delete user...
1
by: xc | last post by:
Greetings. I encountered a wield problem when grabing screen images. Sometimes in some computers I can capture the screen, but other times not so. In some computer I cannot capture the screen...
4
by: Thomaz | last post by:
In VB, I can write the following code to get the list of users and groups in the domain ASIA. How do I do the same in C# Set objContainer = GetObject("WinNT://ASIA") objContainer.Filter =...
0
by: Madhu Gopinathan | last post by:
Hi, I have my own namespace on the lines of WinNT and LDAP. In my VB.Net application, I am doing a GetObject of the form MyNamespace://<Path to be parsed>. Now, the bind fails with the error "Cannot...
4
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
4
by: shashank kadge | last post by:
hi all, i am trying to get local admin users and groups on a windows server. here is the C# code that i am using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.