【问题标题】:SSRS : Failure writing file <servername> The network name cannot be foundSSRS:写入文件失败 <servername> 找不到网络名称
【发布时间】:2013-12-03 23:36:06
【问题描述】:

我是 MS SQL 和 SSRS 的新手。我尝试通过邮件和 Windows 文件共享发送报告。但是我遇到了这个错误。

Failure writing file \ogdtek\reports\Report2 : 网络名称 找不到

日志文件在这里。错误在哪里?报告或保存到路径(\ogdtek\reports\Report2)时。我可以在

上看到报告
http://localhost/Reports/Pages/Report.aspx?ItemPath=%2fReportProject2%2fReport2

       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification notification, SubscriptionData d)
subscription!WindowsService_8!770!12/04/2013-01:27:16:: i INFO: Error writing file Report2 to path \\ogdtek\reports
notification!WindowsService_8!770!12/04/2013-01:27:16:: e ERROR: Error occurred processing subscription 068c6fdd-b076-4504-b3bc-9ce8459fce84: Failure writing file \\ogdtek\reports\Report2 : The network name cannot be found.

谢谢。抱歉英语不好

【问题讨论】:

    标签: reporting-services ssrs-2008 sql-server-2012 ssrs-2012


    【解决方案1】:

    尝试使用 (\ \ogdtek\reports\Report2) 不带括号。

    我认为你错过了前导(\)

    【讨论】:

    • 感谢您的回答。我添加但是,相同的日志相同的错误消息
    【解决方案2】:

    您好,我收到了同样的错误,这让我发疯了。我最终需要启用与 NETWORK SERVICE 用户共享的文件夹。不确定这是否正确/安全但对我有用...

    我使用的是 Windows 8.1 Pro,我进入文件夹并右键单击。然后我去了属性,然后是共享选项卡。单击共享...并添加“网络服务”我还将权限级别更改为读/写。

    我还为访问文件夹的用户和网络服务提供了完全权限级别,但您可能只需要添加读写执行权限。为此,请再次右键单击该文件夹并转到“安全”选项卡。单击编辑... 然后添加... 在文本块中键入您的用户,然后单击检查名称。然后确定。然后为该用户设置权限。对网络服务执行相同的操作。

    我注意到的另一件事是,如果我尝试使用该文件夹中已有文件的名称保存报告,则会收到错误消息。 (请注意...)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-09
      • 2020-07-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多