Click here to Skip to main content
15,897,334 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow Do I Stop The Flashing On Control Postbacks? Pin
Member 66660725-Mar-04 4:19
Member 66660725-Mar-04 4:19 
GeneralSafely cleaning up server when Socket is disconnected Pin
Paul Ingles24-Mar-04 23:18
Paul Ingles24-Mar-04 23:18 
QuestionHow can I return the method that is called when an event is raised ? Pin
Necati Arslan24-Mar-04 22:20
Necati Arslan24-Mar-04 22:20 
AnswerRe: How can I return the method that is called when an event is raised ? Pin
Michael Flanakin25-Mar-04 18:29
Michael Flanakin25-Mar-04 18:29 
GeneralRe: How can I return the method that is called when an event is raised ? Pin
Necati Arslan26-Mar-04 4:06
Necati Arslan26-Mar-04 4:06 
GeneralRe: How can I return the method that is called when an event is raised ? Pin
Michael Flanakin26-Mar-04 4:19
Michael Flanakin26-Mar-04 4:19 
Generalcan't save .pdb to web server Pin
peterzorbas24-Mar-04 22:05
peterzorbas24-Mar-04 22:05 
GeneralFindAll with system.directoryservice Pin
Cammie Watson24-Mar-04 5:58
Cammie Watson24-Mar-04 5:58 
Hi there,

On the login page of our .aspx intranet application, we use the system.directory namespace to query active directory using the username and password entered on the page. Something like the following.

oRoot = New DirectoryServices.DirectoryEntry("GC://dc=acme,dc=com, <username>,<password>)
oSearch = New DirectoryServices.DirectorySearcher
oSearch.SearchRoot = oRoot
oSearch.Filter = "(&(objectclass=user)(sAMaccountName=jbloggs))"
oResults = oSearch.FindAll()

We use GC:// instead of LDAP:// because we want to do a forest wide search as we have multiple domains. We have 3 Global catalogs within our network infrastructure. Most of the time this piece of code works find. But sometimes with no consistency, the application throws an error on the last line of the above code (oSearch.FindAll()). The error reported is 'The server is not operational'. Does anyone have any ideas, how does FindAll() work?

Thanks

Cammie
GeneralRemote Access to the Registry with Impersonation Pin
Gunner_Sr24-Mar-04 2:45
Gunner_Sr24-Mar-04 2:45 
GeneralRe: Remote Access to the Registry with Impersonation Pin
Roman Rodov24-Mar-04 3:40
Roman Rodov24-Mar-04 3:40 
GeneralRe: Remote Access to the Registry with Impersonation Pin
Gunner_Sr24-Mar-04 4:11
Gunner_Sr24-Mar-04 4:11 
GeneralRe: Remote Access to the Registry with Impersonation Pin
Roman Rodov24-Mar-04 12:55
Roman Rodov24-Mar-04 12:55 
Generalunload an assembly Pin
dzsigit24-Mar-04 2:11
dzsigit24-Mar-04 2:11 
GeneralRe: unload an assembly Pin
Roman Rodov24-Mar-04 3:25
Roman Rodov24-Mar-04 3:25 
GeneralWindow Visibility Pin
ShadowLordXP23-Mar-04 17:15
ShadowLordXP23-Mar-04 17:15 
GeneralRe: Window Visibility Pin
John Kuhn23-Mar-04 19:40
John Kuhn23-Mar-04 19:40 
GeneralRe: Window Visibility Pin
T Manjaly24-Mar-04 12:07
T Manjaly24-Mar-04 12:07 
GeneralRe: Window Visibility Pin
John Kuhn24-Mar-04 15:23
John Kuhn24-Mar-04 15:23 
Generalapplications for nt4, 98, me Pin
hazzem elrefai22-Mar-04 22:52
hazzem elrefai22-Mar-04 22:52 
GeneralRe: applications for nt4, 98, me Pin
Rob Graham23-Mar-04 9:16
Rob Graham23-Mar-04 9:16 
GeneralRe: applications for nt4, 98, me Pin
Roman Rodov23-Mar-04 12:28
Roman Rodov23-Mar-04 12:28 
GeneralRe: applications for nt4, 98, me Pin
IGx8923-Mar-04 15:37
IGx8923-Mar-04 15:37 
GeneralRe: applications for nt4, 98, me Pin
John Kuhn23-Mar-04 16:11
John Kuhn23-Mar-04 16:11 
GeneralDatabase change notification? Help needed... Pin
petand7822-Mar-04 12:21
petand7822-Mar-04 12:21 
GeneralRe: Database change notification? Help needed... Pin
Colin Angus Mackay23-Mar-04 12:44
Colin Angus Mackay23-Mar-04 12:44 

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.