Sign in to follow this  
ger

Help with CTD error MSVCR120.dll

Recommended Posts

Hi,

 

i didnt had any real problems with p3dv3 until a few days ago  , since then i can t finish a single flight.

 

When i m in the cruise for a few hours ,without touching the controls ,my p3d crashes when i trie to pop up the pfd or nd .

After checking the w7 logbook it shows the error is MSVCR120.dll.

 

Reinstalled  VCRedist_x86 and _64 but no luck

 

The complete error code :

 

Prepar3D.exe

3.0.10.14945

560b4abe

NSVCR120.dll

12 .0.21005.1

524f7ce6

c0000005

000345ac

20c

01d104ddf359e7d0

D:\Lockheed Martin\Prepar3D v3\Prepar3D.exe

C:\Windows \Sysytem32\MSVCR120.dll

90a116be-70f3-11e5-8cb9-c038962f4ad0

 

Flying the PMDG 777 , installed are only ASN FS dreamteam KIAH and the latest FSUIPC

 

Posted it allready in the P3D forum also but no answers ,

 

Hope someone can help

 

Thanks ,

 

Gérard

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Microsoft Visual C++ 2013 was used to make sure P3D and ASN was installed correctly. If it wasn't, you'll get this error. Reinstall P3D or ASN with UAC turned off, any anti-virus program turned off, and you right click the installer and select "run as administrator". Based on comments from others in this forum regarding ASN not working properly in P3D, recommend you uninstall ASN and see if this fixes the problem.

 

Best regards,

Share this post


Link to post
Share on other sites

Hi Jim,

 

allready uninstalled p3d and asn 3 times and reinstalled it .UAC is allways of (since installing W7 ),virus scanners were off during install and excluded the scanning of ASN and P3d afterwards ,and allways install and running programs as administrator ...

 

reinstalled visual C just minutes ago and try again , hope it helps otherwise gonna copy this file from my laptop into my gaming pc , i have been up for 2 night just to solve this problem

 

Thanks

Share this post


Link to post
Share on other sites

Try moving your p3d.cfg to a temp folder, restart, and see if that fixes the problem.

 

Try moving your dll.xml to a temporary folder, restart, and see if that fixes the problem. If it does, then it is one of the modules loading.

 

You have the proper version of the Microsoft Visual installed. All I'm saying is that Microsoft Visuals are used by developers (i.e., LM) to make sure their product is installed properly.

 

You should also make sure you start up P3D as the Administrator every time. To do this, go to the main P3D folder, look for P3D.exe, right click this file and select properties. Under the compatibility tab, make sure there are no tick marks other than near the bottom where it will state something like Always Run this Program as the Administrator.

 

Best regards,

Share this post


Link to post
Share on other sites

Hi Jim thanks for taking the time  trying to help ,

 

