Click here to Skip to main content
15,900,616 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error running application... Pin
Abhijit Jana4-Aug-09 17:26
professionalAbhijit Jana4-Aug-09 17:26 
GeneralRe: Error running application... Pin
panyaung4-Aug-09 20:57
panyaung4-Aug-09 20:57 
GeneralRe: Error running application... Pin
puviyarasan.j5-Aug-09 0:04
puviyarasan.j5-Aug-09 0:04 
Questioncan asp page trigger a application? Pin
nelsonpaixao4-Aug-09 15:55
nelsonpaixao4-Aug-09 15:55 
AnswerRe: can asp page trigger a application? Pin
N a v a n e e t h4-Aug-09 16:27
N a v a n e e t h4-Aug-09 16:27 
GeneralRe: can asp page trigger a application? Pin
nelsonpaixao5-Aug-09 14:08
nelsonpaixao5-Aug-09 14:08 
QuestionValidationGroup/CausesValidation in User Control Pin
the_smiths4-Aug-09 15:36
the_smiths4-Aug-09 15:36 
QuestionDirectorySearcher->FindAll : The specified domain either does not exist or could not be contacted Pin
swjam4-Aug-09 15:10
swjam4-Aug-09 15:10 
Hi,

My ASP.Net project uses DirectorySearcher to do a r/w operation against the Active Directory server instance. I have a stacktrace below of an error that I encounter when my DirectorySearcher instance calls FindAll(). I was wondering if this has got to do with permissions that I may not have to perform this kind of operation. Appreciate any help, thanks.

Server Error in [...]
--------------------------------------------------------------------------------

The specified domain either does not exist or could not be contacted
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The specified domain either does not exist or could not be contacted

Source Error:


Line 222: SearchResultCollection userList = directorySearcherInstance.FindAll();


Stack Trace: 


[COMException (0x8007054b): The specified domain either does not exist or could not be contacted]
   System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   System.DirectoryServices.DirectoryEntry.Bind()
   System.DirectoryServices.DirectoryEntry.get_AdsObject()
   System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   System.DirectoryServices.DirectorySearcher.FindAll()
   [...]Global.Session_Start(Object sender, EventArgs e) in [...]\global.asax.cs:46
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   System.Web.SessionState.SessionStateModule.OnStart(EventArgs e)
   System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


----------------------------------------------------------
Lorem ipsum dolor sit amet.

AnswerRe: DirectorySearcher->FindAll : The specified domain either does not exist or could not be contacted Pin
Abhijit Jana4-Aug-09 17:31
professionalAbhijit Jana4-Aug-09 17:31 
QuestionNunit and unit testing of ASP.NET application [modified] Pin
Sandeep Akhare4-Aug-09 9:19
Sandeep Akhare4-Aug-09 9:19 
AnswerRe: Nunit and unit testing of ASP.NET application Pin
Christian Graus4-Aug-09 13:21
protectorChristian Graus4-Aug-09 13:21 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
Sandeep Akhare4-Aug-09 16:10
Sandeep Akhare4-Aug-09 16:10 
AnswerRe: Nunit and unit testing of ASP.NET application Pin
N a v a n e e t h4-Aug-09 15:50
N a v a n e e t h4-Aug-09 15:50 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
Sandeep Akhare4-Aug-09 16:15
Sandeep Akhare4-Aug-09 16:15 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
N a v a n e e t h4-Aug-09 16:26
N a v a n e e t h4-Aug-09 16:26 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
Sandeep Akhare5-Aug-09 12:05
Sandeep Akhare5-Aug-09 12:05 
QuestionArchitecture for Role based Applications Pin
saboor awan4-Aug-09 8:59
saboor awan4-Aug-09 8:59 
AnswerRe: Architecture for Role based Applications Pin
Hemant_ec484-Aug-09 9:31
Hemant_ec484-Aug-09 9:31 
Question[Message Deleted] Pin
Veera anil4-Aug-09 7:44
Veera anil4-Aug-09 7:44 
AnswerRe: dynamic check box's gridview in asp .net Pin
Hemant_ec484-Aug-09 7:47
Hemant_ec484-Aug-09 7:47 
GeneralRe: dynamic check box's gridview in asp .net Pin
Vijaykumar_Vsk3-Sep-09 3:24
Vijaykumar_Vsk3-Sep-09 3:24 
AnswerCP Member : Please Ignore - Crosspost Pin
Abhijit Jana4-Aug-09 7:59
professionalAbhijit Jana4-Aug-09 7:59 
Questiondynamicaly adding check box's gridview in asp .net Pin
Veera anil4-Aug-09 7:14
Veera anil4-Aug-09 7:14 
AnswerRe: dynamicaly adding check box's gridview in asp .net Pin
Blue_Boy4-Aug-09 7:18
Blue_Boy4-Aug-09 7:18 
GeneralRe: dynamicaly adding check box's gridview in asp .net Pin
Veera anil4-Aug-09 7:36
Veera anil4-Aug-09 7:36 

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.