Visual Basic code won't open Microsoft Excel (Office 2010) - visual-studio-2012

I'm trying to write some Visual Basic code in Visual Studio 2012 that will be able to open and make changes to an existing Microsoft Excel workbook (Office 2010). This is the code I've come up with:
Dim BillingCalender As String = *Path to Excel Workbook*
Dim xlsApp As Excel.Application = New Excel.Application
Dim xlsWorkBooks As Excel.Workbooks = xlsApp.Workbooks
Dim xlsWB As Excel.Workbook = xlsWorkBooks.Open(BillingCalender)
However, whenever I try to run this, a new Excel Workbook is opened and the following error is given:
An add-in could not be found or could not be loaded
Could not create an instance of startup object ReCreateEmpty.ReCreateEmpty in assembly ReCreateEmpty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException: Could not create an instance of startup object ReCreateEmpty.ReCreateEmpty in assembly ReCreateEmpty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at ReCreateEmpty.ReCreateEmpty..ctor(ApplicationFactory factory, IServiceProvider serviceProvider) in C:\Users\c33426s\Documents\Visual Studio 2012\Projects\ReCreateEmpty\ReCreateEmpty\ThisAddIn.vb:line 6
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34294 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34291 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Hosting
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.ServerDocument
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34285 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Microsoft.Office.Tools
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
----------------------------------------
Microsoft.Office.Tools.Excel.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.Implementation.dll
----------------------------------------
Microsoft.Office.Tools.Common.Implementation
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
----------------------------------------
Microsoft.Office.Tools.Common
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
----------------------------------------
ReCreateEmpty
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/c33426s/Documents/Visual%20Studio%202012/Projects/ReCreateEmpty/ReCreateEmpty/bin/Debug/ReCreateEmpty.DLL
----------------------------------------
Microsoft.Office.Tools.Common.v4.0.Utilities
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///C:/Users/c33426s/Documents/Visual%20Studio%202012/Projects/ReCreateEmpty/ReCreateEmpty/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL
----------------------------------------
Microsoft.Office.Tools.Excel
Assembly Version: 10.0.0.0
Win32 Version: 10.0.60724.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Excel/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Excel.dll
----------------------------------------
Microsoft.Office.Interop.Excel
Assembly Version: 14.0.0.0
Win32 Version: 14.0.4756.1000
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Excel/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Excel.dll
----------------------------------------
office
Assembly Version: 14.0.0.0
Win32 Version: 14.0.4760.1000
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
Could someone help me understand what the issue could be and how I can circumvent it?

Related

How to build executable with pyinstaller that uses pycryptodome?

