473,387 Members | 1,516 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,387 software developers and data experts.

WebControls and Integrated Security

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
..
Nov 17 '05 #1
2 1045
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 thinkit's a problem you should address.

2)500 stand for internal server error, probably there is an error inyour 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 http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #2
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 http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tilted | last post by:
Hi I have an application which has been deployed and worked fine on all previous workstations, it is c# based and uses Crystal connecting directly to MSDE using stored procedures and the...
1
by: Srinivasa Reddy K Ganji | last post by:
Hi I have come across this type of code at many places. New SqlConnection("Data Source=(local);Initial Catalog=XYZ;Integrated Security=SSPI;") I assume that the database connection details...
4
by: Ravikanth[MVP] | last post by:
Hi It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect. Ravikanth >-----Original Message-----
0
by: Carlos Fersura | last post by:
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. ...
1
by: Carlos Fersura | last post by:
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. ...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
5
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under...
2
by: Bob | last post by:
I would like to use integrated security for DB connection for my ASP.NET applications. Since these apps have different databases (SQL Server), I want each app to be able to access its own...
7
by: Henry | last post by:
I am writing a Windows forms VB.Net/MS SQL application via VS 2003 that utilizes Crystal Reports. I want to be able to dynamically set the report data source at run time. I'm trying to change...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.