Lync 2010 Mobility not working with ASP.NET 1309 Error

This article assumes you have the Lync Mobility pack installed on your server.

 Errors on device:

Can’t connect to the server right now, please try again

Can’t reach server, retrying


Errors on Lync Front End every time a Mobile Client connected:

Lync ASP Warning


Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 1/14/2014 4:56:05 PM

Event time (UTC): 1/14/2014 9:56:05 PM

Event ID: 30334e245aa64a6d9d4f95a79c855515

Event sequence: 2

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/34578/ROOT/Mcx-1-130342101245810604

Trust level: Full

Application Virtual Path: /Mcx

Application Path: C:\Program Files\Microsoft Lync Server 2010\Web Components\Mcx\Ext\

Machine name: LYNC SERVER

Process information:

Process ID: 13560

Process name: w3wp.exe


Exception information:

Exception type: HttpException

Exception message: Unable to gain access to resources

Request information:

Request URL:

Request path: /mcx/mcxservice.svc/mex

User host address: 10.1.X.X


Is authenticated: False

Authentication Type:


Thread information:

Thread ID: 1


Is impersonating: False

Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)

at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)

at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)

at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)

at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)



You will need to start out basic troubleshooting here.  If all passes please proceed.

We started getting emails from users saying they could no longer connect their phone to Lync from the outside.  Testing internally worked but on the outside it was a no go.  While searching for these events I found nothing relevant and after restarting IIS and other troubleshooting it was not working I decided to open a case with Microsoft.  I was advised that my Web Components Server and IIS were corrupt and I had to remove them and reinstall.  Seeing that mobility just stopped working it sounded about right but I was not about to perform all of that without trying what seems to of fixed the issue.  Being use to SharePoint and having ASP.NET errors in that environment I decided to try something.  Lync has an Application Pool which goes hand in hand with IIS and seeing the error was trying to access the MXCSERVICE I decided to recycle the pool.  This still did not work.  So here our fix:


  1. On your Lync Front end
  2. Open IIS
  3. Expand and navigate to Application Pools
  4. Right click on CSExtMcxAppPool and click Stop
    1. You will have to wait about 20 seconds before you can start or it will error outLync App Pool
  5. Now right click the same App Pool and select Start
  6. Wait another 5-10 minutes and test

One Reply to “Lync 2010 Mobility not working with ASP.NET 1309 Error”

Leave a Reply

Your email address will not be published. Required fields are marked *