I'm trying to build the following script that uses pycryptodome:
# based on this example http://www.codekoala.com/posts/aes-encryption-python-using-pycrypto/#comment-25921785
from Crypto.Cipher import AES
from Crypto import Random
import base64
plain_text = 'Secret data'
block_size = 16
key_size = 32
mode = AES.MODE_CBC
key_bytes = Random.get_random_bytes(key_size)
pad = block_size - len(plain_text) % block_size
data = plain_text + pad * chr(pad)
iv_bytes = Random.get_random_bytes(block_size)
encrypted_bytes = iv_bytes + AES.new(key_bytes, mode, iv_bytes).encrypt(bytes(data, encoding='utf-8'))
encrypted_string = base64.urlsafe_b64encode(encrypted_bytes)
key_string = base64.urlsafe_b64encode(key_bytes)
key_bytes2 = base64.urlsafe_b64decode(key_string)
assert key_bytes == key_bytes2
encrypted_bytes2 = base64.urlsafe_b64decode(encrypted_string)
assert encrypted_bytes == encrypted_bytes2
iv_bytes2 = encrypted_bytes2[:block_size]
assert iv_bytes == iv_bytes2
encrypted_bytes2 = encrypted_bytes2[block_size:]
plain_text2 = AES.new(key_bytes2, mode, iv_bytes2).decrypt(encrypted_bytes2)
print(plain_text2)
pad = int(plain_text2[-1])
print(pad)
plain_text2 = plain_text2[:-pad].decode('utf-8')
print(plain_text2)
assert plain_text == plain_text2
This is the output I get while running pyinstaller:
C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec>pyinstaller crypto.py
46 INFO: PyInstaller: 3.3
46 INFO: Python: 3.6.2
46 INFO: Platform: Windows-7-6.1.7601-SP1
46 INFO: wrote C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\crypto.spec
46 INFO: UPX is not available.
62 INFO: Extending PYTHONPATH with paths
['C:\\Users\\test\\Documents\\MiniCryptoCodec\\minicryptocodec',
'C:\\Users\\test\\Documents\\MiniCryptoCodec\\minicryptocodec']
62 INFO: checking Analysis
62 INFO: Building Analysis because out00-Analysis.toc is non existent
62 INFO: Initializing module dependency graph...
62 INFO: Initializing module graph hooks...
62 INFO: Analyzing base_library.zip ...
2718 INFO: running Analysis out00-Analysis.toc
2718 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by c:\users\test\appdata\local\programs\python\python36\python.exe
3281 INFO: Caching module hooks...
3281 INFO: Analyzing C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\crypto.py
3625 INFO: Loading module hooks...
3625 INFO: Loading module hook "hook-encodings.py"...
3703 INFO: Loading module hook "hook-pydoc.py"...
3703 INFO: Loading module hook "hook-xml.py"...
3921 INFO: Looking for ctypes DLLs
3921 INFO: Analyzing run-time hooks ...
3921 INFO: Looking for dynamic libraries
4000 INFO: Looking for eggs
4000 INFO: Using Python library c:\users\test\appdata\local\programs\python\python36\python36.dll
4000 INFO: Found binding redirects:
[]
4015 INFO: Warnings written to C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\build\crypto\warncrypto.txt
4062 INFO: Graph cross-reference written to C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\build\crypto\xref-crypto.html
4062 INFO: checking PYZ
4062 INFO: Building PYZ because out00-PYZ.toc is non existent
4062 INFO: Building PYZ (ZlibArchive) C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\build\crypto\out00-PYZ.pyz
4515 INFO: Building PYZ (ZlibArchive) C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\build\crypto\out00-PYZ.pyz completed successfully.
4515 INFO: checking PKG
4515 INFO: Building PKG because out00-PKG.toc is non existent
4515 INFO: Building PKG (CArchive) out00-PKG.pkg
4531 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully.
4531 INFO: Bootloader c:\users\test\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
4531 INFO: checking EXE
4531 INFO: Building EXE because out00-EXE.toc is non existent
4531 INFO: Building EXE from out00-EXE.toc
4531 INFO: Appending archive to EXE C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec\build\crypto\crypto.exe
4546 INFO: Building EXE from out00-EXE.toc completed successfully.
4546 INFO: checking COLLECT
4546 INFO: Building COLLECT because out00-COLLECT.toc is non existent
4546 INFO: Building COLLECT out00-COLLECT.toc
4875 INFO: Building COLLECT out00-COLLECT.toc completed successfully.
Everything seems ok. But when I run the build executable I get this:
C:\Users\test\Documents\MiniCryptoCodec\minicryptocodec>dist\crypto\crypto.exe
Traceback (most recent call last):
File "crypto.py", line 1, in <module>
from Crypto.Cipher import AES
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "c:\users\test\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\Crypto\Cipher\__init__.py", line 3, in <module>
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "c:\users\test\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\Crypto\Cipher\_mode_ecb.py", line 46, in <module>
File "site-packages\Crypto\Util\_raw_api.py", line 189, in load_pycryptodome_raw_lib
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb'
[2824] Failed to execute script crypto
I even added 'pycryptodome' to the hiddenimports list in the spec file but it still does not work.
What do I need to do to build a working executable that uses pycryptodome?
You may need a more recent version of PyInstaller - there was a 'hook' added for pycryptodome three months ago
https://github.com/pyinstaller/pyinstaller/tree/develop/PyInstaller/hooks
After adding the hook I had additional issues and was able to get it working by installing cffi package
https://pypi.python.org/pypi/cffi
pip install cffi
If you want to solve your problems use pycryptodomex
pip uninstall -y pycryptodome
pip install pycryptodomex
Then search and all the imports of Crypto and replace them with Cryptodome.
It works using pyinstaller 3.4 as installed by pip on conda 4.5.12:
>conda create -n pyinstaller python=3.7
>activate pyinstaller
>pip install pyinstaller
>pip install pycryptodome
>conda list
# packages in environment at C:\Users\pablo\AppData\Local\Continuum\anaconda3\envs\pyinstaller:
#
# Name Version Build Channel
altgraph 0.16.1 <pip>
ca-certificates 2018.03.07 0
certifi 2018.11.29 py37_0
future 0.17.1 <pip>
macholib 1.11 <pip>
openssl 1.1.1a he774522_0
pefile 2018.8.8 <pip>
pip 18.1 py37_0
pycryptodome 3.7.2 <pip>
PyInstaller 3.4 <pip>
python 3.7.2 h8c8aaf0_0
pywin32-ctypes 0.2.0 <pip>
setuptools 40.6.3 py37_0
sqlite 3.26.0 he774522_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.15.26706 h3a45250_0
wheel 0.32.3 py37_0
wincertstore 0.2 py37_0
>
>pyinstaller main.py
62 INFO: PyInstaller: 3.4
62 INFO: Python: 3.7.2
62 INFO: Platform: Windows-10-10.0.15063-SP0
62 INFO: wrote C:\Users\pablo\Dev\untitled\main.spec
78 INFO: UPX is not available.
78 INFO: Extending PYTHONPATH with paths
['C:\\Users\\pablo\\Dev\\untitled', 'C:\\Users\\pablo\\Dev\\untitled']
78 INFO: checking Analysis
78 INFO: Building Analysis because Analysis-00.toc is non existent
78 INFO: Initializing module dependency graph...
78 INFO: Initializing module graph hooks...
78 INFO: Analyzing base_library.zip ...
2734 INFO: running Analysis Analysis-00.toc
2734 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by c:\users\pablo\appdata\local\continuum\anaconda3\envs\pyinstaller\python.exe
3390 INFO: Caching module hooks...
3406 INFO: Analyzing C:\Users\pablo\Dev\untitled\main.py
3671 INFO: Loading module hooks...
3671 INFO: Loading module hook "hook-Crypto.py"...
3687 INFO: Loading module hook "hook-encodings.py"...
3765 INFO: Loading module hook "hook-pydoc.py"...
3765 INFO: Loading module hook "hook-xml.py"...
3953 INFO: Looking for ctypes DLLs
3953 INFO: Analyzing run-time hooks ...
3968 INFO: Looking for dynamic libraries
4859 INFO: Looking for eggs
4859 INFO: Using Python library c:\users\pablo\appdata\local\continuum\anaconda3\envs\pyinstaller\python37.dll
4859 INFO: Found binding redirects:
[]
4875 INFO: Warnings written to C:\Users\pablo\Dev\untitled\build\main\warn-main.txt
4906 INFO: Graph cross-reference written to C:\Users\pablo\Dev\untitled\build\main\xref-main.html
4937 INFO: checking PYZ
4937 INFO: Building PYZ because PYZ-00.toc is non existent
4937 INFO: Building PYZ (ZlibArchive) C:\Users\pablo\Dev\untitled\build\main\PYZ-00.pyz
5484 INFO: Building PYZ (ZlibArchive) C:\Users\pablo\Dev\untitled\build\main\PYZ-00.pyz completed successfully.
5499 INFO: checking PKG
5499 INFO: Building PKG because PKG-00.toc is non existent
5499 INFO: Building PKG (CArchive) PKG-00.pkg
5515 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
5515 INFO: Bootloader c:\users\pablo\appdata\local\continuum\anaconda3\envs\pyinstaller\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
5515 INFO: checking EXE
5515 INFO: Building EXE because EXE-00.toc is non existent
5515 INFO: Building EXE from EXE-00.toc
5515 INFO: Appending archive to EXE C:\Users\pablo\Dev\untitled\build\main\main.exe
5515 INFO: Building EXE from EXE-00.toc completed successfully.
5531 INFO: checking COLLECT
5531 INFO: Building COLLECT because COLLECT-00.toc is non existent
5531 INFO: Building COLLECT COLLECT-00.toc
6062 INFO: Building COLLECT COLLECT-00.toc completed successfully.
my environment:
python 3.6
pyinstaller 4.10
pycryptodomex 3.15.0
and then copy the hook file(hook-Cryptodome.py) into venv/Lib/site-packages/PyInstaller. then using the pyinstaller to excute following bash:
pyinstaller ../../demo.py -F -p ../venv/Lib/site-packages
ps. the path maybe you should adjust in your own PC.

ImageResizingModule not run for static content despite runAllManagedModulesForAllRequests="true"

