473,324 Members | 2,531 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,324 software developers and data experts.

Setting value for ADAM Field

Hi,
I have a password field in my ADAM (Active Directory) that is a Multi-value Octet string. I have two containers, one is for development and other for production.
When I use following code to set password field (Multi-value Octet string) it works fine on production, but the same code on development gives me "An operation error occured" error. Can anyone help?

Expand|Select|Wrap|Line Numbers
  1. child.Properties("userPassword").Value = INITIAL_PASSWORD
Jul 9 '07 #1
4 1158
kenobewan
4,871 Expert 4TB
Sorry to ask, but how did it make to production if it doesn't work in development. Does it work on your test box? Please describe your platform and versions. Thanks.
Jul 10 '07 #2
Sorry to ask, but how did it make to production if it doesn't work in development. Does it work on your test box? Please describe your platform and versions. Thanks.
Thanks for taking the time to ask. Ok here are the details. I have designed the custom application (console) in VB.NET that queries ADAM. I can add/delete users from that application. My current environment where I have that application is windows 2000 and the directory server is 2003 I guess. I have windows authentication. I have put a condition in my code (since I know it doesn't work in development container).

Expand|Select|Wrap|Line Numbers
  1. If strPort <> "60389" Then child.Properties("userPassword").Value = INITIAL_PASSWORD
Please let me know if this information is enough to answer my question.
Jul 10 '07 #3
kenobewan
4,871 Expert 4TB
So your environment (the development box) is windows 2000, what is the production box? Do both connect to the same AD server and version, with the same connection string? Are both production and development using the same versions of IIS and .NET? Two containers - do you mean virtual server, virtual directories or ? This may not be the type of business environment that I am used to.
Jul 11 '07 #4
So your environment (the development box) is windows 2000, what is the production box? Do both connect to the same AD server and version, with the same connection string? Are both production and development using the same versions of IIS and .NET? Two containers - do you mean virtual server, virtual directories or ? This may not be the type of business environment that I am used to.
What I mean was that my LDAP server is on 2003 box. My production and development ADAM containers are on the same box, but only port is different. The machine on which I develop my code is windows 2000 which connects to LDAP server (2003 box). Let me know if you need more clarification.
Jul 11 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Adam Nemitoff | last post by:
Is is possible to construct a SELECT statement that contains a WHERE clause that uses the value from a column in the "next" row? ie. given a table with a single field named "myField" with the...
3
by: adeon | last post by:
Hi, I'm trying to create specific pop'up window (for product category selection), but in JS I'm a newbie and some problem occured, so I have a question: Is it possible in main window (that...
2
by: WhiskyRomeo | last post by:
I have a bound textbox (bindings are set at design time) to a dataset column. Sometimes the value of this textbox must be set so that the underlying database field gets updated to null when using...
1
by: John Baker | last post by:
Hi: I would like to be able to define a table value as equal to another value in the table, IF the entry is on a friday. I know all the logic to do this, but somehow in the table definition it...
10
by: MLH | last post by:
I have an A97 table with a Yes/No field named TowJob and a form bound to that table. The TowJob control on the form is bound to the same field. It is an option group with Yes and No bttns valued...
18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
10
by: Lau Lei Cheong | last post by:
Hello, I really need to use volatile System.Int64 for a .NET v1.1 program in C#. But the compiler complains "a volatile field can not be of type long". How to work around it? Or is there any...
3
by: Patient Guy | last post by:
Subject line would seem to say it all: How does one trigger the execution of a method within an object or any other code/function with the setting of an object property? More elaboration for...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: 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...

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.