?
Solved

mscorwks.dll - How to ensure that my application is using this DLL?

Posted on 2014-10-01
7
Medium Priority
?
237 Views
Last Modified: 2014-10-05
Dear Experts,

  Please refer the attached image. We got the error and the windows service application is crashed. How to ensure that the windows service is using the .NET core DLL mscorwks.dll?

   I believe this is .net issue. Please share any hot fix if you have or know. Thanks.
Error.jpg
0
Comment
Question by:Easwaran Paramasivam
[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
  • 4
  • 2
7 Comments
 
LVL 17

Accepted Solution

by:
Barry Cunney earned 1400 total points
ID: 40354277
Hi Easwaran,
It appears that your issue is very similar to that documented in
http://support.microsoft.com/kb/913384

This article also mentions a hotfix
http://code.msdn.microsoft.com/KB913384

Please double-check all the details in the support article to be 100% sure that your scenario is the same, before applying the hotfix.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 40354412
Thanks. Could you please say the purpose of mscorwks.dll and why it is mandatory? I googled it but no luck. Thanks in advance.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 40354464
In other words, could you please suggest how to ensure that my windows service is referred the DLL? Thanks in advance.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 35

Assisted Solution

by:sarabande
sarabande earned 600 total points
ID: 40354542
the mscorwks.dll is a .NET dll used by the framework. it exists for 32-bit framework in folder windows\microsoft.net\framework\v2.0.50727  and for 64-bit framework in windows\microsoft.net\framework64\v2.0.50727


at my win7 system it has build-number 5485 while yours is 1873. the dll provides helper functions for the framework I found names like GetUserStore, GetUserSateManager, ParseManifest, CreateCMSFromXml, ...  .

if a core dll crashes it rarely is an error of the dll itself but due to a wrong call where an invalid or NULL pointer was passed to the function. the error then would be 0xc0000005 access violation.

How to ensure that the windows service is using the .NET core DLL mscorwks.dll?
not sure that I understand what you mean. the crash and event log isn't it proof enough that the dll was used?

Sara
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 40359076
Thanks.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 40359135
@sarabande: Could you please help to identify which part of code in my project uses the mscorwks.dll?
0
 
LVL 35

Expert Comment

by:sarabande
ID: 40361851
what is your windows platform?
can you reproduce the error?
if yes, you could add log messages to your code to narrow down the cause to one statement.
if not, log messages would only help next time.

did you install the hotfix suggested by Barry? you also might get the newest service pack, i think the reason mentioned in the ms article that a null pointer was passed for the user policies is good likely and the hotfix should help. you also could try to run the service using a different user account. if you explicitly add some policies to the account the issue might be fixed as well.

Sara
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 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