in my project I use visual studio 2010, Crystal report 2010 and Crystal.Reports.2010.Support.Pack.v13.0.5. when I run the code and call the Crystal Report Viewer. this error occurred in my windows application. how can i solve this error in c # win app?
Error:
Could not load file or assembly: /// C: \ Program Files \ SAP BusinessObjects \ Crystal Reports for .NET Framework 4.0 \ Common \ SAP BusinessObjects Enterprise XI 4.0 \ win32_x86 \ dotnet1 \ crdb_adoplus.dll or one of its dependencies. The system cannot find the specified file.
I think you need this code, add it to your web.config
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
, google, ( )
EDIT:
, .Net . , - .Net 4 ( .Net 4) - n34_panda
.
App.config (), .
app.config , useLegacyV2RuntimeActivationPolicy , .
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> </startup>
, , .
Source: https://habr.com/ru/post/1543647/More articles:Что касается времени команды руки - assemblyBrew physician warnings after installing MAMP - homebrewRegular expression of negative distortion of fixed length - pythonRemoving nested hash deserialization from hash key lists - perlSpring Security - Custom Filter - springTrying to understand setf + isf "magic" - lispAbout a generic variable in onlisp - lispHow to globally change the value of a variable inside a function in lisp - lispEnabling vi key bindings in Qtconsole IPython - readlineQualified name lookup inside a class - c ++All Articles