473,426 Members | 3,074 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,426 software developers and data experts.

error '80070035' using WinNT provider

ASP code looks like this (win2k, IIS 5, Win2k AD):

<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>

output is this:

error '80070035'
/cyphir/auth/test.asp, line 2

The .asp page is running as 'testuser'.

This works on our test domain, fails on production - please help if you can.

Blake
Jul 19 '05 #1
5 10193
"Blake" <bl**********@NOSPAM.hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
ASP code looks like this (win2k, IIS 5, Win2k AD):
Does the code below, run as IUSR_ (anonymous) or does the user have to login
before...
<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>

output is this:

error '80070035'
/cyphir/auth/test.asp, line 2

The .asp page is running as 'testuser'.

This works on our test domain, fails on production - please help if you can.
Blake


Jul 19 '05 #2
The user logs in first.

This script runs OK if I log in as a domain administrator. But if I log in
as myself it fails. Works fine on our test domain.

Blake

"Egbert Nierop (MVP for IIS)" <eg***********@nospam.invalid> wrote in
message news:OY***************@tk2msftngp13.phx.gbl...
"Blake" <bl**********@NOSPAM.hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
ASP code looks like this (win2k, IIS 5, Win2k AD):
Does the code below, run as IUSR_ (anonymous) or does the user have to

login before...
<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>

output is this:

error '80070035'
/cyphir/auth/test.asp, line 2

The .asp page is running as 'testuser'.

This works on our test domain, fails on production - please help if you

can.

Blake

Jul 19 '05 #3
"Blake" <blake> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
The user logs in first.

This script runs OK if I log in as a domain administrator. But if I log in as myself it fails. Works fine on our test domain.


That's clear...

A user has no rights, to query a domain controller using ADSI or WinNT. Give
users power user rights (not sure however) or delegate, that code inside a
separate COM+ component, which has admin rights. The component, should run
in it's own process...

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

Jul 19 '05 #4
Kev
Did you ever get to the bottom of this problem?.. I ask as I've got the same problem to sort out....any help appreciated

From http://www.developmentnow.com/g/62_2...T-provider.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Jul 22 '05 #5
The reason for the error all boils down to Kerberos Authentication. Basically the Active Directory has not allowed Delegation to the Webserver Neither does it have a Trust in place.

I found this article on Microsoft very interesting to read.
http://www.microsoft.com/technet/com.../iisi0206.mspx

The Other Alternate is to use Ldap if the domain administrators feel that the trust / delegation route is a security issue.

From http://www.developmentnow.com/g/62_2...T-provider.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Nov 23 '06 #6

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)...
2
by: Blake | last post by:
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...
1
by: Mahesh Hardikar | last post by:
Hi , I have been trying to connect to access database from SQL Server 7.0. This machine is having 7.0 as a default instance and 2000 as a named instance. Also the machine doesn't have access...
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...
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 =...
6
by: Rich Crusco via DotNetMonster.com | last post by:
I am looking for a way to convert the following vbs script to c# Const ADS_SECURE_AUTHENTICATION = 1 strADMIN = "adminaccount" strPASSWORD = "password" strUSER = "useraccount" Set dso =...
5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
2
by: Kevin R. | last post by:
I have been ignoring this problem for a few weeks now, but it's becoming a bit annoying not to mention unproductive. Here it goes: I compile my project with no errors. Then after I debug/run it,...
0
by: peter.freeborn | last post by:
I am using RTM on Windows 2003 I have been trying to encrypt the connection string in the Web config with the following command line on the web server ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.