DefaultCrendentials not working

R

Rich

I have an aspx page which uses a WebRequest object to post some XML to
a standard asp page. Both the aspx and asp pages require NT
autentication. I have added:

<location path="secure">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

To the web.config file for the aspx page and have set IIS to require
NT authentication (with anonymous access turned off) on both the aspx
web application and the asp web site.

When I do the post from the aspx page I set the Credentials for the
WebRequest object to CredentialCache.DefaultCredentials.

I call the aspx page from a cleint app running under a domain account.
If I place the aspx page and the asp page on different physical
machines everything is fine. However, if I put the asp and aspx
applications on the same machine (running under the same instance of
IIS) I start experiencing problems.

Any ideas?

Regards

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,095
Messages
2,570,616
Members
47,233
Latest member
GitaQuinte

Latest Threads

Top