Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

ncrunch 3.12.0.15
johnkennerley
#1 Posted : Monday, November 27, 2017 9:56:32 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/28/2015(UTC)
Posts: 6
Location: United Kingdom

Thanks: 2 times
After installing NCrunch_VS2017_3.12.0.15.msi,
and ncrunch is non operational ...



I am getting the message below in the Risk/Progress bar


An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\John Kennerley\AppData\Roaming\Microsoft\VisualStudio\15.0_f25537bd\ActivityLog.xml".

Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()



Looks like the relevant entries could be ActivityLog.xml ...



<entry>
<record>230</record>
<time>2017/11/27 09:50:10.456</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
</entry>
<entry>
<record>231</record>
<time>2017/11/27 09:50:10.472</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source: &apos;mscorlib&apos; Description: Could not load file or assembly &apos;file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll&apos;&#x000D;&#x000A; at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)&#x000D;&#x000A; at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A; at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>232</record>
<time>2017/11/27 09:50:10.472</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Package failed to load; error message suppressed by skip flag</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
</entry>
<entry>
<record>233</record>
<time>2017/11/27 09:50:10.472</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Construction of frame content failed.&#x000D;&#x000A;Frame identifier: ST:0:0:{4963bea4-8a53-46f0-912f-7536594a8767}&#x000D;&#x000A;Frame caption: NCrunch Risk/Progress&#x000D;&#x000A;Exception details:&#x000D;&#x000A;System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid&amp; packageGuid, Int32 reason, Guid&amp; context)&#x000D;&#x000A; at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()&#x000D;&#x000A; at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>
</
Remco
#2 Posted : Monday, November 27, 2017 10:22:13 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Did you install this manually from ZIP previously? This looks like a blocked file issue.

Try the removal and reinstall fix. If installing manually, make sure you follow the manual installation instructions precisely, especially the step involved in unblocking the files after extracting them from ZIP.
1 user thanked Remco for this useful post.
johnkennerley on 11/27/2017(UTC)
johnkennerley
#3 Posted : Monday, November 27, 2017 10:30:52 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/28/2015(UTC)
Posts: 6
Location: United Kingdom

Thanks: 2 times
I installed from the NCrunch_VS2017_3.12.0.15.msi not from the zip.

Once I got these messages on starting VS, I
1. closed VS
2. resinstalled ncrunch ie fixed a broken install of ncrunch,
3. tried this twice ...
4, when I still go the issues,
5. I de-installed ncrunch and reinstalled again from the msi above ...
6. and then posted on this forum ..

JK




Remco
#4 Posted : Monday, November 27, 2017 10:35:12 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Sorry, thanks for confirming this. Could you check if you're able to open the nCrunch.VSIntegration2017.dll using any other tool on your machine? (i.e. even notepad). This error suggests that something is blocking access to this file or one of its dependencies. Are you running a virus scanner or any 3rd party security software?

Also, can you confirm you tried the "devenv.exe /setup" step in the removal+reinstall fix?
1 user thanked Remco for this useful post.
johnkennerley on 11/27/2017(UTC)
johnkennerley
#5 Posted : Monday, November 27, 2017 10:52:17 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/28/2015(UTC)
Posts: 6
Location: United Kingdom

Thanks: 2 times
Where is nCrunch.VSIntegration2017.dll
Ans : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017
There is no remco software in

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions

No, I did not devenv.exe /setup" ...

JK
Remco
#6 Posted : Monday, November 27, 2017 10:55:07 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
VS has an internal cache of extensions that are installed. This cache includes a range of important information about extensions, such as their primary DLL, menu options, etc.

If something didn't go right during installation, it's possible that the cache is out of date. This may be why it's looking for a 3.11 version of nCrunch.VSIntegration rather than the correct version. Running "devenv.exe /setup" will reset the cache and can usually resolve these kinds of problems.
johnkennerley
#7 Posted : Monday, November 27, 2017 10:56:24 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/28/2015(UTC)
Posts: 6
Location: United Kingdom

Thanks: 2 times
The ver of VS I have is 15.4.4 ...

I just tried devenv.exe /setup but says operation could not be completed ...



**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.4.4
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************

C:\Users\John Kennerley\source>devenv

C:\Users\John Kennerley\source>devenv /setup

Microsoft Visual Studio 2017 Version 15.0.27004.2009.
Copyright (C) Microsoft Corp. All rights reserved.

The operation could not be completed
C:\Users\John Kennerley\source>
Remco
#8 Posted : Monday, November 27, 2017 10:57:27 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Sorry, make sure you run it as an administrator.
johnkennerley
#9 Posted : Monday, November 27, 2017 11:01:11 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/28/2015(UTC)
Posts: 6
Location: United Kingdom

Thanks: 2 times
opening and Administrator: Developer commaand prompt and typing
> devenv /setup

