Click here to Skip to main content
15,915,063 members
Home / Discussions / C#
   

C#

 
AnswerRe: ListView SelectedIndices / SelectedItems Questions. Please help!!! Pin
Gokulan Venattil2-Feb-06 18:05
Gokulan Venattil2-Feb-06 18:05 
QuestionObject reference not set to an instance of an object Pin
RobertF572-Feb-06 14:14
RobertF572-Feb-06 14:14 
AnswerRe: Object reference not set to an instance of an object Pin
imsathy2-Feb-06 18:19
imsathy2-Feb-06 18:19 
GeneralRe: Object reference not set to an instance of an object Pin
RobertF572-Feb-06 18:35
RobertF572-Feb-06 18:35 
GeneralRe: Object reference not set to an instance of an object Pin
imsathy2-Feb-06 18:41
imsathy2-Feb-06 18:41 
GeneralRe: Object reference not set to an instance of an object Pin
Guffa2-Feb-06 18:57
Guffa2-Feb-06 18:57 
QuestionPersisting a Checked Listbox in the Visual Studio Designer Pin
bah73032-Feb-06 13:14
bah73032-Feb-06 13:14 
QuestionOpenLDAP and .NET Pin
Jan Szumiec2-Feb-06 13:08
Jan Szumiec2-Feb-06 13:08 
I am having a weird problem adding new objects to the directory server. I am logged in using the Manager account, so I have r/w access to everything. Here's how I add an object:

DirectoryEntry de = configuration.Bind(); // <- this works fine, I can read everything.
DirectoryEntry newEntry = de.Children.Add("cn=John Doe", "inetOrgPerson");
newEntry.Properties["sn"].Value = "Doe";
newEntry.Properties["givenName"].Value = "John";
newEntry.CommitChanges(); // <- this is where the exception is thrown.

System.Runtime.InteropServices.COMException (0x80072037): There is a naming violation.
at System.DirectoryServices.Interop.IAds.SetInfo()
at System.DirectoryServices.DirectoryEntry.CommitChanges()
at HMSImport.MainForm.menuItem3_Click(Object sender, EventArgs e) in c:\documents and settings\jd\my documents\visual studio projects\hmsimport\mainform.cs:line 255

Does anyone have a clue as what it could be?

I am running openldap-2.2.9 as the directory server.
AnswerRe: OpenLDAP and .NET Pin
osamahmirza9-Feb-06 17:56
osamahmirza9-Feb-06 17:56 
QuestionOrganizing my project Pin
peterchen2-Feb-06 11:54
peterchen2-Feb-06 11:54 
QuestionLib Files Help please Pin
DocH0liday2-Feb-06 11:53
DocH0liday2-Feb-06 11:53 
QuestionVirual Serial Port Pin
Ross King2-Feb-06 11:43
Ross King2-Feb-06 11:43 
AnswerRe: Virual Serial Port Pin
bskirkman2-Feb-06 17:48
bskirkman2-Feb-06 17:48 
AnswerRe: Virual Serial Port Pin
vikas amin24-Jul-08 11:41
vikas amin24-Jul-08 11:41 
QuestionDelegates from dynamically loaded DLL Pin
Tepel2-Feb-06 11:39
Tepel2-Feb-06 11:39 
AnswerRe: Delegates from dynamically loaded DLL Pin
leppie2-Feb-06 11:58
leppie2-Feb-06 11:58 
GeneralRe: Delegates from dynamically loaded DLL Pin
Tepel2-Feb-06 12:14
Tepel2-Feb-06 12:14 
Questionturn GUI program into service Pin
BlackDice2-Feb-06 11:29
BlackDice2-Feb-06 11:29 
AnswerRe: turn GUI program into service Pin
malharone2-Feb-06 11:39
malharone2-Feb-06 11:39 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 11:54
BlackDice2-Feb-06 11:54 
GeneralRe: turn GUI program into service Pin
Colin Angus Mackay2-Feb-06 12:06
Colin Angus Mackay2-Feb-06 12:06 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 12:14
BlackDice2-Feb-06 12:14 
GeneralRe: turn GUI program into service Pin
Colin Angus Mackay2-Feb-06 12:20
Colin Angus Mackay2-Feb-06 12:20 
GeneralRe: turn GUI program into service Pin
malharone2-Feb-06 12:11
malharone2-Feb-06 12:11 
GeneralRe: turn GUI program into service Pin
BlackDice2-Feb-06 12:16
BlackDice2-Feb-06 12:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.