小编cod*_*man的帖子

无法检查签名:未找到公钥

我尝试使用以下命令解密文件:

gpg --output file.txt --decrypt file.pgp
Run Code Online (Sandbox Code Playgroud)

文件已成功解密但我收到错误:

"gpg:无法检查签名:未找到公钥"

任何想法,为什么我得到这个错误?

encryption cmd gnupg pgp

48
推荐指数
3
解决办法
8万
查看次数

由于内部错误,服务器无法处理请求

当我尝试从webservice加载方法时,我收到一个错误:

"由于内部错误,服务器无法处理请求.有关错误的更多信息,请在服务器上启用IncludeExceptionDetailInFaults(来自ServiceBehaviorAttribute或配置行为),以便将异常信息发送回客户端,或根据Microsoft .NET Framework SDK文档打开跟踪并检查服务器跟踪日志"

这是我的app.config端点def:

<services>
  <service name="Service" behaviorConfiguration="debug">
</services>

<client>
  <endpoint name="Service" address="net.tcp://localhost:12708/" binding="netTcpBinding" bindingConfiguration="netTcp" contract="path.IService" >
    <identity>
      <servicePrincipalName />
    </identity>
  </endpoint>
</client>

<serviceBehaviors>
    <behavior name="debug">
      <serviceDebug includeExceptionDetailInFaults="True" />
    </behavior>
  </serviceBehaviors>
Run Code Online (Sandbox Code Playgroud)

如果我声明了serviceBehaviors,我看不到更多信息事件.有人可以告诉我如何才能看到有关此错误的更多详细信息?

.net c# wcf endpoint

5
推荐指数
2
解决办法
6万
查看次数

标签 统计

.net ×1

c# ×1

cmd ×1

encryption ×1

endpoint ×1

gnupg ×1

pgp ×1

wcf ×1