放在本地时都没问题,但是一放到测试服务器上就有这个问题,所有权限都给了。哪位大侠遇到这类问题帮忙给个解决方案用用:
错误
Server Error in '/' Application.
--------------------------------------------------------------------------------Unable to open the database file
unable to open database file
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SQLite.SQLiteException: Unable to open the database file
unable to open database fileSource Error:
Line 72: model.Content = fckContent.Value;
Line 73: model.Location = Type;
Line 74: BLL.BllBase<Model.T_About>.Update(model);
Line 75:
Line 76: MessageBox.ShowAndDirect(this, "更新成功", "AboutList.aspx?CategoryName=" + CategoryName + "&Type=" + Type);
错误
Server Error in '/' Application.
--------------------------------------------------------------------------------Unable to open the database file
unable to open database file
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SQLite.SQLiteException: Unable to open the database file
unable to open database fileSource Error:
Line 72: model.Content = fckContent.Value;
Line 73: model.Location = Type;
Line 74: BLL.BllBase<Model.T_About>.Update(model);
Line 75:
Line 76: MessageBox.ShowAndDirect(this, "更新成功", "AboutList.aspx?CategoryName=" + CategoryName + "&Type=" + Type);
解决方案 »
- 未能加载文件或程序集“AForge.Video.FFMPEG.dll”或它的某一个依赖项。找不到指定的模块。
- C#操作Excel,在画好固定格式的Excel表中写入查询出来的数据填充到相应的位置
- 求助for循环问题,大家帮忙看看
- C#看什么书入门比较好?
- 问个超级简单的问题 两个hashTable找出不同的元素存入第三个hashTable中
- 不同网页之间能不能传递数组
- 高手帮忙改错啊!!!!!!!!
- 请教!c#中想使用“打开”对话框和写INI文件冲突
- 求助:(Exception from HRESULT: 0x80131417)
- 那里有关于c#数据库方面的书和网站呀
- 分段读取TXT文本类容
- web系统word问题
注意,一定要是aspnet用户要有权限的。
有时候,在网上租用的空间,就是这个样子。
前阵子遇到过。
空间技术维护不给开权限,怕中毒。
直接退货,就给开了。