473,795 Members | 3,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3840
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**********@d iscussions.micr osoft.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**********@d iscussions.micr osoft.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
2133
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 issue with Active Directory. Our network consists of Windows-2000 Servers (SP 4) and Windows-2000 workstations and Windows-XP workstations. We also have SQL Server 2000 (SP2) in three Windows-2000 servers. All work fine. Recently, we get a...
1
843
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 a native DS datatype" could anyone help me with this please. i already passed two days trying to figure out what is the problem.
0
914
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 some of the properties, such as middleName. The error is 'The directory datatype cannot be converted to/from a native DS datatype' The page is set to impersonate, and the app uses windows authentication....
1
1753
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 modifications need to be made to the code to allow it to update the details? Dim rootDSE As New DirectoryEntry("LDAP://RootDSE") Dim namingContext As String = rootDSE.Properties("defaultNamingContext").Value.ToString() Dim searchRoot As New...
0
1097
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 datatype cannot be converted to/from a native DS datatype at System.DirectoryServices.Inter­op.IAds.GetEx(String bstrName) at System.DirectoryServices.Prope­rtyValueCollection.PopulateLis­t()
6
2469
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 function exactly as outlined in the below link. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp
10
4067
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 Pop up windows Authentication box so that user will give his userId, Password & domain name for authenticaion. After that I want to take these three info of user and make a search in Active Directory.
2
4699
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 because all we do is verify the user on the login form so we can redirect them to the appropriate page based on their group. The code to authenticate is: Public Function IsAuthenticated(ByVal domain As String, ByVal username As String, ByVal...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.