部署asp.net 3.5项目和数据库问题 [英] Deployment of asp.net 3.5 project and database issues

查看:74
本文介绍了部署asp.net 3.5项目和数据库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
刚刚使用c#...使用asp.net 3.5开发了一个n层Web应用程序.
使用发布网站"工具发布它之后,尽管该项目运行良好,但是每当我尝试更新错误为数据库为只读"的关联数据库时,都会出现一个问题.但是我双重检查了只读属性.

对此有解决方案的任何人.或采用另一种有效的方法来部署网站,请帮助...

当我尝试在Windows XP SP2上使用II更新数据库中的值时的确切错误是-

Hi Everyone,
Just developed an n-tier web application using asp.net 3.5 with c#...
After publishing it using the "publish website" tool although the project is running fine But there is an issue whenever i try to update the associated database with an error "Database is Read-Only" However I doubly checked the properties for Read-only.

Anyone with the Solution to this.. Or an alternative efficient method to deploy the Website Please Help...

the exact error when i try to update the values in the database using IIs on Windows xp sp2 is-

Failed to update database "C:\INETPUB\WWWROOT\APP_DATA\Database.MDF" because the database is read-only.



感谢



Thanks

推荐答案

看看这些链接,讨论类似的问题:
链接1 [链接2 [此处 [
Have a look at these links discussing the similar issue:
Link 1[^]
Link 2[^]

More here[^].


将在其中部署数据库的文件夹上设置只读写入.可能检查服务器上的文件夹设置.
The folder in which the database is deployed will be setting readonly writes on it. Probably check the folder setting on the server.


这篇关于部署asp.net 3.5项目和数据库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