Solved

Error in Remote Web Access domain setup - SBS 2011 Essentials

Posted on 2012-03-14
8
1,011 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 58

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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

623 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