Crystal Report Issue with IIS - ( bobj is undefined , Crystal report not displaying )

前端 未结 17 1264
既然无缘
既然无缘 2020-12-03 00:05

I have crystal report 2010 installed with VS 2010.i have created a crystal report which is works fine in the localhost but the issue is once i publish my website to IIS the

17条回答
  •  庸人自扰
    2020-12-03 00:35

    The best answer for this question is here!

    http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/ef56f72b-7ede-47d8-ba9e-9e63b9ac0203

    1. You need to use Web Application Project,No Website Project because Web App will combine DLL to project also.
    2. Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 (you'll got it when you install -CRforVS_redist_install_32bit_13_0.exe) To your project such as (ProjectName/crystalreportviewers13)

    3. copy this below to your web.config

    3.1

    
    
      
        

    3.2

    
          
            
              
            
            
                  
          
          
        
    

    3.4 Publish your web application with FTP Mode to your any folder,and copy this publish to your web server then TEST it!

提交回复
热议问题