How to use crystal report in MVC4?

In, webForm direct drag on it, how to use the MVC4, is the way the simple line, I found no other alternatives, is not MVC4.

Started by Stan at November 10, 2016 - 1:08 PM

Their own solution, then directly in Google search for English, complete information, foreigners are really sharing spirit, answer the questions carefully...
The reason the report does not show is crystal report features not in the site, so in the webpage is the crystal report description tag (JavaScript), but can not display.
This means you're running the ASP in a different site from the Default Site in IIS. When you install Crystal Reports it puts a bunch of files in C:\Inetpub\wwwroot\aspnet_client that are necessary for report viewer to work.

Solution: Copy the crystal files beneath C:\Inetpub\wwwroot\aspnet_client to your website root folder.

To get the right path, go to IIS Manager > Sites > [your website] > right-click > Manage Web Site > Advanced Settings... > Physical Path. The actual files you need are beneath wwwroot\aspnet_client\system_web\[framework version]\crystalreportviewers13 but it's usually simplest to just copy the entire aspnet_client folder from the default webroot to your site's webroot.

Posted by Stan at November 13, 2016 - 1:33 PM

Unfortunately, GreateWall shielding many sites, but also reduce the access to a remote site speed, experience is very bad.... Thinking of buying a VPN.

Posted by Stan at November 19, 2016 - 2:21 PM

You have solved the good ah

Posted by Edison at November 29, 2016 - 3:02 PM