When trying to run a simple ruby program I wrote, I am getting this error. Just reinstalled everything the other day, before the code was working fine.
ruby/1.8/i386-mswin32/openssl.so: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. - C:/ruby/lib/ruby/1.8/i386-mswin32/openssl.so (LoadError)
application event log:
Activation context generation failed for "C:\ruby\bin\SSLEAY32.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Needed the visual c++ redistributable package. Thanks for the help jitter, you comment lead me to the right direction.
Same problem also for me. Installing Microsoft Visual C++ 2008 Redistributable Package (x86) resolved the problem
Related
I am trying to run a HelloWorld C# .NET Core Console Application and I get this error. I have installed Microsoft VS 2022 and also installed .NET 6.0. Tried all the solutions I could find so far on the other posts regarding this error, but none of them has solved the issue. I also tried reinstalling VS 2022 and even gave VS 2019 a chance to see if things would work differently (they didn't, same error). Does anyone have a solution for this?
"ResolvePackageAssets" task failed unexpectedly. NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder...:
The debug executable does not exist:
Thanks to user9938's suggestion that pointed out the error message I was receiving (...Unable to find fallback package folder D:\New Folder\Components\Offline Packages), I solved the issue by simply creating the missing folder indicated. Thank you!
I use Microsoft Visual Studio 2015 Community Update 3 to program various software and wanted to check PVS-Studio 6.14.21489 with the free license.
But I can't get it to work from Visual Studio, all it's able to outpout is:
Failed to preprocess file "[file path].cpp": Failed to obtain a compiler version.
V008: Unable to start the analysis on this file. [file path].cpp. Failed to obtain a compiler version.
Tested with win32 and x64 on both debug and release and I get this message on all files, nothing else. Solutions are compiling sucessfuly.
I tried reinstalling the product, same effect.
Note: I use Windows 8.1 Standard edition x64, all products including Visual Studio are installed in their default folder in C:\Program Files (x86)
Any clue would be very appreciated
Many thanks
Thank you for a detailed explanation of the issue. It was caused by a defect in our code. We have fixed it and published a beta version of PVS-Studio with a fix. You may download it using this link. Please try it in your environment and let us know the results.
I am using VS 2013 and SQL SERVER 2014 and I am trying to use entity framework to connect to the DB from VS 2013. I am getting test connection succeeded when adding the Entity data model but getting the above error.
Error :Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0'
System cannot find the file specified
I tried so many solution, I re-installed SQLSysClrTypes.msi,
SharedManagementObjects.msi, DB2OLEDBV5_x64.msi and vcredist_x64.exe to resolve this ; but it did n't works.
Could any one please suggest me solution?
Thanks,
Saloni
Just to stamp as the answer, let me rewrite in the answer block from my comments.
Install the right Microsoft.SqlServer.Management.Sdk.Sfc version 11's SharedManagementObjects.msi from http://www.microsoft.com/en-us/download/details.aspx?id=35580, because it seems like the entity is using the previous SQL Server (2012).
Problem: (Sql server 2012) This issue happens when assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 not found by visual studio.
Solution: just go to http://www.microsoft.com/en-us/download/details.aspx?id=35580 and download:
ENU\x64\SharedManagementObjects.msi for X64 OS or
ENU\x86\SharedManagementObjects.msi for X86 OS,
then install it, and restart visual studio.
I tried to start Visual Studio and it said: "This application has failed to start because ATL100.DLL was not found. Re-installing the application may fix this problem".
I don't want to reinstall it (time consuming).
I also just uninstalled all the C++ stuff (I don't do any C++ work, so I got rid of it).
So does anyone know?
If the ATL100.DLL is missing you're likely just seeing the first missing file of a now corrupted installation. If you don't want to do a full reinstall you can attempt to repair the installation from your install source but there's no easy fix for this.
http://msdn.microsoft.com/en-us/library/e2h7fzkw.aspx#repair
You need to have the MS VC++ 2010 redistributable pack installed on the client machine.
You should also link your program against the release version of the redist pack and not distribute a debug version of the VC++ runtime (msvcr100d.dll) as its release counterpart is part of the VS2010 redistributable pack, as described here. The ATL100.dll is also part of that pack. MS has strict policies about which dll can be distributed with the application. A previous post about DWMAPI.DLL will help to sort out that problem.
source:iodocs.com
(I'm running Windows7 and using Visual Studio 2010.)
I'm using ClamAV in a .NET Azure project, and I'm running into side-by-side errors whenever I run clamd.exe, either through my code or by running clamd.exe on it's own.
In Visual Studio 2010 I am getting the error:
Win32Exception was unhandled The application has failed to start
because its side-by-side configuration is incorrect. Please see the
application event log or use the command-line sxstrace.exe tool for
more detail
And in Event Viewer I get:
Activation context generation failed for
"C:\Users\pconerly\code\AntiVirus_source\WorkerRole\clamav\clamd.exe".
Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis.
When I searched for "8.0.50727.6195" it led me to the 2005 redist, so I downloaded it
http://www.microsoft.com/download/en/details.aspx?id=3387
After a restart I am still getting the side-by-side error. Additionally, I think that the redist installer is not completing it's install-- like it's seeing visual studio 2010 and saying "oh, that's good enough, no need for me to install". I haven't tried uninstalling 2010 and using 2005, because the rest of my Dev team is using VS 2010.
What's the deal? How can this be fixed? I'm ready to pull out my hair.
The link Timores posted is the update for Visual Studio. The actual redistributable package is this:
http://www.microsoft.com/en-us/download/details.aspx?id=26347
The version you mention is actually at found here
Microsoft Visual Studio 2005 Service Pack 1 MFC Security Update
Timores is right: the redist should be this one, which is related to this KB entry
As you can see there, msvcr80.dll has been updated to version 8.0.50727.6195.
It is the "security update" of the "SP1" of the 2005 C++ runtime..
Your exe probably requires (through an internal manifest) that specific version.
If it is not found on the system (there's a lot of places searched for) nor in the current folder (with a suitable manifest aside) it won't load the exe since it is not able to "activate the context", that is load the specific DLL required in the manifest.
I had similar issues when my system got updated (windows updates) and the newly compiled EXEs were not working with an old-versioned runtime placed on the same folder.
I had to update msvcr80.dll and its manifest (which I found deep in \windows\winsxs) to make everything work.
Context activation is a tricky matter, anyway :)
HTH