Just tried a flight  KIAH EHAM , running as admin , with only P3d installed , ASN PMDG and fsuipc ,scenerys default , nothing more installed inP3d and on my pc ( it's my gaming pc _) took off , immediately autopliot on and let it fly , after 3 hours P3d stopped working with the NSVCR120 dll error

 

What i did notice when moving my dll.xml is that there are 2 dll .xml files , 1 in the  ProgramData Lockheed Martin Prepar3Dv3 folder and the other one in the usersname AppData Roaming Lockheed Martin Prepar3Dv3 folder wich are different from each other when you open them with notepad .

 

 

 

 

Gérard

Share this post


Link to post
Share on other sites

re dll.xml, leave that alone, it is used only after the one in C:\Documents and Settings\aero\Application Data\Lockheed Martin\Prepar3D v3 is used, have you run in an admin dos prompt the command sfc /scannow , this would prove the integrity of your Win system (any 7, 8, 10)...

 

the error is an access violation , that means there is some file corruption somewhare...

 

Jorge

Share this post


Link to post
Share on other sites

Hi Jorge ,

 

Yes i did run the dos prompt sfc scannow test but it gave me no errors ...

 

If it is a violation error why does it come up after 3-4  hours in flight without touching something , had happening the same when i pushed a button in the vc  after  2-3 hours in flight before the sim crashed by itself , when i pushed a button or pop up the pfd or nd i got the same error ...P3D stopped working ......and got the circling sign , when i clicked ok P3D shuts off...

 

now again on my way for the same flight kiah eham , allmost 2 hours in flight , just p3d and pmdg 777 , without ASN and FSUIPC ..all default settings and default scenerys .

 

if it crashes again the next thing i m gonna do is to load the 777 on a gate and let it just run with engines on

 

Don't know what else to do

 

Gérard

Share this post


Link to post
Share on other sites

May be you are getting a hardware error, some memory filure or CPU over temp??  a disk failure? , run some mem tests and a disk check... are you Oclocking?? , this is as a last ressort ... give it a try..

 

Jorge

Share this post


Link to post
Share on other sites

http://puu.sh/kIDhO/d7d86643a7.jpg

 

Hi Jorge,

 

my system was oc but also tested it with default clock speeds 4.0 because i had thought about it also but no difference , temp are 32 28 26 25 degrees Celsius ,custom watercooled system ,

 

Did disk check before i reinstalled P3d ,again no errors ,its on a seperate SSD drive 250 GB

 

Thanks Gérard

Share this post


Link to post
Share on other sites

Gerard and I are already exchanging ideas in the LM forum but I'll chime in here for others.

 

This is a reproducible problem. Using Process Explorer, the only things using MSVCR120.dll are P3D, ASN and couatl. I've ruled out ASN.

 

I don't agree with Jim in that this dll is used to verify an installation, it is the Visual C++ Runtime library that anything developed in Visual Studio 2013 in C++ will have external references to this library for a large number of things.  I have Visual Studio 2013 installed and in use for most of the year.

 

Current status is I have five CTDs in every P3Dv3 session that lasts longer than about 2 hrs... not exactly in fact a little shy but anything less and there's no CTD.

Share this post


Link to post
Share on other sites

I don't agree with Jim in that this dll is used to verify an installation, it is the Visual C++ Runtime library that anything developed in Visual Studio 2013 in C++ will have external references to this library for a large number of things.  I have Visual Studio 2013 installed and in use for most of the year.

Hi Dan,

 

You'll have to Google that and you will see I am correct. Please do not install Visual Studio 2013 (or any other Visual Studio). You only want Microsoft Visual C++ 2013.

 

You say it is reproducible. It happens exactly at 2 hrs with the same flight plan? It is strange that it only happens to one or two people and not everyone who owns P3D. Again, I would recommend everyone move their p3d.cfg, dll.xml, and scenery.cfg to a temporary directory. The p3d.cfg and scenery.cfg will be rebuilt. The dll.xml is not needed and installed by third party applications. You want to return your installation of P3D to the default. Run the same flight and see what happens (you can run your 2 hour flight in a 4 times mode if you like). If successful, then suspect one of the three files you moved to a temporary directory.

 

Again, please remove Microsoft Visual Studio 2013. It is not needed to run P3D.

 

Best regards,

Share this post


Link to post
Share on other sites

I installed Visual Studio last year to develop C# programs. It has nothing to do with P3D except the Microsoft C runtime library, which is available to anyone from Microsoft. The library is give an overview here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn448963%28v=vs.85%29.aspx

 

It is reproducible, it is not exactly 2 hrs and has happened on different PMDG aircraft and different routes... and it is strange that only two thus far have reported it.

 

PMDG is aware of this and by the way uses Visual Studio 2010 for development, thus not the same library.

 

Why would I remove Microsoft Visual Studio?? I don't follow your logic.

Share this post


Link to post
Share on other sites

Because it is not needed by the USER.  Microsoft Visuals are installed when you install new software if the MS Visual is not already installed.  LM does not install Microsoft Visual Studios to run their applications.  No one other than a developer should have it on their system.  I take offense with your comment Dan.  Not very polite at all.  Be careful....

 

Also, check page 7 of the AVSIM CTD Guide in regards to the Microsoft.net Repair Tool.  I have actually used this tool in the past and it has fixed by installations. 

 

Best regards,

Share this post


Link to post
Share on other sites

This user uses Visual Studio, not to be contrite. I will look at the .Net repair tool. Thanks.

Share this post


Link to post
Share on other sites

The attached error occurs every 3-4 hrs of flight or just randomly.It seems the error is regenerated if only i click one of the Display Panels.
Any help is much appreciated.
Aircraft: PMDG 777-300ER sp1d with P3D v3 installer.
Addons: OPUS FSI,some flytampa & aerosoft scenaries,orbx ftx global,777 immersion.
H/W config:
i7 3970x
16GB DDR3 RAM

780 DCII OC SLI
400GB dedicated intel NVME pci-e SSD which i have set the installation path for P3D.
Untitled_2.jpg

Share this post


Link to post
Share on other sites

Hi  

 

I think there is already a thread on this here. 

 

http://www.avsim.com/topic/476406-msvcr120dll-error/

 

I think it's also being discussed over at the Prepar3d forum.  

yes but my setup & addons are different than his & also i couldn't find any solution on that thread.So,please if anyone can help.if this issue can be solved.i really need it.for the first time i am thinking of finally switching completely from FSX to P3D.

Share this post


Link to post
Share on other sites

hi ,,

still searching for an answer to fix this problem i thought i had it working yesterday but after 3.15 hours above the atlantic i clicked on the mic button so that the radio panel came up and it crashed with the same error , only installed 777 , asn and fb kiad ..

 

Latest test flight right now is p3d with def settings , def scenery ,only pmdg777 installed , raas excluded from the dll , no weather....no problems

 

support from LM is useless

Share this post


Link to post
Share on other sites

Latest test flight right now is p3d with def settings , def scenery ,only pmdg777 installed , raas excluded from the dll , no weather....no problems

 

 

Appears your investigation of your crash is starting to work.  So, if you disable the RAAS entry from the dll.xml, no problems?  The RAAS that came with the PMDG 777 is known (by me) to not work properly and it causes crashes.  FSCrew has updated it for v3 (at least for the unlocked version which I own).  This is why we have always recommended in the AVSIM CTD Guide to disable selective entries in the dll.xml (or move it to a temporary folder but then any product that uses the dll.xml will not work).  We recommend deleting the p3d.cfg and disabling all of the addon sceneries in the scenery.cfg (in a future update, we recommend moving all of these files to a temporary directory and letting these files be rebuilt, including the dll.xml and exe.xml, if these files have been installed by an addon).  

 

You have to look at your installation.  Did the crashes begin when you installed P3Dv3?  No.  They started when you installed an addon (in your case the PMDG777).  That's the suspect, not P3Dv3.

 

Best regards,

Share this post


Link to post
Share on other sites

Hi Jim,

 

I did not say that the error is caused by P3D i said i m having problems running it with the addons.

 

The last 2 days i completed flights with the RAAS dll activated and only the 777 installed , but yesterday the sim crashed after i installed the FB KIAD scenery , so one might think it is the QUATL wich causes the problems since QUATL gives many problems too.

 

It is so hard to investigate where the problem is coming from, as i said i completed flights with the RAAS entry activated , when i installed ASN the next flight it crashed so it is so difficult to say what the problem is especialy because i completed flights with the777 and ASN both installed .

 

Why does the RAAS crashes after a few hours and not in the beginning, i don't have that much knowledge about errors but still hoping that RAAS is the answer for the problems.

 

Gérard

I m doing a flight right now with the 777 , raas deactivated in the dll and 1 scenery active , after landing i m doing the return flight but with ASN installed and RAAS deactivated ..

Share this post


Link to post
Share on other sites

EDIT...RAAS disabled and ASN installed ..crash

 

7:20:55:0077-Error applying Shader Cloud Pop Fix to \\GERARD-PC\Lockheed Martin\Prepar3D v3\ShadersHLSL\misc\SwarmCloud.fx: Kan bestand \\GERARD-PC\Lockheed Martin\Prepar3D v3\ShadersHLSL\misc\SwarmCloud.fx niet vinden.

 

 

ASN can't find file SwarmCloud.fx....

Share this post


Link to post
Share on other sites

Same problem here. It´s ridiculous. P3D v3.4 crashed after about 4h30m when enlarging the PDF or ND. Hello PMDG, we are your customers! So pls do anything. Hope the Aerosoft Airbus A330 will be released soon...

Share this post


Link to post
Share on other sites

I would recommend you look at the AVSIM CTD Guide, page 10, in section entitled "How to Fix most Crashes/Freezes in FSX/P3D".  This guide shows you how to investigate with images to help you.  The first recommendation is to move your p3d.cfg and scenery.cfg to a temporary directory.  P3D has two places where the dll.xml and exe.xml is located so I would not move those files but rename them to dll.off and exe.off (check the folder where the P3D.cfg is located and the other location is in the folder where the scenery.cfg is located. Restart P3D.  The P3D.cfg and scenery.cfg will be rebuilt.  Please do not touch any of the P3D settings.  Leave them at the default.  The dll.xml and exe.xml are not default files so they cannot be rebuilt.  If no crashes, then the problem is in one of those files. I would first rename your dll.off and exe.off back to dll.xml and exe.xml (in both locations).  Restart P3D and see if the error occurs again.  If so, the problem is in one of the modules.  If not, move your scenery.cfg back and try again.  If there are still no errors, then move the P3D.cfg back.  If the crashes start again, then you know it was the P3D.cfg.  You probably had a setting set too high.

 

 

 


ASN can't find file SwarmCloud.fx

 

This was also discussed over at LM - http://www.prepar3d.com/forum/viewtopic.php?t=113995&start=90.  Is the SwarmCloud40.fx in the ShadersHLSL/Misc folder?  If so, I would go to HiFi and submit a trouble ticket.  Meanwhile you can continue to fly but without AS16 until the problem is resolved.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this