I'm trying to use ImageResizer (v4) to handle all image requests but I can only get the images from database (using plugin SqlReader) to work. Plain images in the images folder (or other folders) are not handled for some reason. I'm testing with very simple querystrings like /images/x.png?width=50 . Here is my output from resizer.debug.ashx:
Image resizer diagnostic sheet localhost 5/19/2017 6:47:51 PM
2 Issues detected:
resizer configuration(ConfigurationError): You have specified default commands (format) that will cause all image requests to be proccessed; even those that do not need ImageResizer.
<pipeline defaultCommands="fastscale=true&format=jpg&quality=70" />
resizer configuration(Error): No license found for domain localhost - features installed: R4Performance or R4DiskCache AND R4Performance or R4BlobProviders
Assembly use report:
You are using plugins and assemblies from the V4 Performance Edition.
----------------
License keys
You do not have any license keys installed.
----------------
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.WebConfigLicenseReader
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.Basic.MvcRoutingShimPlugin
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
ImageResizer.Plugins.PrettyGifs.PrettyGifs
ImageResizer.Plugins.FastScaling.FastScalingPlugin
ImageResizer.Plugins.SqlReader.SqlReaderPlugin
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Storage.BlobProviderBase]
Configuration:
<resizer>
<pipeline defaultCommands="fastscale=true&format=jpg&quality=70" />
<plugins>
<add name="DiskCache" />
<add name="PrettyGifs" />
<add name="FastScaling" />
<add name="SqlReader" prefix="~/img/" connectionString="[redacted]" idType="Int" blobQuery="SELECT Content FROM Images WHERE Id=#id" modifiedQuery="Select ModifiedDate, CreatedDate From Images WHERE ImageID=#id" existsQuery="Select COUNT(Id) From Images WHERE Id=#id" requireImageExtension="false" cacheUnmodifiedFiles="true" extensionPartOfId="false" checkForModifiedFiles="false" vpp="false" untrustedData="false" />
</plugins>
<diskcache dir="~/imgcache" />
</resizer>
Accepted querystring keys:
quality, format, thumbnail, colors, dither, f.sharpen, maxwidth, maxheight, width, height, w, h, crop, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, frame, useresizingpipeline, cache, process, margin, dpi, zoom, autorotate,
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi,
Environment information:
Running Microsoft-IIS/10.0 on Microsoft Windows NT 10.0.14393.0 and CLR 4.0.30319.42000
Trust level: Unrestricted
OS bitness: AMD64
Executing assembly: c:\windows\system32\inetsrv\w3wp.exe
IntegratedPipeline: True
Installed HttpModules:
System.Web.Caching.OutputCacheModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyOutputCache)
System.Web.SessionState.SessionStateModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keySession)
System.Web.Security.WindowsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyWindowsAuthentication)
System.Web.Security.FormsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyFormsAuthentication)
System.Web.Security.DefaultAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyDefaultAuthentication)
System.Web.Security.RoleManagerModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyRoleManager)
System.Web.Security.UrlAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlAuthorization)
System.Web.Security.FileAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyFileAuthorization)
System.Web.Security.AnonymousIdentificationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyAnonymousIdentification)
System.Web.Profile.ProfileModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyProfile)
System.Web.UrlMappingsModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlMappingsModule)
System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under keyUrlRoutingModule-4.0)
System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under keyScriptModule-4.0)
System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under keyServiceModel-4.0)
WebMarkupMin.AspNet4.HttpModules.HtmlMinificationModule, WebMarkupMin.AspNet4.HttpModules, Version=2.4.0.0, Culture=neutral, PublicKeyToken=99472178d266584b (under keyHtmlMinificationModule)
WebMarkupMin.AspNet4.HttpModules.HttpCompressionModule, WebMarkupMin.AspNet4.HttpModules, Version=2.4.0.0, Culture=neutral, PublicKeyToken=99472178d266584b (under keyHttpCompressionModule)
ImageResizer.InterceptModule, ImageResizer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null (under keyImageResizingModule)
Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor, Version=3.4.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc (under key__DynamicModule_Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor, Version=3.4.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc_0a4ced7a-d68e-4945-b47e-ef41e2dc2533)
Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key__DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_9c96216b-f685-42cd-b2a0-5fbfa2688d4d)
Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (under key__DynamicModule_Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a_79b40b26-e637-4036-ba3d-07748d5bfa5c)
System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key__DynamicModule_System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_89c621b1-fb8d-4270-b829-b5d1100f62f5)
System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (under key__DynamicModule_System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_1fa38abb-8524-4007-9f72-26b331e783cc)
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.6.1648.0 Info: 4.6.1648.0
System.Web Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Core Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Configuration Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Microsoft.JScript Assembly: 10.0.0.0 File: 14.6.1586.0 Info: 14.6.1586.0
System.Web.WebPages.Razor Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Microsoft.Owin.Host.SystemWeb Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
System.Web.Optimization Assembly: 1.1.0.0 File: 1.1.40211.0
System.Web.Mvc Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Castle.Windsor Assembly: 3.4.0.0 File: 3.4.0.91 Info: 3.4.0.91
System.Web.WebPages.Deployment Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.WebPages Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
Microsoft.VisualStudio.Web.PageInspector.Loader Assembly: 1.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.VisualStudio.Web.PageInspector.Runtime Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.VisualStudio.Web.PageInspector.Tracing Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
SMDiagnostics Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
Microsoft.VisualStudio.Web.PageInspector.HtmlParser Assembly: 14.0.0.0 File: 14.1.21111.0 Info: 14.1.21111.0.K-1.0.1.b65
Microsoft.Web.Infrastructure Assembly: 1.0.0.0 File: 1.0.20105.407
App_global.asax.dqpxun8g Assembly: 0.0.0.0
Gentide.Web Assembly: 1.0.0.0 File: 1.0.0.0
Abp.Web Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
System.Web.Extensions Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ServiceModel Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
WebMarkupMin.AspNet4.HttpModules Assembly: 2.4.0.0 File: 2.4.0.0
WebMarkupMin.AspNet4.Common Assembly: 2.4.0.0 File: 2.4.0.0
WebMarkupMin.AspNet.Common Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
WebMarkupMin.Core Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Data Assembly: 4.0.0.0 File: 4.6.1636.0 Info: 4.6.1636.0
System.Web.Services Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Drawing Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.IdentityModel Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Web Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Activities Assembly: 4.0.0.0 File: 4.6.1637.0 Info: 4.6.1637.0
System.ServiceModel.Activities Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.WorkflowServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Data.DataSetExtensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Abp.AutoMapper Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Castle.Log4Net Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.EntityFramework.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.EntityFramework Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.HangFire Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Owin Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Api Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.Mvc Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Web.SignalR Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero.Common Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
Abp.Zero.EntityFramework Assembly: 2.0.0.0 File: 2.0.0.0 Info: 2.0.0
ACMESharp Assembly: 0.8.2.0 File: 0.8.2.0 Info: 0.8.2
ACMESharp.PKI.Providers.BouncyCastle Assembly: 0.8.2.0 File: 0.8.2.0 Info: 0.8.2
AjaxMin Assembly: 5.14.5506.26196
Antlr3.Runtime Assembly: 3.5.0.2 File: 3.5.0.2
AutoMapper Assembly: 6.0.2.0 File: 6.0.2.0 Info: 6.0.2-master-8b260ff1
BouncyCastle.Crypto Assembly: 1.8.1.0 File: 1.8.15362.1 Info: 1.8.1
Castle.Core Assembly: 3.3.0.0 File: 3.3.0.43 Info: 3.3.0.43
Castle.Facilities.Logging Assembly: 3.4.0.0 File: 3.4.0.91 Info: 3.4.0.91
Castle.Services.Logging.Log4netIntegration Assembly: 3.3.0.0 File: 3.3.3.58 Info: 3.3.3.58
EntityFramework Assembly: 6.0.0.0 File: 6.1.40302.0 Info: 6.1.3-40302
EntityFramework.DynamicFilters Assembly: 2.6.0.0 File: 2.6.0 Info: 2.6.0
EntityFramework.SqlServer Assembly: 6.0.0.0 File: 6.1.40302.0 Info: 6.1.3-40302
Gentide.Application Assembly: 1.0.0.0 File: 1.0.0.0
Gentide.Core Assembly: 1.0.0.0 File: 1.0.0.0
Gentide.EntityFramework Assembly: 1.0.0.0 File: 1.0.0.0
Hangfire.Core Assembly: 1.6.12.0
Hangfire.SqlServer Assembly: 1.6.12.0
ImageResizer Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.AnimatedGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.DiskCache Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.FastScaling Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.PrettyGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Plugins.SqlReader Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
ImageResizer.Storage Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
Imazen.Profiling Assembly: 1.0.0.0 File: 1.0.0.0
Imazen.WebP Assembly: 9.0.1.0 File: 9.0.1
JetBrains.Annotations Assembly: 10.4.0.0 File: 10.4.0.0 Info: 10.3.0
log4net Assembly: 2.0.8.0 File: 2.0.8.0 Info: 2.0.8.0-.NET 4.5
Microsoft.AspNet.Identity.Core Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.Identity.EntityFramework Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.Identity.Owin Assembly: 2.0.0.0 File: 2.2.1.40403.0
Microsoft.AspNet.SignalR.Core Assembly: 2.2.1.0 File: 2.2.50714.868 Info: 2.2.1
Microsoft.AspNet.SignalR.SystemWeb Assembly: 2.2.1.0 File: 2.2.50714.868 Info: 2.2.1
Microsoft.Azure.KeyVault.Core Assembly: 2.0.0.0 File: 2.0.4.0 Info: 2.0.4
Microsoft.Data.Edm Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Data.OData Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Data.Services.Client Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
Microsoft.Owin Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.FileSystems Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Cookies Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Facebook Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Google Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.OAuth Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.Security.Twitter Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Owin.StaticFiles Assembly: 3.1.0.0 File: 3.1.60405.82 Info: 3.1.0
Microsoft.Threading.Tasks Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions.Desktop Assembly: 1.0.168.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Web.Administration Assembly: 7.0.0.0 File: 10.0.10011.16384
Microsoft.WindowsAzure.Diagnostics Assembly: 2.8.0.0 File: 2.8.0.0
Microsoft.WindowsAzure.ServiceRuntime Assembly: 2.7.0.0 File: 2.7.1198.768 Info: 2.7.1198.768 (rd_art_stable.160418-1850)
Microsoft.WindowsAzure.Storage Assembly: 8.1.1.0 File: 8.1.1.0
MonAgentListener Assembly: 33.1.0.0 File: 33.1.5.0
Newtonsoft.Json Assembly: 10.0.0.0 File: 10.0.2.20802
Nito.AsyncEx.Concurrent Assembly: 4.0.1.0 Info: 4.0.1
Nito.AsyncEx Assembly: 4.0.1.0 Info: 4.0.1
Nito.AsyncEx.Enlightenment Assembly: 4.0.1.0 Info: 4.0.1
nQuant.Core Assembly: 1.0.3.0 File: 1.0.3
Owin Assembly: 1.0.0.0 File: 1.0
PagedList Assembly: 1.17.0.0 File: 1.17
PagedList.Mvc Assembly: 4.5.0.0 File: 4.5
RestSharp Assembly: 105.2.3.0 File: 105.2.3.0 Info: 105.2.3
SimpleImpersonation Assembly: 2.0.1.27158 Info: 2.0.1
Stripe.net Assembly: 8.1.1.0 File: 8.1.1.0 Info: 8.1.1
System.Collections.Concurrent Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Collections Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Collections.Immutable Assembly: 1.2.1.0 File: 4.6.24816.01 Info: 4.6.24816.01. Commit Hash: 4d1af962ca0fede10beb01d197367c2f90e92c97
System.ComponentModel.Annotations Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ComponentModel.EventBasedAsync Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Diagnostics.Debug Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Diagnostics.Tracing Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Dynamic.Runtime Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Globalization Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.IO Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Linq.Dynamic.Core Assembly: 1.0.0.0 File: 1.0.0.0 Info: 1.0.6.13
System.Linq.Dynamic Assembly: 1.0.6132.35681
System.Linq.Expressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Http.Formatting Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Net.NetworkInformation Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Primitives Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Requests Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ObjectModel Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Reflection Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Extensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.InteropServices Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Serialization.Primitives Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Runtime.Serialization.Xml Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.ServiceModel.Http Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Spatial Assembly: 5.8.1.0 File: 5.8.1.62767 Info: 5.8.1.62767
System.Text.Encoding Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Text.Encoding.Extensions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Text.RegularExpressions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Threading Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Threading.Tasks Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Web.Helpers Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Http Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Http.WebHost Assembly: 5.2.3.0 File: 5.2.30128.0 Info: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Web.Razor Assembly: 3.0.0.0 File: 3.0.30128.0 Info: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)
System.Xml.ReaderWriter Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.XDocument Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xml.XmlSerializer Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
WebGrease Assembly: 1.6.5135.21930
WebMarkupMin.MsAjax Assembly: 2.4.0.0 File: 2.4.0.0 Info: 2.4.0
System.Data.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
Anonymously Hosted DynamicMethods Assembly Assembly: 0.0.0.0
System.Transactions Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Numerics Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Dynamic Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Net.Http Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
System.Linq Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Resources.ResourceManager Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
System.Xaml Assembly: 4.0.0.0 File: 4.6.1647.0 Info: 4.6.1647.0
System.Data.OracleClient Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
EntityFrameworkDynamicProxies-Gentide.Core Assembly: 1.0.0.0
EntityFrameworkDynamicProxies-Abp.Zero.Common Assembly: 1.0.0.0
System.Web.Mobile Assembly: 4.0.0.0 File: 4.6.1586.0 Info: 4.6.1586.0
App_Web_gok4oxno Assembly: 0.0.0.0
App_Web_zv3hty4a Assembly: 0.0.0.0
App_Web_d2stohu5 Assembly: 0.0.0.0
App_Web_yi1kiijf Assembly: 0.0.0.0
App_Web_ang5xqis Assembly: 0.0.0.0
App_Web_nfj4qrsv Assembly: 0.0.0.0
The following plugin assemblies are loaded but do not seem to be in use. You should remove them (and especially their dependencies (unless used elsewhere)) from the /bin folder to improve application load times:
ImageResizer.Plugins.AnimatedGifs Assembly: 4.0.0.0 File: 4.0.5.942 Info: 4.0.5 Commit: 3d5572f812a7c9252402583ffbb006d08baa90f0
I don't have any routes that in any way interfere with either /img or any other image folder.
I'm using IIS 10 and the app pool is set to Integrated v4.0.
The module works great for database images. /img/1.jpg?width=50 works as expected.
What am I missing?
I am using AspnetBoilerplate. After much trial and error I found that it was something in the OWIN integration in ABP that caused the Imageresizer module to not run in the case in question. As I'm not using the OWIN part of ABP I simply turned it off by removing this line:
Startup.cs:
app.UseAbp();

