找回密码
 立即注册

QQ登录

只需一步,快速开始

handy

新手上路

1

主题

4

帖子

39

积分

新手上路

积分
39
  • 35

    金币

  • 主题

  • 帖子

最新发帖
handy
新手上路   /  发表于:2012-8-8 12:58  /   查看:7687  /  回复:9
版主,你好。
我昨天刚刚安装了Spread .NET6,
系统是WIN7 开发环境是VS2008sp1.

现在打开PasteExcelCS项目,运行时,报下面的错误
错误        13        Task failed because "LC.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "LC.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Visual Studio 2008.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task.        PasteExcelCS
我上网查了一下,有的是说licenses.licx文件给删除,或者把[生成操作]改成无。
但是,如果这样操作了。项目能够运行起来,但又出现
License for the Spread cannot be found. 错误。

麻烦问一下,现在我要怎么解决才能运行起项目呀

9 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2012-8-8 13:23:00
沙发
回复 1楼handy的帖子

请尝试以下操作步骤:

1.删除全部 Spread 相关 DLL。
2.删除 License 文件。
3.重新添加 Spread,会 自动生成 license 文件。
4.重新添加 Spread DLL 引用 。
5.Rebuild。

看是否能够解决问题。
回复 使用道具 举报
handy
新手上路   /  发表于:2012-8-8 14:07:00
板凳
问题依旧。。
我新建了一个项目
在项目中只引用了
FarPoint.CalcEngine
FarPoint.Excel
FarPoint.PDF
FarPoint.Web.Chart
FarPoint.Web.Spread

在default.aspx画面中,加入了
<%@ Register TagPrefix="farpoint" Namespace="FarPoint.Web.Spread" Assembly="FarPoint.Web.Spread"  %>
和下面代码
<farpoint:FpSpread ID="FpSpread1" runat="server"
        BorderColor="Black" BorderStyle="Solid"
          BorderWidth="1px"
        Style="left: 72px; position: absolute; top: 112px; width: 705px; height: 399px;"
        OnButtonCommand="FpSpread1_ButtonCommand">
          <CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight"
              ButtonShadowColor="ControlDark" />
          <Sheets>
              <farpoint:SheetView SheetName="Sheet1">
              </farpoint:SheetView>
          </Sheets>
      </farpoint:FpSpread>
licenses.licx文件确实重新生成了。
但debug时,还是不通过。提示
错误        13        Task failed because "LC.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "LC.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Visual Studio 2008.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task.        PasteExcelCS

请问还和什么有关系呢,用不用我把项目发上来,您帮我看看呀~~
回复 使用道具 举报
handy
新手上路   /  发表于:2012-8-8 14:16:00
地板
还有一点发现,我regedit里HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\
下面没有Windows\v6.0A
只有一个.NETFramework\v2.0
这是因为我是NETFramework的原因吗?我安装的是VS2008sp1.默认应该安装NETFramework3.5啦呀
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-8-8 17:30:00
5#
回复 4楼handy的帖子

不好意思,我这里无法重新问题,请楼主查看下是否安装 .NET Framework 3.5。
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-8-17 17:33:00
6#
回复 4楼handy的帖子

handy 你好,
能否把 3# 中的 Demo 发到论坛调试?
回复 使用道具 举报
Lonlyju
论坛元老   /  发表于:2012-8-27 10:04:00
7#
请问楼主 您解决了这个问题了吗 怎么解决的?能否赐教一下啊 谢谢啦 我正在愁这个问题呢。。。
回复 使用道具 举报
huxun
注册会员   /  发表于:2019-6-19 08:59:59
8#
在吗,群主,能否把你用的Speread.NET6发我用下,我的一直生成不了注册文件
回复 使用道具 举报
huxun
注册会员   /  发表于:2019-6-19 09:00:36
9#
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-6-19 16:53:13
10#
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部