473,385 Members | 1,912 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,385 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 10190
"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 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.