Pip for Python 3.4 will not work

I installed Python 3.4 on Windows 7 and was pleased to see it auto-installs with pip. After adding C:\Python34 and C:\Python34\Scripts to my PATH environment variable, I found that none of my pip installs were working appropriately. What am I missing here to get these packages to install correctly? Here is an example of what happens with I attempt to install numpy from the pip log file:
Downloading/unpacking numpy
Getting page https://pypi.python.org/simple/numpy/
URLs to search for versions for numpy:
* https://pypi.python.org/simple/numpy/
Analyzing links from page https://pypi.python.org/simple/numpy/
Skipping link https://pypi.python.org/packages/2.4/n/numpy/numpy-1.0.1.dev3460.win32-py2.4.exe#md5=a55b13b1f141de2aa965d5c5554c4ad8 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.3.0.win32-py2.5.exe#md5=28ee6681b04beb5bfc4bc056417ff087 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.5.1.win32-py2.5-nosse.exe#md5=bfcb66706ebdece6a9680f79f2b643ca (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.6.0.win32-py2.5.exe#md5=539782c7311d4a3379f66a964159ef11 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.6.1.win32-py2.5.exe#md5=33686581523c9e7368aefdd63a5952ef (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.6.2.win32-py2.5.exe#md5=196bac98eebdc953b135a12f0e379d11 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.7.0.win32-py2.5.exe#md5=05c06781b01326e60ba0921835c44fa0 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/n/numpy/numpy-1.7.1.win32-py2.5.exe#md5=122d3fd5b78b7c36d4f57863391e2fb0 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.5.0.win32-py2.6.exe#md5=95fd147bb761ca8e2baf34a153586358 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.5.1.win32-py2.6-nosse.exe#md5=267627e760277e5f6a74a83772a4f1d0 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.6.0.win32-py2.6.exe#md5=e09cd07ba120ed9c84b85c7a188b3bce (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.6.1.win32-py2.6.exe#md5=67e0c10cf55b713bd27cbba94dee9673 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.6.2.win32-py2.6.exe#md5=941e4b1b65923addf8a7dc21ec7dbb7e (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.7.0.win32-py2.6.exe#md5=69b04d57b3d18b266bcce6ecc52d1e06 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/n/numpy/numpy-1.7.1.win32-py2.6.exe#md5=1b6fd69c28336f399e803a145df29c3d (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.5.1.win32-py2.7-nosse.exe#md5=7d6e48b35570c3d83db4cd0a4346b6c1 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.6.0.win32-py2.7.exe#md5=6f5266d348e5f4d1471a6ae66c26438d (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.6.1.win32-py2.7.exe#md5=30bec16292be262bd78ff1878a7d8953 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.6.2.win32-py2.7.exe#md5=3757650455a3cb50bf205bbc4c7f4703 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.7.0.win32-py2.7.exe#md5=7ad31a61947cb91915eb0bfdb01d2ab8 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.7/n/numpy/numpy-1.7.1.win32-py2.7.exe#md5=dc11133ce1ce90ceb8f715e879a96e5f (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.5.1.win32-py3.1-nosse.exe#md5=13c5ebdd920f2c756602358135fd7196 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.6.0.win32-py3.1.exe#md5=917c6b217b3867fe2cbdb788e4e6bb32 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.6.1.win32-py3.1.exe#md5=e2b539da620e186df211dbd7339a8993 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.6.2.win32-py3.1.exe#md5=0503aa98053340a1a86e0758648e5d75 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.7.0.win32-py3.1.exe#md5=7c4afe46ba670cae7e6fada849ffd464 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.1/n/numpy/numpy-1.7.1.win32-py3.1.exe#md5=5c9ebca6a0f513f1f1a34e150575d715 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.2/n/numpy/numpy-1.6.0.win32-py3.2.exe#md5=7863302af8928fb345c420c6af136197 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.2/n/numpy/numpy-1.6.1.win32-py3.2.exe#md5=a6b66602e72436db37e6edbbce269fdf (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.2/n/numpy/numpy-1.6.2.win32-py3.2.exe#md5=b98cc04b20347127e297a99b6114b514 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.2/n/numpy/numpy-1.7.0.win32-py3.2.exe#md5=1b12834a53d3ba543d41399c40b5b791 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.2/n/numpy/numpy-1.7.1.win32-py3.2.exe#md5=651465cacf107d254ddcefcebb47064d (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.3/n/numpy/numpy-1.7.0.win32-py3.3.exe#md5=4f20740e7e9d31a9d4c1636a931bc3f9 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/3.3/n/numpy/numpy-1.7.1.win32-py3.3.exe#md5=6519c7bb198d0caf2913469883a63be9 (from https://pypi.python.org/simple/numpy/); unknown archive format: .exe
Skipping https://pypi.python.org/packages/cp27/n/numpy/numpy-1.8.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=b1127fadbfce9bc0f324ce52fe8efa48 (from https://pypi.python.org/simple/numpy/) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/cp33/n/numpy/numpy-1.8.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=d943838035a805925fcbf53204aff1a9 (from https://pypi.python.org/simple/numpy/) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/cp34/n/numpy/numpy-1.8.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=31152d55a97cbd655c4eb743d93c4f96 (from https://pypi.python.org/simple/numpy/) because it is not compatible with this Python
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.3.0.tar.gz#md5=3f7773ff0971a5ebb8591536d8ec7bd6 (from https://pypi.python.org/simple/numpy/), version: 1.3.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.4.1.tar.gz#md5=89b8a56e018b634f7d05c56f17bc4943 (from https://pypi.python.org/simple/numpy/), version: 1.4.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.5.0.tar.gz#md5=3a8bfdc434df782d647161c48943ee09 (from https://pypi.python.org/simple/numpy/), version: 1.5.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.5.1.tar.gz#md5=376ef150df41b5353944ab742145352d (from https://pypi.python.org/simple/numpy/), version: 1.5.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.0.tar.gz#md5=e0993c74cb8e83292e560eac1a9be8e9 (from https://pypi.python.org/simple/numpy/), version: 1.6.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.0.zip#md5=f0ce7ea1a12b3b3480571980af243e48 (from https://pypi.python.org/simple/numpy/), version: 1.6.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.1.tar.gz#md5=2bce18c08fc4fce461656f0f4dd9103e (from https://pypi.python.org/simple/numpy/), version: 1.6.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.1.zip#md5=462c22b8eb221c78ddd51de98fbb5979 (from https://pypi.python.org/simple/numpy/), version: 1.6.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.tar.gz#md5=95ed6c9dcc94af1fc1642ea2a33c1bba (from https://pypi.python.org/simple/numpy/), version: 1.6.2
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.zip#md5=7e13c931985f90efcfa0408f845d6fee (from https://pypi.python.org/simple/numpy/), version: 1.6.2
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.0.tar.gz#md5=4fa54e40b6a243416f0248123b6ec332 (from https://pypi.python.org/simple/numpy/), version: 1.7.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.0.zip#md5=ca27913c59393940e880fab420f985b4 (from https://pypi.python.org/simple/numpy/), version: 1.7.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz#md5=0ab72b3b83528a7ae79c6df9042d61c6 (from https://pypi.python.org/simple/numpy/), version: 1.7.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.zip#md5=9a72db3cad7a6286c0d22ee43ad9bc6c (from https://pypi.python.org/simple/numpy/), version: 1.7.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.2.tar.gz#md5=6eba32e71bd30cf70b9ea2ef28519d9a (from https://pypi.python.org/simple/numpy/), version: 1.7.2
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.7.2.zip#md5=b9d88d0a57166915cc2e2434466310b5 (from https://pypi.python.org/simple/numpy/), version: 1.7.2
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.8.0.tar.gz#md5=2a4b0423a758706d592abb6721ec8dcd (from https://pypi.python.org/simple/numpy/), version: 1.8.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.8.0.zip#md5=6c918bb91c0cfa055b16b13850cfcd6e (from https://pypi.python.org/simple/numpy/), version: 1.8.0
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.8.1.tar.gz#md5=be95babe263bfa3428363d6db5b64678 (from https://pypi.python.org/simple/numpy/), version: 1.8.1
Found link https://pypi.python.org/packages/source/n/numpy/numpy-1.8.1.zip#md5=b8b3a99d6ed0913543abb49911205e95 (from https://pypi.python.org/simple/numpy/), version: 1.8.1
Using version 1.8.1 (newest of versions: 1.8.1, 1.8.1, 1.8.0, 1.8.0, 1.7.2, 1.7.2, 1.7.1, 1.7.1, 1.7.0, 1.7.0, 1.6.2, 1.6.2, 1.6.1, 1.6.1, 1.6.0, 1.6.0, 1.5.1, 1.5.0, 1.4.1, 1.3.0)
Downloading from URL https://pypi.python.org/packages/source/n/numpy/numpy-1.8.1.tar.gz#md5=be95babe263bfa3428363d6db5b64678 (from https://pypi.python.org/simple/numpy/)
Running setup.py (path:C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\setup.py) egg_info for package numpy
running egg_info
creating pip-egg-info\numpy.egg-info
writing top-level names to pip-egg-info\numpy.egg-info\top_level.txt
writing pip-egg-info\numpy.egg-info\PKG-INFO
writing dependency_links to pip-egg-info\numpy.egg-info\dependency_links.txt
writing manifest file 'pip-egg-info\numpy.egg-info\SOURCES.txt'
Running from numpy source directory.
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\numpy.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'tools\py3tool.py'
warning: no files found matching '*' under directory 'doc\f2py'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
writing manifest file 'pip-egg-info\numpy.egg-info\SOURCES.txt'
Source in c:\users\user\appdata\local\temp\pip_build_user\numpy has version 1.8.1, which satisfies requirement numpy
Installing collected packages: numpy
Running setup.py install for numpy
Running command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip_build_user\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-spqvbex9-record\install-record.txt --single-version-externally-managed --compile
non-existing path in 'numpy\\distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
openblas_info:
libraries not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win32-3.4
creating build\src.win32-3.4\numpy
creating build\src.win32-3.4\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
Running from numpy source directory.
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1521: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1530: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1533: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1427: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1438: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1441: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
error: Unable to find vcvarsall.bat
Complete output from command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip_build_user\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-spqvbex9-record\install-record.txt --single-version-externally-managed --compile:
non-existing path in 'numpy\\distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
openblas_info:
libraries not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python34\lib
libraries lapack_atlas not found in C:\Python34\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Python34\libs
libraries lapack_atlas not found in C:\Python34\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Python34\\lib', 'C:\\', 'C:\\Python34\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win32-3.4
creating build\src.win32-3.4\numpy
creating build\src.win32-3.4\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils.msvccompiler' in numpy.distutils; trying from distutils
Running from numpy source directory.
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1521: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1530: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1533: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1427: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1438: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
C:\Users\user\AppData\Local\Temp\pip_build_user\numpy\numpy\distutils\system_info.py:1441: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
C:\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
error: Unable to find vcvarsall.bat
----------------------------------------
Cleaning up...
Removing temporary dir C:\Users\user\AppData\Local\Temp\pip_build_user...
Command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip_build_user\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-spqvbex9-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip_build_user\numpy
Exception information:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\Python34\lib\site-packages\pip\req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:\Python34\lib\site-packages\pip\req.py", line 706, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\Python34\lib\site-packages\pip\util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command C:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip_build_user\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-spqvbex9-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip_build_user\numpy
Link to pip https://pip.pypa.io/en/latest/index.html
pip is run from the command line (Windows PowerShell), not the Python interpreter.
It is a program that installs modules, so you can use them from Python. Once you have installed the module, then you can open the Python shell and do import module name.
The Python shell is not a command line, it is an interactive interpreter. You type Python code into it, not commands
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\Users\Tom> cd /
PS C:\> cd python34
PS C:\python34> pip install wheel
Downloading/unpacking wheel
Installing collected packages: wheel
Successfully installed wheel
Cleaning up...
PS C:\python34>
pip Upgrade
python -m pip install -U pip
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\Users\Tom> cd /python34
PS C:\python34> python -m pip install -U pip
Requirement already up-to-date: pip in c:\python34\lib\site-packages
Cleaning up...
PS C:\python34>
Tom
Make sure u installed the latest version of Python 3.4.1 and latest version of JVM version7

