WebForms应用程序 - '此工作站与主域之间的信任关系失败。'

时间:2018-03-19 17:28:08

标签: c# webforms iis-7

我已经在互联网上搜索了这个特殊的错误,我发现了类似的错误,但没有任何东西与我的问题相符。我有一个WebForms应用程序,继续给我下面的错误。

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'The trust relationship between this workstation and the primary domain failed.

它突出显示了这一行:(我已使用此帖子的通用文字替换了用户名和密码。)

<system.web> <identity impersonate="true" userName="(Domain\(Username)" password="(Password)"/>

每当我改变impersonate =&#34; false&#34;它只是说无法找到LocalHost。我不确定这里的问题是什么,我似乎无法让应用程序在本地运行。

0 个答案:

没有答案