phone 983-651-5611
Home > The Specified > The Specified Domain Or Server Could Not Be Contacted

The Specified Domain Or Server Could Not Be Contacted

This is a standard >> webapplication created using Visual Studio.NET 2003. You also know that the LDAP port 389 that this tool (and the ActiveDirectoryMembershipProvider) uses is open if you are able to browse in the AD at this time. Use ping to see if the server even exist from your point of view. Do you know of any IIS settings that might be causing this error? http://twaproductions.com/the-specified/the-specified-domain-cannot-be-contacted-windows-7.html

Another "do-it-yourself" option is to have a separate webserver placed within the firewall which uses the active directory provider itself but has a WCF service or similar that client websites can The above code works >> from my console app and works a beaut but just not from my ASP page.. >> >> can anyone tell me what Im doing worng here? Use the netdom /? Get 1:1 Help Now Advertise Here Enjoyed your answer? http://stackoverflow.com/questions/1268811/activedirectorymembershipprovider-the-specified-domain-or-server-could-not-be-c

Clean up server metadata http://technet.microsoft.com/en-us/library/cc736378(WS.10).aspx Clean up server metadata using the command line http://technet.microsoft.com/en-us/library/cc816907(WS.10).aspx#bkmk_commandline However,I suggest you reinstall server after transferring or seizing FSMO Roles to another domain controller if possible. See this KB article for a list of conditions that must be satisfied for this to happen: [url]http://support.microsoft.com/?id=258063[/url] Cheers Ken Ken Schaefer Guest « WebServices and More, FTP/Grid | Some webservice On the ASPX page, set the security mechanism to >> Anonymous only. >> . I listed the steps I went through but I get stuck when I try have to reinstall AD, Once it asks me to reboot I cannot get back into the server

Seemingly excess trace length reason Platonic Truth and 1st Order Predicate Logic Why do XSS strings often start with ">? The symptom and error seems that your environment relies on WINS to resolve the NetBIOS name. What is this device attached to the seat-tube? I can run the code from a >> console app but I cant run it from an ASP solution?

I do have to log in when I access the page for the first time - not sure why thats happening but if the rest works then my theory is - Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name I get the folowing message: "The specified domain either does not exist or could not be contacted" Heres the code Im using: --------------------------------------------------- try { DirectoryEntry group = new DirectoryEntry("LDAP://CN=Administrators,CN=builtin,DC=ourdomain,DC=com") ; http://world.episerver.com/blogs/Daniel-Ovaska/Dates/2013/2/How-to-solve-problems-with-the-ActiveDirectoryMembershipProvider-and-similar-ldap-integrations/ contact your administrator to verify that your doamin is properly configured and is currently online.

I have IIS installed and Ive set the permissions to interactive user. Locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions In the right-pane, double-click ProductType. I.e. Essentially, you > can either make the process run under a domain account, or you can > impersonate a domain account so that your current thread will take on that >

This error message can occur if the client is configured with the IP address of a Domain Name System (DNS) server that does not support SRV records, or if the DNS Connect with top rated Experts 15 Experts available now in Live! Some of these options vary by the OS you > are running and your security settings. > > All of the IIS security settings are configured via the IIS MMC on I get the folowing >> message: >> >> "The specified domain either does not exist or could not be contacted" >> >> Heres the code Im using: >> --------------------------------------------------- >> try

By the way... http://twaproductions.com/the-specified/the-specified-domain-does-not-exist-server-2012.html I can run the code from a > console app but I cant run it from an ASP solution? When I try to access Active directory Users and Computers it has a red X through it and I could no see any of my users. active-directory asp.net-membership share|improve this question asked Jun 30 '15 at 15:39 sppc42 634414 add a comment| active oldest votes Know someone who can answer?

Port 445 always gets me into trouble personally when I set this up for the first time in a while because I forget to check if it's open. (By Johan Kronberg I do have to log in when I access > the page for the first time - not sure why thats happening Um - because IIS needs to impersonate a user Microsoft Customer Support Microsoft Community Forums Windows Server TechCenter   Sign in United States (English) Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)România (Română)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 his comment is here Safe way to remove paint from ground wire?

Looking at my web.config file I dont have this >> "identity impersonate="true"" section and also it says to "security >> mechanism to Anonymous only" - where do I find this security You have modified the web.config on the site similar to this: …and you added the connectionstring with IP or server name to connectionStrings.config like this: …but it doesn’t work? On the ASPX page, set the security mechanism to Anonymous only. .

I would recommend starting with Softerra’s LDAP browser.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Google it, download it. I also had to disable anonymous access and enable integrated authentication in IIS before it worked. Quit Registry Editor.

Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Exception using ActiveDirectoryMembershipProvider: The specified domain or server could not be I have IIS installed >> and Ive set the permissions to interactive user. Essentially, you can either make the process run under a domain account, or you can impersonate a domain account so that your current thread will take on that identity. weblink I was able to login with my password.

Is it set to its own IP address or 127.0.0.1 Set it to its own IP address. 0 LVL 7 Overall: Level 7 MS Legacy OS 2 Active Directory 1 Check the System event logs for Netlogon errors. However, am seeing different behavior when I just do a directory search, which works just fine, and doing Membership.GetAllUsers(), which fails with 'The specified domain or server could not be contacted' Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller http://support.microsoft.com/kb/255504 Brent Hu, TechNet Subscriber Support in forum If you have any feedback on our support, please contact [email protected]

This makes it possible to expose less information in the event of a security breach and also relieves load from a, potentially slow, internal AD. So nice when t works when in fact you were expecting an error - love that. This ensures that Domain Controllers register their DOMAIN<1C> NetBIOS names with the WINS Server. More info here: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=43724&epslanguage=en (By Daniel Ovaska , 21 February 2013 10:19, Permanent link) Since port 445 is mandatory to have open if you want to use the Active Directory Membership

There are no currently no logon servers available to service the logon request. Set the Anonymous account to be a domain user. ------------- Cheers Grant "Joe Kaplan (MVP - ADSI)" wrote in message news:Op5qpNN0EHA.3244TK2MSFTNGP10.phx.gbl... > This is a security context issue. información - when to use which? It is also possible to impersonate a specific user via web.config by specifying credentials and you can impersonate an account through code.

But it’s still not working? I can run the code from >>>> a console app but I cant run it from an ASP solution? Error authenticating user. Visit our UserVoice Page to submit and vote on ideas!

We've opened the LDAP port to the DC on the inside network - yet no matter what we try, we end up with an error that says "The specified domain or Even if i log in as an administrator on the Host. it was a small registry entry change and a reboot of server. :http://support.microsoft.com/kb/947022/en-us *PROBLEM RESOLVED* Thanks Go to Solution 6 2 +4 7 Participants Sumit Gupta(6 comments) LVL 7 MS Legacy