does not seem to open VS ...
Remco
#10 Posted : Monday, November 27, 2017 11:02:33 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
It will run in the background. Wait until it's finished before you try to re-run VS.
jenseralmeida
#12 Posted : Thursday, November 30, 2017 5:25:21 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/2/2017(UTC)
Posts: 4
Location: Brazil

Was thanked: 1 time(s) in 1 post(s)
I'm having problems when trying to install the version NCrunch_VS2017_3.12.0.15.msi. The Windows is blocking the download saying it contained a virus and was deleted. I'm using the latest Windows 10 version and I don't have any other antivirus than the default Windows Defender Security Center.

https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ

[img=https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ]Virus threat detection[/img]
Remco
#13 Posted : Thursday, November 30, 2017 8:09:31 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi,

The onedrive links you've provided above don't seem to work for me (not sure why?). NCrunch has had problems with Windows Smartscreen in the past because of the reputation system used by Smartscreen. Basically, the logic used by the scanner is that if there is a downloadable that hasn't been downloaded by many people, then it is considered suspect and flagged up as a virus. There is unfortunately very little that vendors can do about this sort of thing, you'll need to look into your system configuration to see if you can work around it. There are no viruses in NCrunch.

If you like, you can try the 7-zip downloadable (which will require manual installation). Sometimes this works around the security:

http://downloads.ncrunch.net/NCrunch_VS2017_3.12.0.15.msi.7z
jenseralmeida
#14 Posted : Friday, December 1, 2017 3:53:07 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/2/2017(UTC)
Posts: 4
Location: Brazil

Was thanked: 1 time(s) in 1 post(s)
Thank you for the rapid response.

The new file sent is still detected as a virus by windows. I was able to download and install the previous version without any issues. Differently from what Smartscreen used to do in the past, this time the message is being explicit about the existence of a virus "NCrunch_VS2017_3.12.0.15.msi contained a virus and was deleted."

About the OneDrive link, because of the "!" the forum is detecting the end of the link prematurely. I'm pasting the link below. Please, copy the entire line, not just the part which was detected as a link.

https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ
Remco
#15 Posted : Friday, December 1, 2017 6:03:28 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
You have my assurance that NCrunch does not contain a virus. This is a false positive.

If you like, you can check the results of online services that are able to push the file through a range of different scanners. Virus Total has quite a good one that allows you to scan a file without downloading it.

As a vendor, there is unfortunately very little I can do about false positives. It isn't possible to design a product around virus scanner detection systems, and because NCrunch does a range of things that a scanner would consider suspect (starting processes, manipulating DLLs and PDBs), there will always be a high occurrence of false positives when scanning it.

If there is any option to do so, I suggest overriding Windows Defender to allow the download, or consider downloading it in a different way (i.e. from another machine).

If you can give me the details in the report, I can try to send a False Positive report to MS .. though I am not optimistic on how long it may take them to revise their signatures. Unfortunately copy/pasting the link you've given still doesn't seem to work for me. I get a OneDrive error saying the file is no longer available.
jenseralmeida
#16 Posted : Wednesday, December 6, 2017 8:50:30 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/2/2017(UTC)
Posts: 4
Location: Brazil

Was thanked: 1 time(s) in 1 post(s)
Hi Remco and NCrunch Team,

Sorry to bother you again with this topic but I was able to come with some new information. The, likely, false positive detection indicated the Trojan:Win32/Sprisky.U!cl.

Considering that, probably, I'm not the only person which is getting this kind of warning, and that I'm one of the ones it's sharing it, I hope that I can help this amazing product in some way.


https://drive.google.com...UsenZp_Zt8zzEWfNDkphrEom
1 user thanked jenseralmeida for this useful post.
Remco on 12/6/2017(UTC)
Remco
#17 Posted : Thursday, December 7, 2017 3:14:12 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Thanks for sharing these extra details. I've submitted both the VS2017 and VS2015 installers to MS as false positives. I'm not sure how soon they will respond on this, or if they will respond at all. I recommend making sure you have your Windows Defender definitions up-to-date. According to the online submission system, the scanner seems to conclude that neither of these installers have malware. Perhaps their online scanner is different, or they've recently updated the definitions? This is using definition version 1.259.1.0
jenseralmeida
#18 Posted : Tuesday, December 19, 2017 5:37:37 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/2/2017(UTC)
Posts: 4
Location: Brazil

Was thanked: 1 time(s) in 1 post(s)
This week I was able to install the version without any false positive detection by windows defender. Thank you for your support and attention.
Remco
#19 Posted : Tuesday, December 19, 2017 6:53:53 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
jenseralmeida;11646 wrote:
This week I was able to install the version without any false positive detection by windows defender. Thank you for your support and attention.


Great to hear! But if thanks are involved, they're probably better due to MS rather than myself. It seems they've fixed the definitions :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.113 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download