标准网站上的Crystal Reports(Windows Azure)

时间:2013-10-16 15:26:34

标签: azure crystal-reports web

我正在测试Windows Azure,我上传了一个使用Crystal Reports的网站。我正在使用标准网站计划。是否可以在该计划上使用Crystal Reports?我找到了一些答案,但所有答案都与VPN或云服务有关。

提前谢谢。

4 个答案:

答案 0 :(得分:2)

简短回答是的。答案很简单:您需要确保Crystal运行时安装程序包含在您的Web项目中。每次实例启动包时,都需要创建一个运行Crystal运行时安装程序的命令。有一个很棒的教程here,另一个here

希望有所帮助,

克里斯

答案 1 :(得分:2)

我正在尝试安装,我已经按照所有教程,并且......我不得不说这是不可能的。

您只能在云端或虚拟机中安装Crystal Reports,但不能在网站上安装。没有使用网站的教程,都是使用clod服务。

我尝试使用bootstrapper.exe安装(windows azure bootstrapper,因为启动任务似乎无法在网站中运行)并且只是出错:

System.UnauthorizedAccessException: Access to the path 'D:\Windows\system32\msiexec.exe.log.html' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at Cumulux.BootStrapper.PackageRunner.Start(String fileName, String args, Boolean enableSystemProfile, Boolean block) at Cumulux.BootStrapper.BootStrapperManager.Start(BootStrapperArgs args) at BootStrapper.Program.Main(String[] args)

答案 2 :(得分:0)

Azure WebSites是非常抽象的服务,旨在避免对Web服务器进行任何类型的管理。它们旨在部署网站,在上传包含该网站的文件夹后,所有源(.aspx,.cs,.js,.css,bin文件夹等)将运行,无需在服务器上安装任何东西或编辑注册管理机构或GAC。它们面向仅依赖于bin文件夹的现代应用程序。因此,如果您需要在服务器上安装某些东西以使您的应用程序运行良好,那么我担心您必须尝试使用​​WebRoles(云服务)并包含用于安装Crystal的启动任务,或者使用完全控制的虚拟机。 / p>

答案 3 :(得分:0)

Azure Web Apps是完整的PaaS产品,其中开发人员可以完全专注于生产力,而基础架构由Azure维护,因此它具有无法修改现有基础架构(包括任何类型的客户安装)的限制。

这导致任何类型的水晶装置都无法使用"。 但是,您可以在此处进行upvote以请求默认运行时可用性:

https://feedback.azure.com/forums/169385-web-apps/suggestions/6771442-crystal-reports-in-azure-websites

遗憾的是,Web应用程序不支持Crystal Reports。我们支持ASP.NET的SSRS报告控制。

使用crystal,尝试云服务或Azure VM。