Giter Club home page Giter Club logo

Comments (5)

paulfijma avatar paulfijma commented on June 2, 2024

hi mandeep, i have exactly this error when i upload images. The image is uploaded, but the upload process doesn't end (until i [X] it. so following some notes and articles on the "Cannot load libwebp.dll"
i installed:
Vanjaro_Platform_0.5.1_x64_Install
and additional:
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501
and later
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.27.29016
both didn't resolve this.

General Exception
AbsoluteURL /API/Image/upload/files DefaultDataProvider DotNetNuke.Da
AbsoluteURL:/API/Image/upload/files
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:b34efd5a-6e23-460d-ae0c-247270a61115
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:GotQuohgqmP+A90oxuy27a1c74Q=
Message:The type initializer for 'ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods' threw an exception.
StackTrace:
at ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods.WebPFree(IntPtr pointer) at ImageProcessor.Plugins.WebP.Imaging.Formats.WebPFormat.EncodeLossly(Bitmap bitmap, Int32 quality, Byte[]& webpData) at ImageProcessor.Plugins.WebP.Imaging.Formats.WebPFormat.Save(Stream stream, Image image, Int64 bitDepth) at ImageProcessor.ImageFactory.Save(Stream stream) at Vanjaro.Common.Factories.BrowseUploadFactory.CropImage(String FileName, String FileExtension, IFolderInfo FolderInfo, Stream FileStream) at Vanjaro.Common.Factories.BrowseUploadFactory.SaveFile(HttpFileCollection files, IFolderInfo folderInfo, Int32 i, String& Response, Int32 maxsize, String filetypes) at Vanjaro.Common.Factories.BrowseUploadFactory.SaveFiles(HttpContext context, HttpFileCollection files, PortalSettings portalSettings)
InnerMessage:Cannot load libwebp.dll
InnerStackTrace:
at ImageProcessor.Configuration.NativeBinaryFactory.<>c__DisplayClass7_0.b__0(String b) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods..cctor()
Source:ImageProcessor.Plugins.WebP
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: vmi29

i checked to see if the MSVCR120.DLL is on the system. it is in C:\windows\system32
product name on properties: Microsoft Visual Studio 2013
product version 12.00.21005.1
(server 2016)

from vanjaro.platform.

meetmandeep avatar meetmandeep commented on June 2, 2024

@paulfijma Can you tell me more about your hosting environment? This issue was surfaced in alpha release and since has been resolved.

  • Is this on your own dedicated server or shared server?
  • Hosting Provider?

Feel free to send me a Private Message on Slack. I'm very curious to learn more.

from vanjaro.platform.

paulfijma avatar paulfijma commented on June 2, 2024

@meetmandeep :
VM: "VPS S SSD" from www.contabo.com technically a shared environment, the server is private, and running with SSD.
OS: Windows Server 2016 Datacenter Edition (64 Bit)
CPU
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Maximum speed: 2.20 GHz
Sockets: 1
Virtual processors: 4
Virtual machine: Yes
L1 cache: N/A
Utilization 13%
Speed 2.20 GHz
Up time 8:11:15:55
Processes 71
Threads 1280
Handles 42428
No strange software of control stuff installed. no updates pending.. (all up to date)
i'll try to make some time today and make a hyper-v server 2016. then i will install vanjaro and test it.

update:
someone with a similar problem: https://github.com/JimBobSquarePants/ImageProcessor/issues/764
pointed out he had to install the x86 version of Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501
Have installed it and the error is gone.
addendum:
there are now two MSVCR120.DLL files. One in windows\system32, and one in windows\SysWOW64
(to make it complete:
there is also one MSVCR120.DLL in c:\Program Files\WindowsPowerShell\Modules\SqlServer\21.1.18221\ )

from vanjaro.platform.

meetmandeep avatar meetmandeep commented on June 2, 2024

Let's compare your IIS Options. Here's what my local machine looks like:

image

from vanjaro.platform.

paulfijma avatar paulfijma commented on June 2, 2024

from vanjaro.platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.