为什么从 DICOM 文件导出的 jpeg 图像上出现配置消息?

发布于 2024-10-15 07:24:34 字数 356 浏览 7 评论 0原文

我正在尝试制作一个基于网络的 dicom 图像查看器。我正在使用 c# 和 asp.net。我正在使用 www.clearcanvas.ca 上找到的 Clear Canvas 库。这里的问题是,当我尝试从 dicom 文件导出 jpeg 图像时,它们上会出现以下消息:

“当前配置系统不支持用户范围的设置”

在其他论坛上,我发现可以通过应用范围设置。我已经尝试过了,但该消息仍然出现在图像上。我什至将 app.config 文件中的用户设置转移到 applicationsettings 部分。由于基于 Web 的解决方案不支持用户设置,因为网站必须在服务器上运行。如果有人这样做并从图像中删除了此消息,请在此处分享。我非常感谢您提供有关消除此错误的帮助。谢谢。

I am trying to make a web based dicom image viewer. I am using c# and asp.net. I am using Clear Canvas libraries found on www.clearcanvas.ca. The problem here is that when I try to export the jpeg images from dicom files the following message appears on them:

"The current configuration system does not support user-scoped setting"

On other forums I have found that this error can be removed by the application scope settings. I have tried that and still the message appears on the images. I have even shifted the user settings in app.config file to applicationsettings sections. Since web based solutions do not support user settings because the website has to run on the server. If some one has done this and removed this message from the images, then please share it here. I would really appreciate some help on removing this error. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

z祗昰~ 2024-10-22 07:24:34

ClearCanvas ImageViewer 组件是使用多个用户设置编写的。基于 IIS 的应用程序不支持用户设置。由于缺乏对用户设置并将其放置在图像上的支持,程序集中发生异常。

有几个解决方案。您可以通过将所有设置更改为应用程序设置而不是用户设置来修改代码。您还可以创建一个新的 .NET 设置提供程序,该提供程序支持可在 IIS 中使用的用户设置。

The ClearCanvas ImageViewer components were written to using several User settings. IIS based applications do not support user settings. An exception is occurring within the assembly due to the lack of support for user settings and placing it on the image.

There's a couple of solutions. You could go and modify the code by changing all of the settings to be application settings instead of user settings. You could also create a new .NET settings provider that supports user settings that could be used within IIS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文