Carlos Fersura
2003-10-31 07:38:54 PM

Hello Folks,

I am having a serious problem with the Internet Explorer's
Treeview WebControl.

I have developed a http handler to return the XML that the
control needs to build the tree.

When I am using "anonymous" autentication everything works
just fine. However, when I try to use "integrated"
security it gives an error because the it tries to use
anonymous authentication first, but it never try to use
integrated authentication as the log file below shows:

Here, I have called the ashx manually. It receives a http
401 error (it's normal) and then it gets a http 200.
======================================================
20:05:19 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
20:05:26 127.0.0.1 DOMAIN\user GET /App/SIGA/geraxml.ashx
200
======================================================

Here it's what occurs when I run the application:
=====================================================
20:06:10 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
20:06:10 127.0.0.1 DOMAIN\user
GET /App/SIGA/Principal.aspx 500
=====================================================

It never tries with my DOMAIN\USER account...

Thanks in advance for ANY HELP !


Carlos Fersura
.


 

Re: WebControls and Integrated Security

Carlos Fersura
2003-11-03 09:50:00 PM

Hi,

I know 401 means Page Not Found and this is NORMAL when
using NTLM authentication.

The error 500 is a consequence of the first one and is the
root of my problem. Since the Treecontrol couldn't
retrieve the XML data, it returns an error.

Everything works fine if authentication is Anonymous
>-----Original Message-----
>Hi,
>
>1)401 means unauthorized access. You get it one way or
another I think
>it's a problem you should address.
>
>2)500 stand for internal server error, probably there is
an error in
>your page or asax file.
>
>Natty Gur[MVP]
>Phone Numbers:
>Office: +972-(0)9-7740261
>Fax: +972-(0)9-7740261
>Mobile: +972-(0)58-888377
>
>
>*** Sent via Developersdex www.developersdex.com
***
>Don't just participate in USENET...get rewarded for it!
>
 



Re: WebControls and Integrated Security

Natty Gur
2003-11-03 11:34:00 PM

This is a multi-part message in MIME format

Hi,

sorry I didnt see that you are using NTLM.

I dont know if it's your problem but once i've got a problem with
bindind treeview to XNL file and it was the path blame. We use
server.MapPath to set the XML location to solve it out.

HTH

Natty Gur[MVP]
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377


*** Sent via Developersdex www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 



Re: WebControls and Integrated Security

Carlos Fersura
2003-11-05 07:17:00 PM

Hello Folks,

I am having a serious problem with the Internet Explorer's
Treeview WebControl.

I have developed a http handler to return the XML that the
control needs to build the tree.

When I am using "anonymous" autentication everything works
just fine. However, when I try to use "integrated"
security it gives an error because the it tries to use
anonymous authentication first, but it never try to use
integrated authentication as the log file below shows:

Here, I have called the ashx manually. It receives a http
401 error (it's normal) and then it gets a http 200.
======================================================
20:05:19 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
20:05:26 127.0.0.1 DOMAIN\user GET /App/SIGA/geraxml.ashx
200
======================================================

Here it's what occurs when I run the application:
=====================================================
20:06:10 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
20:06:10 127.0.0.1 DOMAIN\user
GET /App/SIGA/Principal.aspx 500
=====================================================

It never tries with my DOMAIN\USER account...

Thanks in advance for ANY HELP !


Carlos Fersura


 



Re: WebControls and Integrated Security

Carlos Fersura
2003-11-06 03:55:00 AM

Please Note that using a XML file results in the same
error. The Treeview says it does not have any Nodes to
load.


>-----Original Message-----
>Hello Folks,
>
>I am having a serious problem with the Internet
Explorer's
>Treeview WebControl.
>
>I have developed a http handler to return the XML that
the
>control needs to build the tree.
>
>When I am using "anonymous" autentication everything
works
>just fine. However, when I try to use "integrated"
>security it gives an error because the it tries to use
>anonymous authentication first, but it never try to use
>integrated authentication as the log file below shows:
>
>Here, I have called the ashx manually. It receives a http
>401 error (it's normal) and then it gets a http 200.
>======================================================
>20:05:19 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
>20:05:26 127.0.0.1 DOMAIN\user GET /App/SIGA/geraxml.ashx
>200
>======================================================
>
>Here it's what occurs when I run the application:
>=====================================================
>20:06:10 127.0.0.1 - GET /App/SIGA/geraxml.ashx 401
>20:06:10 127.0.0.1 DOMAIN\user
>GET /App/SIGA/Principal.aspx 500
>=====================================================
>
>It never tries with my DOMAIN\USER account...
>
>Thanks in advance for ANY HELP !
>
>
>Carlos Fersura
>
>
>.
>