web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics 365 on Windows Server 2016 - IIS crash when exporting solutions

(0) ShareShare
ReportReport
Posted on by 44

We are planning a migration from Dynamics CRM 2013 to Dynamics 365, but recently i noticed a major issue with our servers.

When exporting a specific solution the IIS crashes, in the system event viewer i get this:

0511.Capture.JPG

Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a
Faulting module name: clr.dll, version: 4.7.2110.0, time stamp: 0x597bd642
Exception code: 0xc00000fd
Fault offset: 0x000000000014a225
Faulting process id: 0xad0
Faulting application start time: 0x01d340dfbd421ca0
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: bf812cea-59b1-4b1a-b302-45c17c8412f5
Faulting package full name:
Faulting package-relative application ID:

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: w3wp.exe
P2: 10.0.14393.0
P3: 57899b8a
P4: mscorlib
P5: 4.7.2110.0
P6: 597bd4f6
P7: 3906
P8: a
P9: System.StackOverflowException
P10:

Attached files:

These files may be available here:


Analysis symbol:
Rechecking for solution: 0
Report Id: 7cdf6cf1-e275-4003-96cc-53285246a746
Report Status: 0
Hashed bucket:

Then :

3326.Capture1.JPG

An unhandled Microsoft .NET Framework exception occurred in w3wp.exe [10476]. Just-In-Time debugging this exception failed with the following error: The operation attempted is not supported.

Check the documentation index for 'Just-in-time debugging, errors' for more information.

and also

Lost contact with a Sandbox Client.
Source: Microsoft.Crm.Sandbox.HostService.exe (4224)
Sandbox Client: crm-dev: w3wp.exe (7416)

I cannot find anything relevant in the CRM log files.

This issue is being replicated on three servers, dev, test and production.

Dynamics 365 server version : 8.2.1.176

Microsoft Windows Server version : 1607 (OS Build 14392.1715)

IIS version: 10.0.14393.0

Some CRM logs:

w3wp:

[2017-10-09 11:06:46.782] Process: w3wp |Organization:f65b7b33-1df6-4ecb-871e-74a5e6fc68d4 |Thread: 23 |Category: Platform.Metadata |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1c933406-440c-46a2-b948-67c4a5f22c52 |ActivityId: 1c933406-440c-46a2-b948-67c4a5f22c52 | DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal ilOffset = 0x179
at DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, BuildMetadataContainerFromDatabaseTemplate buildMetadataContainerFromDatabase, Nullable`1 optionalVersionNumberToFilterResults) ilOffset = 0x179
at DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, Nullable`1 optionalVersionNumberToFilterResults) ilOffset = 0x37
at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter) ilOffset = 0x1B
at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, CounterList counter) ilOffset = 0x24
at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context) ilOffset = 0x131
at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists) ilOffset = 0xF3
at MetadataCache.GetInstance(IOrganizationContext context) ilOffset = 0x9A
at UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context) ilOffset = 0x7
at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) ilOffset = 0x0
at CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context) ilOffset = 0x1A
at CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context) ilOffset = 0x0
at SecurityLibrary.ValidateUserEnabled(Guid userId, Guid organizationId) ilOffset = 0x12
at AuthenticationProvider.Authenticate(HttpApplication application) ilOffset = 0x111
at AuthenticationStep.Authenticate(HttpApplication application) ilOffset = 0x4D
at AuthenticationPipeline.Authenticate(HttpApplication application) ilOffset = 0x11
at AuthenticationEngine.Execute(Object sender, EventArgs e) ilOffset = 0x165
at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x5D
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15
at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0x27A
at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31
at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
>Multi-org sharable cache loading system and non-system metadata with build number 8.2.1.176 and language 1033

Any hints?

Thanks

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans