如何连接存储在远程服务器中的水晶报告。 [英] How can I able to connect the crystal report stored in remote server.

查看:73
本文介绍了如何连接存储在远程服务器中的水晶报告。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想访问水晶报告文件,我必须从本地计算机访问该文件。

我正在使用c#使用MVC应用程序.Application部署在Azure云服务上。

报告文件本身包含数据库连接,参数定义等。



我尝试过:



当我将报告文件存储到我的本地存储时它正在工作。

I want to access the crystal report file, which I have to access from my local machine.
I am using MVC application using c#.Application is deployed on Azure cloud service.
The report file itself contains database connections,parameter definitions,etc.

What I have tried:

its working when i store the report file to my local storage.

推荐答案

你的MVC网站需要访问远程文件。



如果您使用的是IIS,那么您需要查看运行应用程序池和帐户的帐户。让该帐户访问远程位置。

注意:使用映射驱动器可能会失败,您需要包含服务器的完整路径并共享。

参考; 应用程序池 - ASP.NET文档 [ ^ ]

虽然这是针对ASP.Net的,但信息仍然是相关的



亲切的问候
Your MVC site will need access to the remote file.

If you are using IIS then you will need to look at the account running the Application Pool & give that account access to the remote location.
NOTE: Using a mapped drive is likely to fail, you will need to include the full path to the server and share.
Refer; Application Pools — ASP.NET documentation[^]
While this is for ASP.Net the information is still relevant

Kind Regards


这篇关于如何连接存储在远程服务器中的水晶报告。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