本帖最后由 Rx0 于 2023-6-6 09:29 编辑
默认打开不运行(工作电脑,vc与.net运行库都有安装),看了下需要SQL Server Compact 4.0 SP1,安装对应版本。
再次打开,有托盘图标,无界面,不对,有界面,默认透明度过高,显示看着不明显,因软件闪退才以为没界面。
再次检查,发现有错误日志,看了下还是SQL问题导致的,这个软件需要SQL数据库data.sdf文件,软件需要生成这个文件才能正常运行,但创建出错。
[Asm] 纯文本查看 复制代码 【错误描述】The file resolves to a path that is too long. The maximum length is 260 characters. [ File name = *:\note\Todo\SQLCE\data.sdf ]
【错误详情】System.Exception: The file resolves to a path that is too long. The maximum length is 260 characters. [ File name = *:\note\Todo\SQLCE\data.sdf ] ---> System.Data.SqlServerCe.SqlCeException: The file resolves to a path that is too long. The maximum length is 260 characters. [ File name = *:\note\Todo\SQLCE\data.sdf ]
不想折腾了.....
PS:话说这段时间遇到几次这种小体量软件使用SQL数据的事了;作为个人用户感觉小体量软件mysql可能会更友好些,使用更方便。 |