安装Sql Server接收器时出错 - 语义记录

时间:2014-03-12 05:25:38

标签: semantics

我正在尝试将Semantic logging Sql Server sink安装到我的应用程序中,但到目前为止每次尝试都失败了。我得到的错误是(在CMD模式下):

Attempting to resolve dependency 'EnterpriseLibrary.SemanticLogging (≥ 1.0)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling.Data (≥ 6.0)'.
Attempting to resolve dependency 'EnterpriseLibrary.TransientFaultHandling (≥ 6.0)'.
Installing 'EnterpriseLibrary.TransientFaultHandling 6.0.1304.0'.
You are downloading EnterpriseLibrary.TransientFaultHandling from Microsoft, the license agreement to which is available at http://www.opensource.org/licenses/ms-pl. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Install failed. Rolling back...
install-package : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At line:1 char:1
+ install-package
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], PathTooLongException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

尝试了UI和命令提示符安装仍然没有运气。非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

有类似的问题。您可能会尝试将此单个程序包移动到较短的目录,例如C:\包。否则将整个项目路径(例如C:\ users \ yourname \ documents ...)移动到c:\ MyProjects这样的短路径。