About ActiveReport When using ActiveXViewer output, the client will not prompt the download of the control.

xiaoxiao2021-03-06  110

Today, today's QA test report, all ActiveReports made reports have a red ×, but do not prompt to download controls. I have no problem on my own machine, because I have installed. But, why I don't prompt it on the server? First, what I think is that the server does not configure httphandler. So I will configure it according to the steps. It is important to note that IIS5 is different from IIS6. Specific as follows: IIS5 requires only the entire Web Site Configuration Handler, this configuration is different for all sites below this web site. IIS6 is different, you need to configure without virtual path, each path is independent. Not affected by the overall configuration of Web Site. After configuration, The problem is still still. So I viewed my C: / Winnt / Downloaded Program Files / Directory below the components that have been installed, and I found that Active Report Viewer2 CodeBase is not my Application path. But I have built another site before. The path. So I manually deleted the component. Then run my application, this time, the report is neither also not prompting, the same as other machines. What is the reason? I decided to study my previous construction At the other site, why can I prompt me to install the component, what is the difference between this application now. I just didn't have a clique. I will put the following code to the Application's page. Try it will not download. < Object id = "arv1" codebase = "arview2.cab" Height = "0" width = "0" classid = "CLSID: 8569D715-FF88-44BA-8D1D-AD3E59543DDE" Viewastext> strangely, this code will not be prompted. Really depressed. Both bored, I suddenly remembered CodeBase, is it a path wrong? Sure enough, the code is modified as follows: , if passing the code, you can do WebViewer1.codebase = "/ myApp / Arview2.cab "; Problem Solution, I hope to help meet similar problems.

转载请注明原文地址:https://www.9cbs.com/read-102858.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.042, SQL: 9