Remote Web Workplace error

We have an SBS Server that has recently been migrated to a VMWare ESX 4 host.  Prior to the migration it was working fine.  The NIC has been configure with exactly the same IP address (IPv4 and IPv6).

The theory is that there should be no difference in the machine.  However, we are having major problems with VPN in and Remote Web workplace.

Whenever attempts to autheticate in RWW the following error is generated in the Application log:

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          22/04/2010 2:29:29 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      <FQDN of server>
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/22/2010 2:29:29 PM
Event time (UTC): 4/22/2010 4:29:29 AM
Event ID: 0d2ce876c0f84dc29d93640b4ca8cadc
Event sequence: 16
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/3/ROOT/Remote-1-129163841260704495
    Trust level: Full
    Application Virtual Path: /Remote
    Application Path: C:\Program Files\Windows Small Business Server\Bin\WebApp\Remote\
    Machine name: <Server Name>
 
Process information:
    Process ID: 8556
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: DirectoryServicesCOMException
    Exception message: An operations error occurred.
 
 
Request information:
    Request URL: https://<web address of server>:443/Remote/menu.aspx
    Request path: /Remote/menu.aspx
    User host address: 203.24.9.84
    User: Administrator
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 5
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()
   at Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.Initialize(String userSamAccountName, String dcName, String domainDnsName, String logonUserName, SecureString password)
   at Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.CreateInstance(String userSamAccountName)
   at Microsoft.WindowsServerSolutions.IWorker.RWW.RWWPluginSBS.GetDefaultComputer(String userSamAccountName)
   at Microsoft.WindowsServerSolutions.IWorker.RWW.RAPLinks.get_DefaultComputer()
   at Microsoft.WindowsServerSolutions.IWorker.RWW.MainMenu.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 2.0.50727.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-04-22T04:29:29.000Z" />
    <EventRecordID>357270</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SERVER-SBS-01.corp.stornoway.com.au</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>4/22/2010 2:29:29 PM</Data>
    <Data>4/22/2010 4:29:29 AM</Data>
    <Data>0d2ce876c0f84dc29d93640b4ca8cadc</Data>
    <Data>16</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/3/ROOT/Remote-1-129163841260704495</Data>
    <Data>Full</Data>
    <Data>/Remote</Data>
    <Data>C:\Program Files\Windows Small Business Server\Bin\WebApp\Remote\</Data>
    <Data><Server Name></Data>
    <Data>
    </Data>
    <Data>8556</Data>
    <Data>w3wp.exe</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>DirectoryServicesCOMException</Data>
    <Data>An operations error occurred.
</Data>
    <Data>https://<web address of server>:443/Remote/menu.aspx</Data>
    <Data>/Remote/menu.aspx</Data>
    <Data>203.24.9.84</Data>
    <Data>Administrator</Data>
    <Data>True</Data>
    <Data>Forms</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>5</Data>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>False</Data>
    <Data>   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()
   at Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.Initialize(String userSamAccountName, String dcName, String domainDnsName, String logonUserName, SecureString password)
   at Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.CreateInstance(String userSamAccountName)
   at Microsoft.WindowsServerSolutions.IWorker.RWW.RWWPluginSBS.GetDefaultComputer(String userSamAccountName)
   at Microsoft.WindowsServerSolutions.IWorker.RWW.RAPLinks.get_DefaultComputer()
   at Microsoft.WindowsServerSolutions.IWorker.RWW.MainMenu.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
  </EventData>
</Event>

Furthermore, VPN access is not working.  Users can authenticate, but when negotiating the protocol it times out.

I strongly suspect these two are closely related
LVL 1
idmacraeAsked:
Who is Participating?
 
Shreedhar EtteCommented:
0
 
Shreedhar EtteCommented:
0
WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

 
idmacraeAuthor Commented:
Active directory and, file replication and dns replication all working fine.  Hence th frist two articles are not relevant.

I came across the other one in earlier searches.  I have implemented this, even though it does not refer to the specific error which is System.DirectoryServices.DirectoryEntry.Bind.

When I attempt to access the web site directly on the server I get this message:

Server Error in '/Remote' Application.
--------------------------------------------------------------------------------

An operations error occurred.

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.DirectoryServices.DirectoryServicesCOMException: An operations error occurred.


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[DirectoryServicesCOMException (0x80072020): An operations error occurred.
]
   System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +557
   System.DirectoryServices.DirectoryEntry.Bind() +44
   System.DirectoryServices.DirectoryEntry.get_AdsObject() +42
   System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +98
   System.DirectoryServices.DirectorySearcher.FindOne() +49
   Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.Initialize(String userSamAccountName, String dcName, String domainDnsName, String logonUserName, SecureString password) +510
   Microsoft.WindowsServerSolutions.ClientSetup.UserComputerMap.CreateInstance(String userSamAccountName) +70
   Microsoft.WindowsServerSolutions.IWorker.RWW.RWWPluginSBS.GetDefaultComputer(String userSamAccountName) +45
   Microsoft.WindowsServerSolutions.IWorker.RWW.RAPLinks.get_DefaultComputer() +134
   Microsoft.WindowsServerSolutions.IWorker.RWW.MainMenu.Page_Load(Object sender, EventArgs e) +943
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

This appears to point to an AD problem but all is well.  There are no errors in the AD logs, dns logs, file replication logs etc

0
 
Shreedhar EtteCommented:
Hi,

Refer this:
http://support.microsoft.com/kb/823379

Hope this helps,
Shree
0
 
idmacraeAuthor Commented:
Thanks for your response.  This did not solve the problem.  The article refers to SBS 2003.  This is SBS 2008.  Nevertheless, when I run the aspnet_regiis -ir command I get the following response:

C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ir
The error indicates that IIS is not installed on the machine. Please install IIS
 before using this tool.
Finished installing ASP.NET (2.0.50727).

This is a strange one as IIS is installed.
0
 
idmacraeAuthor Commented:
Strangely enough - I had already applied this update before.  It made no difference.  I went through the steps again, rebooted the server and now I have internal access to RWW.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.