locked
Windows Service RRS feed

  • Question

  • User-2045955454 posted

    Hello All,

    I recently migrated my windows service 2.0 to 4.0 Framework and using crystalReport for Visual Studio 2010.We are using SetDatasource to bind the Dataset.During debugging we got the error like " file:///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."

    After that we created the folder in the mentioned path and pasted the mentiond dll,after that we got the error like "

    Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. 

    "

    and we added the key files in app.config.
     <startup useLegacyV2RuntimeActivationPolicy="true">     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>   </startup>   <runtime>     <NetFx40_LegacySecurityPolicy enabled="true"/>   </runtime>

    but still issue is not resolved.
    Please help us.

    ThankYou,
    Regards,
    Hari.

     

     

     

     

     

     

     

     

     

    Thursday, June 27, 2013 11:04 AM