找回密码
 立即注册

QQ登录

只需一步,快速开始

Henry

银牌会员

16

主题

77

帖子

2265

积分

银牌会员

积分
2265

活字格认证

Henry
银牌会员   /  发表于:2010-12-17 16:06  /   查看:6765  /  回复:6
您好,我本地开发程序好后,为什么发布到服务器上(另外台电脑),报表还是会出现水印啊。
必须要在服务器上也要安装注册吗?

6 个回复

倒序浏览
gw0506
超级版主   /  发表于:2010-12-17 16:08:00
沙发
不。服务器上请不要安装。
出现这个情况,应该是你服务器上以前或者现在安装了ActiveAnalysis产品或者安装早期版本。
请检查并确认。
回复 使用道具 举报
Henry
银牌会员   /  发表于:2010-12-17 16:54:00
板凳
你好,我应该可以确信服务器是没装过的。
如果有的话那应该怎么检查是否有装过,或者说还有没其他可能
回复 使用道具 举报
gw0506
超级版主   /  发表于:2010-12-17 17:23:00
地板
如果server上安装了Visual Studio,就新建一个工程,然后添加引用,在弹出来的对话框中,看有没有产品相关的引用。
或者直接在机器上搜索一下相关的dll。

另外,你部署到server上具体是怎么操作的?
回复 使用道具 举报
Henry
银牌会员   /  发表于:2010-12-17 17:33:00
5#
哦,那可能和我的部署有关系。
能简单说下我们这软件的部署步骤吗,或者说注意事项。
谢谢!
回复 使用道具 举报
gw0506
超级版主   /  发表于:2010-12-17 17:52:00
6#
把需要以用到的以及你自己编译出的dll放到Website对应目录中的bin中。
把你的页面文件部署到需要的路径下。

注意看有没有一个叫App_Licenses.dll的文件,这个比较关键。

如果没有这个文件,可以参考文档。摘录见下:

Licensing Web Forms Projects
To license Web Forms Projects

1.Data Dynamics Analysis must be installed and licensed on a Development machine first.  Follow the above steps under "Licensing a Machine for Data Dynamics Analysis" to license this machine.
2.Create a new project in Microsoft Visual Studio or open an existing Microsoft Visual Studio project, once installation is complete.
3.Make sure that the file licenses.licx got automatically generated in the application's root directory. The file licenses.licx contains the information on all licensed classes of the project and is usually generated automatically when the PivotView control is dragged onto a form.  
Make sure that the file licenses.licx contains the line about the DDA class (as a comma separated class name and assembly name).
Example: DataDynamics.Analysis.Web.PivotView, DataDynamics.Analysis.Web

4. If the file licenses.licx does not contain the line "DataDynamics.Analysis.Web.PivotView, DataDynamics.Analysis.Web", then add it to the file manually.
5. If the file licenses.licx does not exist, then create a file with this name, add it to the project and insert the line "DataDynamics.Analysis.Web.PivotView, DataDynamics.Analysis.Web" into the file.

6. Save the file licenses.licx.
7. Right-click on the file licenses.licx and select Build Runtime licenses from the appeared menu. The file App_Licenses.dll will be generated in the Bin folder inside the application root folder.
8. Go to the Solution Explorer and make sure that the file App_Lisenses.dll got generated and is displayed under the bin directory. The web application will be licensed under the condition that it has this file containing the license.
9. Select Build/Build Website in the Microsoft Visual Studio menu.
10. The web application is now licensed on the production server and no evaluation banners will show up on views shown through this application.
回复 使用道具 举报
Henry
银牌会员   /  发表于:2010-12-18 12:30:00
7#
OK,解决了,非常感谢!
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部