Redian新闻
>
Access to a path is denied across domains
avatar
Access to a path is denied across domains# Database - 数据库
s*z
1
I have two domains: A & B.
I host the ASP.NET site on Domain B, but need to access a folder on Domain A
. I can physically open the folder on B, but when I click the link on the
webpage, it gave me this error message:
Access to the path '\AAA\BBB' is denied.
Can anyone help? Thanks a lot!
avatar
B*g
2
wrong board.
but you should try impersonate.

A

【在 s*******z 的大作中提到】
: I have two domains: A & B.
: I host the ASP.NET site on Domain B, but need to access a folder on Domain A
: . I can physically open the folder on B, but when I click the link on the
: webpage, it gave me this error message:
: Access to the path '\AAA\BBB' is denied.
: Can anyone help? Thanks a lot!

avatar
s*z
3
You suggested impersonate, I guess it wasn't that wrong. :-D
I did try that, but it didn't seem to work. Is there any good article about
how to use it?

【在 B*****g 的大作中提到】
: wrong board.
: but you should try impersonate.
:
: A

avatar
a9
4
aspnet不是用你当前登录的用户运行的。以前是aspnet用户。新的是啥用户我忘了。
当然你也可以模拟,用你登录的用户试试看。

about

【在 s*******z 的大作中提到】
: You suggested impersonate, I guess it wasn't that wrong. :-D
: I did try that, but it didn't seem to work. Is there any good article about
: how to use it?

avatar
s*z
5
Problem solved. Thanks, everybody!

【在 a9 的大作中提到】
: aspnet不是用你当前登录的用户运行的。以前是aspnet用户。新的是啥用户我忘了。
: 当然你也可以模拟,用你登录的用户试试看。
:
: about

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。