IIS 7 and Above
Known Issues and Workarounds
Could not load file or assembly 'stdole'
Last post Mar 29, 2018 09:34 AM by Yuk Ding
Mar 07, 2018 07:07 AM|nayeem4umd|LINK
i have deployed web applications on windows server 2008 R2
Current configurations and installations done
1) OS : Windows server 2008 R2 Standard
2) Installed .Net Framework 4.5.1 full installer
3) Installed crystal reports run time
4) Deployed web application on IIS using framework 4.0 apps
After this when i browse applications am getting this error
what installations still am missing please let me know
Mar 07, 2018 05:57 PM|lextm|LINK
You need to find the developers. If they don't use the proper stdold package, https://www.nuget.org/packages/stdole/ Then you have no way to fix the issue for them.
Mar 08, 2018 02:11 AM|Yuk Ding|LINK
It sounds like your application didn't add the correct assembly 'stdole' to your application reference. Have you checked whether the stdole has been deployed to your bin folder. In addition, I just find that it display the property with copy to local=false,
so maybe you could try this.
In addition, please check whether the publickeytoken is set correctly. Besides, please ensure the application pool identity have permission to access the assembly.
Mar 08, 2018 04:19 AM|nayeem4umd|LINK
Myself developer - i havn't added this stdole.dll reference this is been added by VS 2015, and dll is present in bin folder, but also its giving same error
Mar 09, 2018 09:28 AM|Yuk Ding|LINK
Could you load the application in visual studio ? I just notice that if you add the stdole.dll from the reference manager all target the .net 126.96.36.199 CLR. So please ensure you were using a stdole.dll target the .net 4.0.
Mar 10, 2018 12:36 AM|lextm|LINK
i havn't added this stdole.dll reference this is been added by VS 2015
Visual Studio won't add any reference (except in project template) to your project. You as the developer should be aware of how the reference comes to your project, and from there on you can dig if the correct version is used (I pointed out the NuGet package,
which is almost the only right place today to acquire such assemblies).
Note that this is not a forum with many developers, so you probably should discuss with others at Stack Overflow (https://stackoverflow.com ) or ASP.NET Forums (https://forums.asp.net)
Mar 12, 2018 10:45 AM|nayeem4umd|LINK
No Bro - i have framework 4.0 installed with VS 2015
Mar 20, 2018 03:33 AM|Yuk Ding|LINK
So what target framework did you see for the stdole in visual studio? In addition, have you tried to set the property to copy to local?
Mar 20, 2018 12:57 PM|nayeem4umd|LINK
Target framework is 4.0, and that stdole.dll is not displaying in my project solution explorer, but when i build that dll
appears automatically in bin folder
Mar 27, 2018 09:27 AM|Yuk Ding|LINK
Did you see any access denied in process monitor?
Mar 28, 2018 06:51 AM|nayeem4umd|LINK
No Bro - it has full permissions
Mar 29, 2018 09:34 AM|Yuk Ding|LINK
What about set this to web.config?