Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 1st, 2003, 01:44 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default ServerXMLHTTP Problem

I have two virtual directories (VD). Both have anonymous access disabled and window's integrated authentication on. I need a user to authenticate into one VD and then do a ServerXMLHTTP Post to the other VD. I need the ServerXMLHTTP post to carry the users credentials from the first VD to the second so the user can authenticate there as well. I can make this work on two VDs on the same server if I run proxycfg.exe to tell it that we have no proxy servers. However, it never works if the VDs are on different servers. I run the following to set it up.

c:\proxycfg -d -p "<local>" "bypass list"

Can anyone tell me why I can't get the credentials to pass on to a different server? I always get an access denied error from the second VD this way. Also, I tried this with a .Net web service and got the same results even after I explicitly assigned the users credentials to the proxy object with the below code.

oProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;


Similar Threads
Thread Thread Starter Forum Replies Last Post
ServerXMLHTTP.3.0 problem returning XML JasonSigs XML 2 June 1st, 2007 01:18 AM
MSXML2.ServerXMLHTTP & https prakharbirla Classic ASP XML 0 October 17th, 2006 10:13 AM
Reading a null value using MSXML2.ServerXMLHTTP lian_a Classic ASP XML 1 August 1st, 2006 05:45 PM
MSXML2.ServerXMLHTTP help appreciated!! Steven1984 Classic ASP Professional 0 June 4th, 2005 12:49 PM
ASP and ServerXMLHTTP oscarledesma Classic ASP XML 0 October 22nd, 2003 08:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.