I am getting an Unhandled exception error when my application tries to load 10000 records in dynamic grid control

i am working on VC++ application, where all remit transactions are displaying in one of dynamic grid control. User has to double click on that master grid control and then detail window gets popup. In that detail level transactions are displayed for that master entry. (it's like drill down detail level). Now in this detail window grid control, first time only 1000 records are displaying. To display next 10000 records in dynamic grid ctrl, user clicked on 'Get Next' button. Here is the point that application goes in error:
"Unhanded exception at 0x78594826 in Qpay.exe: 0x800000x26: A long jump has been executed." and application got closed.
Application uses Oracel11g db.
Some times it error message is like "Unhandled exception error..." and below error code displays:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ATL.CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >.=(CStringT<char\,StrTraitMFC_DLL<char\,ATL::ChTraitsCRT<char> > >* , Byte* )
at CRemDetail.PopulateDatatblctrl1(CRemDetail* )
at CRemDetail.OnInitDialog(CRemDetail* )
at CRemDetail.SCOnRemDetail(CRemDetail* , UserInfoStruct* pUserInfo, Int32 lSolar, InputDetailStruct Inputs, Int32 m_lSecCode)
at CRemUnrelDlg.OnCellDoubleClick(CRemUnrelDlg* , Object sender, DataGridViewCellEventArgs e)
at CRemUnrelDlg.delegate_proxy_type.OnCellDoubleClick(Object arg0, DataGridViewCellEventArgs arg1)
at System.Windows.Forms.DataGridView.OnCellDoubleClick(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Qpay
Assembly Version: 0.0.0.0
Win32 Version: 2, 0, 0, 0
CodeBase: file:///C:/qpay/Qpay.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.6195
Win32 Version: 8.00.50727.6195
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MFCM90
Assembly Version: 9.0.30729.0
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_028bc148/MFCM90.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.5.3700.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.XmlSerialize
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.XmlSerialize/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
CrystalDecisions.Web
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.1943
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Web.dll
----------------------------------------
CrystalDecisions.Enterprise.Framework
Assembly Version: 10.5.3700.0
Win32 Version: 10.5.0.268
CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

ImageResizer.net with Cache Plugin causing duplicate output cache

I have a strange issue, whereby when I enable output caching in Orchard CMS and have ImageResizer.net cache plugin enabled, I get duplicated page content (full DOM). Just for reference, I am deploying to Azure Small Reserved instance.
Any ideas how to resolve this - do I need to create a cache profile for output cache not to cache images as this is taken care of by the cache plugin?
Thanks in advance,
Peter
Diagnostic information:
Image resizer diagnostic sheet 2/13/2013 9:07:32 PM
1 Issues detected:
(Warning): To potentially see additional errors here, perform an image resize request.
You are using paid bundles: Performance Bundle
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.MvcRoutingShim.MvcRoutingShimPlugin
ImageResizer.Plugins.DiskCache.DiskCache
Configuration:
<resizer>
<diagnostics enableFor="allhosts" />
<pipeline fakeExtensions=".ashx" />
<plugins>
<add name="MvcRoutingShim" />
<add name="DiskCache" />
</plugins>
</resizer>
Accepted querystring keys:
quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, scale, stretch, crop, cropxunits, cropyunits, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, ignoreicc, frame, useresizingpipeline, cache, process, margin, anchor, dpi, mode, zoom,
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi,
Environment information:
Running Microsoft-IIS/7.5 on Microsoft Windows NT 6.1.7601 Service Pack 1 and CLR 4.0.30319.17929
Trust level: Unrestricted
OS bitness: x86 !! Warning, running as 32-bit on a 64-bit OS(AMD64). This will limit ram usage !!
Executing assembly: D:\Windows\SysWOW64\inetsrv\w3wp.exe
IntegratedPipeline: True
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Core Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Configuration Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.JScript Assembly: 10.0.0.0 File: 11.0.50709.17929 Info: 11.0.50709.17929
System.Web.WebPages.Deployment Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Http.WebHost Assembly: 4.0.0.0 File: 4.0.20710.0
EnvSettings Assembly: 1.0.0.0 File: 7.1.1976.0
System.Web.WebPages Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.WebPages.Razor Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Mvc Assembly: 4.0.0.0 File: 4.0.20710.0
Microsoft.Web.Infrastructure Assembly: 1.0.0.0 File: 1.0.20105.407
App_global.asax Assembly: 0.0.0.0
Orchard.Web Assembly: 1.6.0.0 File: 1.6
Orchard.Framework Assembly: 1.6.0.0 File: 1.6
Autofac Assembly: 2.6.3.862 File: 2.6.3.862
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ServiceModel Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
SMDiagnostics Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Extensions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.WarmupStarter Assembly: 1.6.0.0 File: 1.6
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Autofac.Configuration Assembly: 2.6.3.862 File: 2.6.3.862
Castle.Core Assembly: 1.1.0.0 File: 1.1.0.0 Info: 1.1.0.0
Castle.DynamicProxy2 Assembly: 2.1.0.0 File: 2.1.0.0 Info: 2.1.0.0
ClaySharp Assembly: 1.0.0.0 File: 1.0.0.0
FluentNHibernate Assembly: 1.3.0.733
Iesi.Collections Assembly: 1.0.1.0 File: 3.3.1.4000 Info: 1.0
ImageResizer Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
ImageResizer.Mvc Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
ImageResizer.Plugins.DiskCache Assembly: 3.2.4.698 File: 3.2.4.698 Info: 3-2-4 Commit: 4b94e40
log4net Assembly: 1.2.11.0 File: 1.2.11.0 Info: 1.2
MySql.Data Assembly: 6.5.4.0
Newtonsoft.Json Assembly: 4.5.0.0 File: 4.5.8.15203
NHibernate Assembly: 3.3.1.4000 File: 3.3.1.4000 Info: 3.3.1.4000
NHibernate.Linq Assembly: 0.0.0.0
NuGet.Core Assembly: 1.1.0.0
Orchard.Core Assembly: 1.6.0.0 File: 1.6
System.Data.SqlServerCe Assembly: 4.0.0.0 File: 4.0.8482.1 Info: 4.0
System.Net.Http Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http.Formatting Assembly: 4.0.0.0 File: 4.0.20710.0
System.Web.Helpers Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Http Assembly: 4.0.0.0 File: 4.0.20710.0
System.Web.Razor Assembly: 2.0.0.0 File: 2.0.20710.0
System.Web.Abstractions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Routing Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Data.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Drawing Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.Composition Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Anonymously Hosted DynamicMethods Assembly Assembly: 0.0.0.0
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
Contrib.ProjectionLayouts Assembly: 0.0.0.0
Orchard.Forms Assembly: 1.6.0.0 File: 1.6
Orchard.Projections Assembly: 1.6.0.0 File: 1.6
Orchard.Alias Assembly: 1.6.0.0 File: 1.6
Orchard.Tokens Assembly: 1.6.0.0 File: 1.6
Orchard.Autoroute Assembly: 1.6.0.0 File: 1.6
Orchard.jQuery Assembly: 1.6.0.0 File: 1.6
Orchard.PublishLater Assembly: 1.6.0.0 File: 1.6
Orchard.Scripting Assembly: 1.6.0.0 File: 1.6
Orchard.Themes Assembly: 1.6.0.0 File: 1.6
Orchard.Widgets Assembly: 1.6.0.0 File: 1.6
Orchard.ContentPicker Assembly: 0.0.0.0
Orchard.Blogs Assembly: 1.6.0.0 File: 1.6
Orchard.Comments Assembly: 1.6.0.0 File: 1.6
Orchard.Disqus Assembly: 0.0.0.0
Orchard.Rules Assembly: 1.6.0.0 File: 1.6
Orchard.Media Assembly: 1.6.0.0 File: 1.6
Orchard.MediaPicker Assembly: 1.6.0.0 File: 1.6
Szmyd.Orchard.Modules.Sharing Assembly: 0.0.0.0
Lucene Assembly: 1.6.0.0 File: 1.6
Orchard.Users Assembly: 1.6.0.0 File: 1.6
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.Roles Assembly: 1.6.0.0 File: 1.6
Orchard.ContentTypes Assembly: 1.6.0.0 File: 1.6
Orchard.DesignerTools Assembly: 1.6.0.0 File: 1.6
Orchard.Fields Assembly: 0.0.0.0
Orchard.Indexing Assembly: 1.4.1.0 File: 1.4.1
Orchard.Modules Assembly: 1.6.0.0 File: 1.6
Orchard.Packaging Assembly: 1.6.0.0 File: 1.6
System.Data.Services.Client Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Orchard.Pages Assembly: 1.6.0.0 File: 1.6
Orchard.Recipes Assembly: 1.6.0.0 File: 1.6
Orchard.Search Assembly: 1.6.0.0 File: 1.6
Orchard.Tags Assembly: 1.6.0.0 File: 1.6
Orchard.Warmup Assembly: 1.6.0.0 File: 1.6
SysCache Assembly: 0.0.0.0
TinyMce Assembly: 1.6.0.0 File: 1.6
Vandelay.Industries Assembly: 0.0.0.0
MovieRentalOffers Assembly: 1.0.0.0 File: 1.0.0.0
System.Data Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Transactions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Numerics Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.GeneratedCode Assembly: 1.0.0.0
NHibernate.Caches.SysCache2 Assembly: 3.1.0.4000 File: 3.1.0.4000 Info: 3.1.0.4000
ActionRecordProxyAssembly Assembly: 0.0.0.0
ContentPartDefinitionRecordProxyAssembly Assembly: 0.0.0.0
Lucene.Net Assembly: 2.9.4.1 Info: 2.9.4
System.Web.Mobile Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
PermissionRecordProxyAssembly Assembly: 0.0.0.0
System.Dynamic Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
ContentFieldDefinitionRecordProxyAssembly Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
ContentItemRecordProxyAssembly Assembly: 0.0.0.0
App_Web_bjaujelw Assembly: 0.0.0.0
App_Web_3ucixrnn Assembly: 0.0.0.0
DynamicProxyGenAssembly2 Assembly: 0.0.0.0
App_Web_hqpkyqpq Assembly: 0.0.0.0
App_Web_4rtpbaer Assembly: 0.0.0.0
App_Web_hn4szlb4 Assembly: 0.0.0.0
ContentTypeRecordProxyAssembly Assembly: 0.0.0.0
App_Web_fmcezex3 Assembly: 0.0.0.0
App_Web_0wv5slaj Assembly: 0.0.0.0
App_Web_z1olvxy5 Assembly: 0.0.0.0
ProviderPartRecordProxyAssembly Assembly: 0.0.0.0
App_Web_j0ak4epp Assembly: 0.0.0.0
This can be reproduced without ImageResizer, using the following HttpModule:
public class BlankModule : IHttpModule {
void IHttpModule.Init(System.Web.HttpApplication context) {
//Having any event handlers registered for this event causes cache duplication during the Filter execution
context.PreSendRequestHeaders -= context_PreSendRequestHeaders;
context.PreSendRequestHeaders += context_PreSendRequestHeaders;
}
void IHttpModule.Dispose() { }
protected void context_PreSendRequestHeaders(object sender, EventArgs e) {}
}
Make sure you register it in Web.Config:
<system.webServer>
<modules>
<add name="BlankModule" type="BlankModule"/>
</modules>
</system.webServer>
Register another copy of the module, and you'll get tripled responses, not just doubled.
This is not necccessarily a bug in Orchard.Cache.Contrib; it's more likely a bug in the way ASP.NET handles PreSendRequestHeaders in combination with buffered response filters.
Unfortunately, there's no easy workaround from the ImageResizer side, as ImageResizer needs to be able to set the correct mime-type for an IIS-served file, which means PreSendRequestHeaders.
Bug reports:
ASP.NET: https://aspnet.codeplex.com/workitem/10347
Orchard Contrib.Cache: https://orchardcache.codeplex.com/workitem/26
Orchard 1.7 and new OutputCache module solves this problem. You can view it here: https://orchardcache.codeplex.com/workitem/26

Resources