If you upgrade your project to .NET Framework 4 or for any reason you get a mysterious error like the one below:
“Could not load file or assembly ‘file:///C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.”
Try inserting the code below at your app.config or web.config file:
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>
It seems that microsoft changed the binding procedure and this setting changes that.
thanks. it works
thanks a ton 😀 you saved my life !
Works perfect. That saved me a lot.
Marvellous! Thank you very much.
Ho man!!! It’s wrok. thank a lot for you help.
Thanks.. It Worked Fine.. Awesome Dude…. 🙂
ok, muchas gracias
Thanks u r the best
Only i can say thanks for a lot!!! This configuration works very fine 😛
Hi, Spyridon Spyriadis
Thank you for the information but I have a problem: if Crystal report project isn’t the start project but the start project is another one that references the Crystal report project, the error persists. Can you tell me is you know why is it happened?
Thank you in advance
I think that you might have to make the same change on the other project as well… since the change you make is only effecting the runtime.
hi did as you did..
still not working 🙁
Did you ever resolve this issue i am having the same problem but the executing application is a VB6 application utilizing COM interop.
you r god , im try fix this 40hr .thx very very very much
Thank you – nice simple solution!
Thank you… for the third time… looks like i forget every time… 😆
😉 , Muchas gracias, ahora trabaja bien.
Thank you, now work fine.
Muito obrigado pela ajuda.
I am not so lucky; in my Windows app; entirely in VS 2010 with ,NET 4.0 the app.config contained already:
I followed your advice, but the mysterious error remained.
I overlooked the problem with the tags
the startup section contained already:
one more try:
supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0
for VS 2010 with .NET 4.0 add attribute useLegacyV2RuntimeActivationPolicy=”true” to startup tag. for instance:
2 Spyridon Spyriadis: Thanks a lot! How you find that solution!?
You are great !….
YOU ARE A TYPICAL PROGRAMMER.
I dont understand this solution . Can you explain widely? I use VS 2010 and .net 4.0 . Problem insistently is going on .
Tnx, u solved me problem
Many many Tanks for the solution of conversion earlier framework to framework4.
Thanks, I was facing too much problem with this. Your help is perfect.
Thank ,, you make me smile ^^
Muchas gracias!!! Spyriadis… he visto que ha sacado le lios mucha gente… lo felicito por tan grande solución. Gracias.
Thanx alot man…it works.
Thanks man ….. u hero
Perfec man. eres grande, thank you , Muito obrigado.
Gracias mis respetos idolo
i have to thank u… thank you
Thanx alot man
Thanks genius..its working
Thanks. Work ok.
I had been battling with MS Report writer to create a master_detail report using subreport; when I couldn’t I tried Crystal Reports and ran into several probs and at last this issue. I couldn’t believe it that my prob disappeared just inserting the attribute to the startup element. Thanks a lot
Muito obrigado, perfeito… C# app.config…
Hi I tried this, It worked well but after a days when I run my projects It prompts me to download .NetFramework 4.0 . I didn’t make any change in project’s configurations. I faced a very odd situation, I don’t know what should I do.
I don’t think that this has anything to do with this change… it’s most likely comming because of some update on your system (Windows Update). I never had such a behaviour myself!
thenkyou veeeeeeeeeeeeeeeeeery muck
Articles like these put the consumer in the drveir seat-very important.
Tank you very much!!!!
Thanks sooo much ,it works 🙂
thank you very very much, I LOOOOOOOOVE UUUUUUU :-*
thanks a lot..
Tank you very much, 🙂
Muito Obrigado 🙂
Your a man… kudos to you a simple but rocks…. its working
thanks…its work for me 🙂
That for Web application, how about Windows Application (WinForm? where I should specify that parameter?
I don’t know … sorry! Maybe if you created an app.config file?
After created app.config file and inserting the code my project gives me 3 messages:
Could not find schema information for these attributes: useLegacyV2RuntimeActivationPolicy, supportedRuntime,version. I just ignore those messages and the Reports now are running fine…!
Muchisimas gracias Spyridon Spyriadis, funcionó !!!! Saludos desde Bolivia.
thanks, works great!
I’ve put this in on other projects…not problem. I’ve added it to my current project and it works fine, but every once in a while after a complete it disappears and I have to go in and add again. Shouldn’t this stay permanent?
I haven’t had this problem exactly but instead sometimes my VS2010 installation losses event handlers when playing with the design mode of a windows form. The most propable explanation is a bug, but i cannot find when or why it happens!
Thank you for the response.
I changed my project to use 3.5 instead of 4. I just don’t get it. I’ve got a couple other projects that are on 4 and I have crystal reports and it doesn’t happen to those projects.
It seems like everything I change the report my config changes. And the weird thing is, it doesn’t update it to the current time, the modified date on the config file is from earlier in the day…like it’s cached some where.
Excelente!! muchisimas gracias!!
muchas gracias, me ha ayudado un buen..
que dios te bendiga hermano
Al principio yo batallé para ubicar en donde ponia este nodo de supportedRuntime lo ponia en diferentes lugares y no jalaba …. finalmente lo puse al final del archivo app.config y SI FUNCIONÓ les dejo mi archivo config para que vean en que lugar puse el nodo .
Monterrey, Nuevo León
Thank you very much. Great help.
you are my lifesaver
thx alot, coool it work ,
thnx Alooooooooooooot 😀
Thanks a lot… That´s work perfectly.
Muchas gracias, funciona al 100%
Thanks. SAP is the worst software company in the world and Crystal Report my worst nightmare.
i got this same problem . i m used ur code in my app.setting but i can’t got output..
plz help me how to solve this problem
i not think any idea
Parabéns pelo post! deu certo !
Congratulations for the post! it worked!
Why can’t we find a solution in msdn website?!
Thank you ^_^
Thank you very very much, mate. It really helped.
YOU ARE SIMPLY THE BEST!
THANKS!GREAT!!! You saved my life as well!
thank u very Much Spyridon…!!! 🙂
very very very tank you.you’re survivor
I m facing same error when i trying to tun a .rdl file in crystal reports 9 with the plateform of windows 7 professional.
Can anybody help me to troubleshoot that problem.
Thanks in advance.
Hi guy, thanks a lot for the code.
you saved my life…
Thanks a lot!:)
thanks a lot of.
tanx very nice
Thanks a lot
It was great.
You thx lot Tom you are star
🙂 Works like a charm. Thanx
:razz:Thanks u a lot
thanks you. it very great
😛 Thanks a million!! You rescued me. I was desperate!
thank you very much..!
Thanks Spyriadis Newtork
its very great.
Thank you very much.
It is lead me to other problem. CR Engine throw InitializationException. VB.net Windows7 VS2010 CR2010. Thanks
😛 🙂 😀
it’s help me lot,.. doing good work keep going ➡
thak u soooooo much.. very useful
Thank u verry much!! 😛
Thank u Verryyyyyyyyy Much
Wowww perfect!!! it worked a lot… 😛 😛 😛
THANK U SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH!!!
THank u 😛 😛
thanks a lot it works
Works fine… 🙂 😯 😮 😮
Thank You Very Much.
You are the BEST 😛 😛 😀
Thanks a lot sir.. 😛
Say “thanks” you for your parents that they gave you the planet
Thanks a lot
😛 😛 😛
works perfectly…..thanks a lot
works perfectly … thanks a lot!
It works for me too..Thanks man. 😆
Fuck auto shop, it’s time to get this weekend started!
thx alot.it worked… 😀
Many Thanks your hidden magic just worked fine and saved my day!
Thanks a lot, great man!
thank you Very much 😛 😛 😛
conoce,, me salvó la vida
your code good word 😆 😆 😆
THank u man
hi i’m new in vb.net2010 with crystal reports
im receiving this messages… ive followed same steps in order for the crystal reports to run in my vs2010 but this messages gets on my nerve…
i run windows 7 ultimate 64bit OS and i configured the x64 and x86 but still
and im using sql server 2008 with vs2010
please help me…
i will be in your debt.. please help.. thanks in advance
–Could not find schema information for the attribute ‘useLegacyV2RuntimeActivationPolicy’.
–Could not find schema information for the element ‘supportedRuntime’.
–Could not find schema information for the attribute ‘version’.
Thanks man …. worked for me …. this is the type of undocumented crap that I hate about working on MS/CR projects.
Arigato mosaimase 😀
I got this error, but in a WinForms app I originally wrote in .NET 2.0 / VS 2005. After upgrading it, my App.Config file has the following:
I’m wondering if the sku attribute in the supportedRuntime tag is the same as what you’ve done, spyriadi?
thank a lotttttttt :))))))))))))))))) 😀 😀 😀 😀 😀
😀 thanks machaaaaaaa
Thanks 😛 😛 😛 :-))
Thanks a ton buddy !! 😛
You are my hero! 😆
thanks very very very very much……….
Thanks man, you are really great guy
😛 Thanks a lot!!!!
very very very tanx, it’s really worked
It works. Thx!!
😛 mil gracias
Thank u very much… it works… tried a lot.. at last sorted it by ur help…
😛 Thanks friendly!!! it works….
thanks a lot you saved my life 😛
Bhes ku Chara ITs Working..:-) 🙄 🙄 🙄
many thanks 😀
Its really works. 😀
thnx for the help….but i am still having a problem my report is displayed but the data is not displayed in the report only the headers are displayed….please help me 🙁
Very very very helpful.
Thank you very much. You save my final project.
Breakfast with Santa! Saturday, December 1st from 9-11AMOssian United Methodist Church201 W. Mill Street in Ossian, In 46777Come have pancakes, dcoeiilus egg casseroles, smoky links, cereal, donuts, dutch crunch dessert, Coffee, milk and juice something for everyoneHave your children’s picture taken with Santa and then they can shop in the Elf Store for their family members. Elves will be available to help them shop so they can keep it a surprise! All gifts are $2 and gift wrapping is included. This is a fun, holiday event sponsored by the Norwell High School Show ChoirSee you there!
thanks very very much!!!!
Thks very much for the help!!!
It worked… thanx man..
😛 Thanks OK roi !
thank you very much
Gracias!! eres un exito!
I did add
to my WCF service app.config file, but still get the error message when setting the datasource of my report :
myReport.SetDataSource(myData); <– FAILS !!! 😥
thank it worked
you saved my life thank 😀 😀 😀 😀 😀
Hello, i study your website every now and then and i own a identical one and i was just thinking if you get a lot of junk comments? If so how do you quit it, any plug-in or anything you can recommend? I get so much lately it’s generating me insane so any assistance is very much valued.
I use Akismet plugin and works just great!!! You should give it a try…
Two days wasted looking for a solution and it was here all along! Many thanks
Yow thanks a lot . its worked!!!
😛 Thank so must
😛 Muchas gracias distinguido buen aporte
thnx a lot mate…..
how its work in desktop application
thanks.. You gave the solution to my headache
Thanks a lot for help me
I liked connect to you
Saved a lot of time
muchas gracias!!! Thanks .
Thanks! From Venezuela!
Thnx a lot …
U save my life . 😛 😛
You the man!
Thank you very much 😳
Thanks! it works!
tks u . u’r awesome . I <3 u
From : BR
Thank you So Much …… 🙂
hi im a bigginer in vb.net i have also a problem on adoplus.dll is not found .
can i ask where app.config or web.config locate or can give more specific steps for to paste the code..
i’ll just wait 4 ur reply…tanx
thanx alot frnd..
It works perfect thanks
Thanks.. it works ..
Thanks a lot 🙂
I would have never get out of it without your help.
Thanks a lot
Ridiculous story there. Whatt happened after?
😛 😛 😛
Funciona! muchas gracias
😀 thx for help me
I’m in same boat as Sigmund – added to WCF app.config, but still getting the error.
Any ideas ?
I have to tell you that it’s hard to find your posts in google, i found
this one on 18 spot, you should build some quality backlinks in order to rank your site, i know how to
help you, just type in google – k2 seo tips and tricks
thank youuuuuuuuuuuuuuuuuuu 😛 😛 😛 😛 😛
Thanks you saved my time.
muchas gracias!!!!! 😀
😛 अरे भावा तू जिंकलास….!!!!!!!!!!!!!!
thanks and God bless u
Thanks, it works!
Very Nice, Thanks for the solution.
nasıl uygulanacağını biri tarif edebilir mi acaba
Very Godddd, Thanks for the solution.
Thank you for>>>>>> Very best code “”” Thailand “”””
ขอบคุณหลายๆ เด้อ.. 😀 😀 😀 😛 😉 🙄
Thank You very much
hi i also have the same problem i’m creating add-on sap in visualstudio 2010 c#
i tried ur solution but it doesn’t work for me
Thank you very much.
its still not wrking