Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
QuestionWorkerEventHandler.BeginInvoke() questions. Pin
Are Jay15-Apr-07 18:26
Are Jay15-Apr-07 18:26 
AnswerRe: WorkerEventHandler.BeginInvoke() questions. Pin
Luc Pattyn16-Apr-07 4:06
sitebuilderLuc Pattyn16-Apr-07 4:06 
GeneralRe: WorkerEventHandler.BeginInvoke() questions. Pin
Are Jay16-Apr-07 4:54
Are Jay16-Apr-07 4:54 
GeneralRe: WorkerEventHandler.BeginInvoke() questions. Pin
Luc Pattyn16-Apr-07 6:49
sitebuilderLuc Pattyn16-Apr-07 6:49 
GeneralRe: WorkerEventHandler.BeginInvoke() questions. Pin
Are Jay20-Apr-07 13:40
Are Jay20-Apr-07 13:40 
QuestionObject Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Zach198315-Apr-07 17:28
Zach198315-Apr-07 17:28 
AnswerRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Luc Pattyn16-Apr-07 4:10
sitebuilderLuc Pattyn16-Apr-07 4:10 
GeneralRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Zach198316-Apr-07 8:27
Zach198316-Apr-07 8:27 
Hi,

Thanks for the reply. As u suggested I checked dsSearcher.FindOne() and it is returning a NULL. The trace doesnt sugest me anything other than this

Error: Object reference not set to an instance of an object.. Trace: at UBS.BLISS.UserInfo..ctor(UserDirectory parentDirectory, String userAttribute, UserSearchType searchType) in d:\BLISS\App_Code\UserInfo.cs:line 152
at UBS.BLISS.UserDirectory.GetByLegacyExchangeDN(String legacyExchangeDN) in d:\BLISS\App_Code\UserDirectory.cs:line 101
at UBS.BLISS.MessageReader.GetCapturedMessageItem(IMessage iMsg, MailRetentionType retentionType, MessageType messageType, Boolean hideContent) in d:\BLISS\App_Code\MessageReader.cs:line 395. InnerException: . Source: App_Code.714yokif

Confused | :confused:

I have the same code to do the search based on the LegacyExchangeDN in my test page it works fine but when i do it as a part of the application it throws this exception.

The code also works fine in Production with windows server 2000.

I kinda of struck in this, Please help me

Thanks

Zach1983
GeneralRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Luc Pattyn16-Apr-07 8:58
sitebuilderLuc Pattyn16-Apr-07 8:58 
QuestionRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Zach198318-Apr-07 10:13
Zach198318-Apr-07 10:13 
QuestionRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Zach198318-Apr-07 10:22
Zach198318-Apr-07 10:22 
AnswerRe: Object Reference not Set an instance of an object while Querying the 2003 Active Directory Pin
Luc Pattyn18-Apr-07 14:04
sitebuilderLuc Pattyn18-Apr-07 14:04 
QuestionHelp selecting xml nodes Pin
drifters15-Apr-07 17:02
drifters15-Apr-07 17:02 
AnswerRe: Help selecting xml nodes Pin
Christian Graus15-Apr-07 17:36
protectorChristian Graus15-Apr-07 17:36 
GeneralRe: Help selecting xml nodes Pin
drifters15-Apr-07 17:42
drifters15-Apr-07 17:42 
QuestionWindow Focus Pin
dirkwilliams15-Apr-07 16:03
dirkwilliams15-Apr-07 16:03 
AnswerRe: Window Focus Pin
Luc Pattyn15-Apr-07 23:16
sitebuilderLuc Pattyn15-Apr-07 23:16 
QuestionQuestion about detecting mouse click using? Pin
Khoramdin15-Apr-07 15:31
Khoramdin15-Apr-07 15:31 
AnswerRe: Question about detecting mouse click using? Pin
Christian Graus15-Apr-07 16:54
protectorChristian Graus15-Apr-07 16:54 
GeneralRe: Question about detecting mouse click using? Pin
Khoramdin16-Apr-07 6:29
Khoramdin16-Apr-07 6:29 
QuestionmyCommand.SelectCommand.Parameters.Add(new SqlParameter("@State", SqlDbType.NVarChar, 1)); Pin
swjam15-Apr-07 14:09
swjam15-Apr-07 14:09 
AnswerRe: myCommand.SelectCommand.Parameters.Add(new SqlParameter("@State", SqlDbType.NVarChar, 1)); Pin
Christian Graus15-Apr-07 15:19
protectorChristian Graus15-Apr-07 15:19 
QuestionSave Mesh data to a .X file Pin
max2929715-Apr-07 13:06
max2929715-Apr-07 13:06 
AnswerRe: Save Mesh data to a .X file Pin
Judah Gabriel Himango16-Apr-07 10:11
sponsorJudah Gabriel Himango16-Apr-07 10:11 
QuestionHow to read data from external application? Pin
loony123415-Apr-07 12:49
loony123415-Apr-07 12:49 

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.