Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
Hello,

I have created a crystal report in VS2012. it is working properly on local but when i host site on live server then it gives below error.

Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.


Thanks,
KK
Posted
Updated 11-Aug-14 2:47am
v2

1 solution

Do you have Crystal Reports installed on your web server? I'm betting you don't...

See here: http://stackoverflow.com/questions/10245302/do-i-need-to-install-something-from-crystal-reports-on-the-server[^]
 
Share this answer
 
Comments
kk2014 11-Aug-14 8:47am    
Sorry you loose the bet. I have Crystal report 8.5 and 9.0 installed on web server. Still getting error. but the solution you gave will might be work.
kk2014 12-Aug-14 3:37am    
Hi,

I have installed runtime and made necessary changes in web.config file for crystal reports. now problem is that on my local while creating a CR I had given server name Suppose 'A' but on hosting server, the server name is suppose 'B'. nw while creating a report it gives error like below:

Error
Failed to open the connection. Details: [Database Vendor Code: 17 ] Failed to open the connection. Payroll {E7D420B1-90BB-429D-ABC5-3F697788306B}.rpt Details: [Database Vendor Code: 17 ]

Thanks,
OriginalGriff 12-Aug-14 5:14am    
And I guess you have answered your own question: have you changed the connection string?
I suspect not...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900