页面树结构
转至元数据结尾
转至元数据起始

(本文档仅供参考)

问题说明

excel插件预览和发布以下错误,插件版本已经和smartbi版本一致。

应用程序不支持实时(JIT)调试。

有关详细信息,请参见此消息的结尾。

************** 异常文本 **************
System.NotSupportedException: 不支持给定路径的格式。
在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
在 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, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 SmartbiExcelAddIn.ExcelAddin.GetActiveWorkbookFileDataInternal()
在 SmartbiExcelAddIn.ExcelAddin.GetActiveWorkbookFileData(SpreadSheetReport report)
在 SmartbiExcelAddIn.ExcelAddin.<>c__DisplayClass87.<SaveReportAsInternal>b__81(Object s, WaitWindowEventArgs e)
在 WordAddInBase.Util.WaitWindow.ShowWindow(EventHandler`1 workerMethod, String message, List`1 args)
在 SmartbiExcelAddIn.ExcelAddin.SaveReportAsInternal()
在 SmartbiExcelAddIn.ExcelAddin.SaveReportAs(Boolean fromRibbon)
在 SmartbiExcelAddIn.ExcelAddin.SaveReportInternal(Boolean temp)
在 SmartbiExcelAddIn.ExcelAddin.SaveReport(Boolean temp, Boolean fromRibbon)
在 SmartbiExcelAddIn.ExcelAddin.OnAction(IRibbonControl control)

解决方案

         此报错是没有 SmartbiSpreadSheetReport 文件夹的权限,可以在路径 C:\Users\admin\Documents\SmartbiSpreadSheetReport,查看改目录授予启动excel的用户权限是什么。若没有相关权限需授予改目录的读写权限。
         注:路径的 admin 可能是别的名称,需根据实际名称进行修改。

            


        若查看已授予了对应权限,可尝试用使用管理员启动excel,若使用管理员启动excel可以正常预览和发布,即还是普通用户权限设置导致。
        


 

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签