Click here to Skip to main content
16,013,082 members
Home / Discussions / C#
   

C#

 
GeneralRe: marshalling a pointer member in struct from c# Pin
Heath Stewart22-Jun-04 2:56
protectorHeath Stewart22-Jun-04 2:56 
GeneralRe: marshalling a pointer member in struct from c# Pin
rana7422-Jun-04 14:23
rana7422-Jun-04 14:23 
GeneralRe: marshalling a pointer member in struct from c# Pin
Heath Stewart22-Jun-04 15:14
protectorHeath Stewart22-Jun-04 15:14 
GeneralRe: marshalling a pointer member in struct from c# Pin
rana7422-Jun-04 16:28
rana7422-Jun-04 16:28 
GeneralRe: marshalling a pointer member in struct from c# Pin
Heath Stewart22-Jun-04 16:46
protectorHeath Stewart22-Jun-04 16:46 
GeneralRe: marshalling a pointer member in struct from c# Pin
rana7422-Jun-04 21:03
rana7422-Jun-04 21:03 
GeneralRe: marshalling a pointer member in struct from c# Pin
Heath Stewart22-Jun-04 21:06
protectorHeath Stewart22-Jun-04 21:06 
GeneralActive Directory & Multiple Connections Pin
inyoursadachine21-Jun-04 14:02
inyoursadachine21-Jun-04 14:02 
I have a C# program the asks the user for a UserID, Password, and Domain and does a WinNT Active Directory query to return a list of groups the specified user belongs to. I start the program and enter user1/password 1 on domain 1 and it works just fine. But when I (in the same invocation) try to enter user2/password2 on domain 1 I get the following COM exception:

"Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed....."

I've tried closing and disposing the DirectoryEntry object after each use but to no avail. What do I have to do (close) to allow my program to do 2+ separate Active Directory queries for 2+ userid/password combos in the same invocation??

TIA,
Matt

GeneralRe: Active Directory & Multiple Connections Pin
Heath Stewart22-Jun-04 2:51
protectorHeath Stewart22-Jun-04 2:51 
GeneralEncoding Pin
eggie521-Jun-04 12:39
eggie521-Jun-04 12:39 
GeneralRe: Encoding Pin
Christian Graus21-Jun-04 14:29
protectorChristian Graus21-Jun-04 14:29 
GeneralRe: Encoding Pin
eggie521-Jun-04 18:21
eggie521-Jun-04 18:21 
GeneralRe: Encoding Pin
Christian Graus21-Jun-04 18:23
protectorChristian Graus21-Jun-04 18:23 
GeneralRe: Encoding Pin
eggie522-Jun-04 8:54
eggie522-Jun-04 8:54 
GeneralRe: Encoding Pin
Steven Campbell21-Jun-04 15:39
Steven Campbell21-Jun-04 15:39 
GeneralRe: Encoding Pin
Heath Stewart22-Jun-04 2:48
protectorHeath Stewart22-Jun-04 2:48 
GeneralRe: Encoding Pin
eggie514-Sep-04 5:49
eggie514-Sep-04 5:49 
GeneralDataSet - saving rows that are calculated Pin
myNameIsRon21-Jun-04 11:24
myNameIsRon21-Jun-04 11:24 
GeneralRe: DataSet - saving rows that are calculated Pin
Dave Kreskowiak21-Jun-04 11:42
mveDave Kreskowiak21-Jun-04 11:42 
GeneralRe: DataSet - saving rows that are calculated Pin
myNameIsRon22-Jun-04 13:54
myNameIsRon22-Jun-04 13:54 
GeneralRe: DataSet - saving rows that are calculated Pin
myNameIsRon22-Jun-04 17:41
myNameIsRon22-Jun-04 17:41 
GeneralDirectoryServices ADSI Provider Support Pin
Anonymous21-Jun-04 11:13
Anonymous21-Jun-04 11:13 
GeneralRe: DirectoryServices ADSI Provider Support Pin
Dave Kreskowiak21-Jun-04 11:40
mveDave Kreskowiak21-Jun-04 11:40 
GeneralNewline in constant error Pin
vcorn21-Jun-04 8:05
vcorn21-Jun-04 8:05 
GeneralRe: Newline in constant error Pin
Dave Kreskowiak21-Jun-04 8:17
mveDave Kreskowiak21-Jun-04 8:17 

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.