HELP释放模式下的连接错误 [英] HELP Connection error on Release mode

查看:58
本文介绍了HELP释放模式下的连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道发生了什么事。我有一个登录屏幕,有人在他们的登录信息中键入

,这将根据

登录信息填充数据网格。通过VS在调试和测试方面效果很好,但是,当我更改为

发布并将其发布到网上时,它无法给我以下错误

message


底层连接已关闭。无法与远程服务器建立信任

关系。

我该如何解决这个问题?我在上面读了一点,它说你在使用SSL时通常会得到这个但是我没有使用SSL。

I have no idea what is going on. I have a Login screen where someone types
in their login information and this populates a datagrid based off of the
login. Works great in debug and test through VS, however, when I change to
release and put it out on the web it fails giving me the following error
message

The underlying connection was closed. Could not establish a trust
relationship with the remote server.
How on earth do I fix this? I read a little on it and it says that you
usually get this when using SSL but I am not using SSL.

推荐答案

Brian,


这是一个ASP.NET应用程序,还是从网上下载的一个EXE?
?如果它是从网上下载的EXE,则exe

以减少的权限集运行,这肯定会限制网络

访问权限(考虑到它来自互联网区域。


你必须将EXE下载到你的机器上,否则你将不得不在.NET中为EXE设置权限配置管理员按顺序

授予该EXE的权利。


希望这会有所帮助。

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse。 com


" Brian Conway" <峰; br ********** @ qwest.com>在消息中写道

新闻:Ox ************** @ TK2MSFTNGP10.phx.gbl ...
Brian,

Is this an ASP.NET application, or is this an EXE that is downloaded
from the web? If it is an EXE that is downloaded from the web, then the exe
runs with a reduced permission set, which definitely restricts network
access (considering that it is from the internet zone).

You will have to download the EXE to your machine, or you will have to
set the permissions for the EXE in the .NET configuration manager in order
to grant rights to that EXE.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
我不知道是什么正在进行。我有一个登录屏幕,其中某人
输入他们的登录信息,这将根据
登录信息填充数据网格。通过VS在调试和测试中工作得很好,但是,当我将
更改为发布并在网上发布时它无法给我以下错误


底层连接关门了。无法与远程服务器建立信任关系。

我该如何解决这个问题?我在上面阅读了一点,它说你通常在使用SSL时得到这个,但我没有使用SSL。
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the
login. Works great in debug and test through VS, however, when I change to release and put it out on the web it fails giving me the following error
message

The underlying connection was closed. Could not establish a trust
relationship with the remote server.
How on earth do I fix this? I read a little on it and it says that you
usually get this when using SSL but I am not using SSL.



这是一个ASP.NET应用程序。我正在使用安装程序来部署

。我以同样的方式构建了另一个ASP.NET应用程序,并且它的工作原理很好,不同于数据库服务器。


Nicholas Paldino [。 NET / C#MVP]" < mv*@spam.guard.caspershouse.com>写在

消息新闻:Oa ************** @ tk2msftngp13.phx.gbl ...
This is an ASP.NET application. I am using the installer program to deploy
though. I built one other ASP.NET application the same way and it works
fine, different database server though than this one.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Oa**************@tk2msftngp13.phx.gbl...
Brian,
这是一个ASP.NET应用程序,还是从网上下载的EXE?如果它是从网上下载的EXE,则
exe运行时权限设置减少,这肯定会限制网络访问(考虑到它来自互联网区域)。

您必须将EXE下载到您的计算机,或者您必须在.NET配置管理器中设置EXE的权限,以便
授予该EXE的权限。

希望这会有所帮助。

-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

Brian Conway <峰; br ********** @ qwest.com>在消息中写道
新闻:Ox ************** @ TK2MSFTNGP10.phx.gbl ...
Brian,

Is this an ASP.NET application, or is this an EXE that is downloaded
from the web? If it is an EXE that is downloaded from the web, then the exe runs with a reduced permission set, which definitely restricts network
access (considering that it is from the internet zone).

You will have to download the EXE to your machine, or you will have to
set the permissions for the EXE in the .NET configuration manager in order
to grant rights to that EXE.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
我不知道发生了什么。我有一个登录屏幕,其中有人
I have no idea what is going on. I have a Login screen where someone


在他们的登录信息中键入


types

,这将填充基于
登录的数据网格。通过VS在调试和测试方面效果很好,但是,当我将
in their login information and this populates a datagrid based off of the login. Works great in debug and test through VS, however, when I change


更改为

发布并将其发布到网上时,它无法给我以下错误
消息

底层连接已关闭。无法与远程服务器建立信任关系。

我该如何解决这个问题?我在上面阅读了一些内容,它说你在使用SSL时通常会得到这个,但我没有使用SSL。
release and put it out on the web it fails giving me the following error
message

The underlying connection was closed. Could not establish a trust
relationship with the remote server.
How on earth do I fix this? I read a little on it and it says that you
usually get this when using SSL but I am not using SSL.




Brian,


是IIS上的机器上的数据库还是另一台机器上的数据库?如果它在本地计算机上,数据库是否配置为允许访问它的用户帐户

?最有可能的是,这是ASPNET

帐户,它是运行IIS的计算机的本地帐户。如果

数据库在另一台机器上,那么您需要将帐户(对于数据库访问的

持续时间)更改为可以访问
网络和数据库。

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" Brian Conway" <峰; br ********** @ qwest.com>在消息中写道

新闻:O5 ************** @ TK2MSFTNGP12.phx.gbl ...
Brian,

Is the database on the machine that IIS is on or is it on another
machine? If it is on the local machine, is the database configured to allow
the user account that is accessing it? Most likely, this is the ASPNET
account, which is local to the machine that IIS is running on. If the
database is on another machine, then you need to change the account (for the
duration of the database access) to an account that has access to the
network and the database.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
这是一个ASP。 NET应用程序。我正在使用安装程序来部署
。我以相同的方式构建了另一个ASP.NET应用程序,它的工作原理不同于这个不同的数据库服务器。

Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.com>在消息新闻中写了
:Oa ************** @ tk2msftngp13.phx.gbl ...
This is an ASP.NET application. I am using the installer program to deploy
though. I built one other ASP.NET application the same way and it works
fine, different database server though than this one.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:Oa**************@tk2msftngp13.phx.gbl...
Brian,
这是一个ASP.NET应用程序,还是从网上下载的EXE?如果它是从Web下载的EXE,那么
Brian,

Is this an ASP.NET application, or is this an EXE that is downloaded
from the web? If it is an EXE that is downloaded from the web, then the


exe


exe

以减少的权限集运行,这肯定会限制网络访问(考虑到它来自互联网区域。

您必须将EXE下载到您的机器上,否则您将获得
runs with a reduced permission set, which definitely restricts network
access (considering that it is from the internet zone).

You will have to download the EXE to your machine, or you will have to

顺序在.NET配置管理器中设置EXE的权限,以授予该EXE的权限。

希望这会有所帮助。

-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

Brian Conway <峰; br ********** @ qwest.com>在消息中写道
新闻:Ox ************** @ TK2MSFTNGP10.phx.gbl ...
set the permissions for the EXE in the .NET configuration manager in order to grant rights to that EXE.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
我不知道发生了什么。我有一个登录屏幕,其中某人
I have no idea what is going on. I have a Login screen where someone


在他们的登录信息中键入


types

,并根据登录信息填充数据网格。通过VS在调试和测试中运行良好,但是,当我将
更改为
in their login information and this populates a datagrid based off of the login. Works great in debug and test through VS, however, when I change to
发布并将其发布到Web上时,它无法提供以下内容
release and put it out on the web it fails giving me the following



错误消息

底层连接已关闭。无法与远程服务器建立信任关系。

我该如何解决这个问题?我在上面阅读了一些内容,并说它在使用SSL时通常会得到
但是我没有使用SSL。


error message

The underlying connection was closed. Could not establish a trust
relationship with the remote server.
How on earth do I fix this? I read a little on it and it says that you usually get this when using SSL but I am not using SSL.





这篇关于HELP释放模式下的连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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