Solved

Error in Remote Web Access domain setup - SBS 2011 Essentials

Posted on 2012-03-14
8
945 Views
Last Modified: 2014-02-11
Very strange problem occuring with a new SBS 2011 essentials install, hoping someone has seen this before.

We are attempting to complete the domain setup wizard in the SBS dashboard.  We run the wizard and choose "I want to setup a new domain name", then "get a personalized domain name from microsoft", then enter our windows live credentials.  After clicking next, we get the following error:

the domain name was not setup for your server, wait a few minutes and run the wizard again.   An unexpected error or unknown problem occured.  Please wait a few minutes, and then try again.  

What seems to happen in the background is that the Windows Server Domain Name Management service crashes and I get the following 3 errors in the event log:

Log Name:      Application
Source:        .NET Runtime
Date:          14/03/2012 11:05:34 PM
Event ID:      1025
Task Category: None
Level:         Error
Keywords:      Classic
Application: SharedServiceHost.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unhandled exception from operation:

Service type: Microsoft.WindowsServerSolutions.RemoteAccess.Domains.DomainProviderManager
Operation: [http://tempuri.org/] IDomainSignupManager.SetCredentials
Async: False
Parameters: 
   DomainNameRequest request
   DomainProviderCredentials credentials
   Boolean validate


System.IO.FileNotFoundException: Could not load msidcrl40.dll from C:\Program Files\Common Files\Microsoft Shared\Windows Live\msidcrl40.dll
   at Microsoft.WindowsServerSolutions.Identity.WindowsLive.ManagedIDCRL.Initialize(String proxy, Int32 version)
   at Microsoft.WindowsServerSolutions.RemoteAccess.Domains.WindowsLiveProviderBase.GetLiveRpsToken(DomainProviderCredentials credentials)
   at Microsoft.WindowsServerSolutions.RemoteAccess.Domains.WindowsLiveProviderBase.ValidateCredentials()
   at Microsoft.WindowsServerSolutions.RemoteAccess.Domains.DomainProviderManager.SetCredentials(DomainNameRequest request, DomainProviderCredentials credentials, Boolean validate)
   at SyncInvokeSetCredentials(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener._ScreenForExceptions(GeneralInvoker invokeMe, Object instance, Object[] inputs, Object[]& outputs)
Stack:
   at System.Environment.FailFast(System.String, System.Exception)
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener._ScreenForExceptions(GeneralInvoker, System.Object, System.Object[], System.Object[] ByRef)
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener.Invoke(System.Object, System.Object[], System.Object[] ByRef)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean)
   at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(System.ServiceModel.Channels.RequestContext, Boolean, System.ServiceModel.OperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(System.ServiceModel.Channels.RequestContext, System.ServiceModel.OperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(System.IAsyncResult)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.AsyncResult`1[[Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.InputChannelRequeuer`1+TryReceiveResult[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Sku, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Complete(Boolean, System.Func`1<TryReceiveResult<System.__Canon>>)
   at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.CoalescingAsyncResult`1[[Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.InputChannelRequeuer`1+TryReceiveResult[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Sku, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]._MyCallback(System.IAsyncResult)
   at System.Runtime.AsyncResult.Complete(Boolean)
   at System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult.OnReceive(System.IAsyncResult)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at System.Runtime.AsyncResult.Complete(Boolean)
   at System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.OnReceiveComplete(System.Object)
   at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(System.Object)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32, Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
   at System.Net.Security.NegotiateStream.ReadCallback(System.Net.AsyncProtocolRequest)
   at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32)
   at System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)
   at System.Runtime.AsyncResult.Complete(Boolean)
   at System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult.OnAsyncReadComplete(System.Object)
   at System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean, Int32, Int32)
   at System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

Open in new window


Log Name:      Application
Source:        Application Error
Date:          14/03/2012 11:05:36 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
Faulting application name: SharedServiceHost.exe, version: 6.1.1839.0, time stamp: 0x4d38a956
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x000007ff00176c3e
Faulting process id: 0x20b8
Faulting application start time: 0x01cd026088c73238
Faulting application path: C:\Program Files\Windows Server\Bin\SharedServiceHost.exe
Faulting module path: unknown
Report Id: 1dd64b2c-6e54-11e1-a9fe-e4115b1374f7

Open in new window


Log Name:      System
Source:        Service Control Manager
Date:          14/03/2012 11:05:37 PM
Event ID:      7034
Task Category: None
Level:         Error
Keywords:      Classic
The Windows Server Domain Name Management service terminated unexpectedly.  It has done this 10 time(s).

Open in new window


This happens over and and over, no matter what I've tried.  There seems little on the web about anything similar.  Thanks in advance.
0
Comment
Question by:EnvisionTech
  • 3
  • 2
8 Comments
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 37725985
There are a few conditions that the wizard does not handle gracefully. One of the most common is a mismatch in time between the server and MS's servers when attempting to log into Windows Live (to prevent man in the middle attacks.)

You *must* make sure your time is accurate to within 5 minutes of an accurate world clock. You *must* also ensure your timezone is set correctly. If the clock "appears" right, but the timezone is wrong, then you are exactly an hour off, or two, or three....and the Live login will fail and the wizard crashes...

-Cliff
0
 

Author Comment

by:EnvisionTech
ID: 37728212
Hi Cliff,

Thanks for the info.  I've already checked out the time mismatch possibility and everything looks correct.  Timezone is correct and I did a sync to pool.ntp.org before trying the connection.  But still the same problem.
0
 

Expert Comment

by:djolson
ID: 37930695
Greetings,

Not to hijack the thread, but I am experiencing the exact same issues.  I, too, have checked for any time mismatch; time and zone are correct.  Any updates on possible solutions would be most appreciated.

Edit to add question: is there a way to manually configure the domain and RWA, therefore bypassing the wizard?

DJ
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Accepted Solution

by:
EnvisionTech earned 0 total points
ID: 37942352
based on the lack of response, i kinda figured I was an anomoly, so its good to hear that its not just my setup.  

I have yet to find a true solution, however, I did get around the problem by using the company domain and going through the wizard with that instead of using the microsoft provided domain and SSL cert.

If you setup your own domain with proper dns records and get your own ssl certificate, then you can just go through the wizard, answer the questions and then import the ssl certificate.  In this scenario the wizard completes successfully for me.

One quick question for you based on a pure hunch.  Are you using a firewall or some sort of gateway protection device?  If so, what brand?
0
 

Expert Comment

by:djolson
ID: 37953805
The wizard does nothing for me, besides crash at the same point as described in the OP.  Using a GoDaddy account, as that is what's recommended in the wizard.  GoDaddy tech support was very helpful in getting the SSL cert installed, but the wizard will not complete.  Hence, the domain is not setup and RWA will not connect.

Decided to try and at least get the server, domain and RWA working before installing the firewall; remove that from the equation for now.  The router is configured per MS instructions.

Wish there was some sort of a workaround here as the wizard obviously has some issues.  Anyone, anyone... Bueller, Bueller?
0
 

Author Closing Comment

by:EnvisionTech
ID: 39849687
no better answers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now