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

The active directory datatype cannot be converted to/from a native

"The active directory datatype cannot be converted to/from a native DS
datatype"

I have an ASP.NET web page that uses queries to AD to identify current users.
Delegation is configured in AD and works as expected.

But sometimes I get an error : "The active directory datatype cannot be
converted to/from a native DS datatype"
And the only way to resolve this error is to kill the aspnet_wp.exe manually.

This website runs on Windows 2000 SP4 with all latest patches.
I think this might be a bug in Windows or ASP.NET. This application is
critical for us and we do not think that manually killing the aspnet_wp.exe
is a good practice.

Does anyone experience this same problem and hopefully there is a fix or
reliable workarround?

Thanks,
Johan
Nov 19 '05 #1
2 3781
Johan:

Have you seen this KB article?
http://support.microsoft.com/kb/q241981/

It's an ugly workaround...

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 2 May 2005 03:23:05 -0700, "Johan Delimon"
<Jo**********@discussions.microsoft.com> wrote:
"The active directory datatype cannot be converted to/from a native DS
datatype"

I have an ASP.NET web page that uses queries to AD to identify current users.
Delegation is configured in AD and works as expected.

But sometimes I get an error : "The active directory datatype cannot be
converted to/from a native DS datatype"
And the only way to resolve this error is to kill the aspnet_wp.exe manually.

This website runs on Windows 2000 SP4 with all latest patches.
I think this might be a bug in Windows or ASP.NET. This application is
critical for us and we do not think that manually killing the aspnet_wp.exe
is a good practice.

Does anyone experience this same problem and hopefully there is a fix or
reliable workarround?

Thanks,
Johan


Nov 19 '05 #2
Yes I have seen this KB. But it is about 6 years old and handles adsi 2.0.
I found on the internet some simmilar issues and they all said to kill
aspnet_wp.exe. That does the job, but that's not a good work arround because
is ugly. (These articles are very recent so I think this might be a bug
related to some update fixes from microsoft)

Johan

"Scott Allen" wrote:
Johan:

Have you seen this KB article?
http://support.microsoft.com/kb/q241981/

It's an ugly workaround...

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 2 May 2005 03:23:05 -0700, "Johan Delimon"
<Jo**********@discussions.microsoft.com> wrote:
"The active directory datatype cannot be converted to/from a native DS
datatype"

I have an ASP.NET web page that uses queries to AD to identify current users.
Delegation is configured in AD and works as expected.

But sometimes I get an error : "The active directory datatype cannot be
converted to/from a native DS datatype"
And the only way to resolve this error is to kill the aspnet_wp.exe manually.

This website runs on Windows 2000 SP4 with all latest patches.
I think this might be a bug in Windows or ASP.NET. This application is
critical for us and we do not think that manually killing the aspnet_wp.exe
is a good practice.

Does anyone experience this same problem and hopefully there is a fix or
reliable workarround?

Thanks,
Johan


Nov 19 '05 #3

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

Similar topics

2
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an...
1
by: Hechmi | last post by:
I am trying to retrieve the users of the company using active directory. When i execute the code below , it gives the following error "The Active Directory datatype cannot be converted to/from...
0
by: Jeremy Chapman | last post by:
I built a page to view user ActiveDirectory object properties. On my machine it works well, however when I moved the page to a different machine I get exceptions being thrown when trying to view...
1
by: Robin | last post by:
When using the following ASP.Net code the error "The directory service cannot perform the requested operation on the RDN attribute of an object." is displayed when the commit changes is run. What...
0
by: Ciccio | last post by:
Hi I'm new to active directory programming. From an asp.net application that uses AD I got an excepion of type: System.Runtime.InteropServices­.COMException (0x8000500C): The Active Directory...
6
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated...
10
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
2
by: P Webster | last post by:
We recently moved a web site that validated user credentials in Active Directory from IIS 5.1 to IIS 6, and the validation code no longer works. The web.config file is set to Windows authentication...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.