![]() |
|
Reading Object Info in ASP.net - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: Reading Object Info in ASP.net (/showthread.php?tid=4177) |
Reading Object Info in ASP.net - Allender - 03-05-2020 I have an ASP.net web application where a .glb file is uploaded to the server after which I need to read the object information. All this works fine when I run it on my local machine i.e. localhost. However, I get the following error when I run it on the server. The Assimp and Ab3d dll's are in the bin folder. The specified module could not be found. (Exception from HRESULT: 0x8007007E) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Source Error: Code: Line 20: Dim assimpWpfImporter As New AssimpWpfImporter()Source File: E:\AlmaxAdmin\Test\ObjectInformation.aspx.vb Line: 22 Stack Trace: Code: [FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]RE: Reading Object Info in ASP.net - abenedik - 03-05-2020 One reason for this error could be that you force loading a 32 bit Assimp dll into 64 bit process (or vice versa) or that the required dll is missing (for example there is only Assimp32.dll but not Assimp64.dll). But if both dlls are present and if you do not manually load one dll into the process, then the assimp wrapper should pick the correct version of the dll based on the current process (32 or 64 bit). So a more possible reason for the error is probably that the "Visual C++ C Runtime (CRT) for Visual Studio 2015" is not installed on the web server. If you have admin access to the server then you can install that there. Otherwise you can copy all required files to the applications folder. See more here: https://devblogs.microsoft.com/cppblog/introducing-the-universal-crt/ (see 6th point at the end of the document for instructions on how to copy required files). |