正在使用mdf数据库。 [英] mdf database is being used.

查看:90
本文介绍了正在使用mdf数据库。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hye,我有一个连接到mdf数据库的网站,但同时我还有一个将实时数据存储到同一个数据库的应用程序。如何部署网站,我可以看到数据库中的数据,因为当应用程序运行时,网站将收到错误,说明数据库正在使用。

解决方案

< blockquote>将.ldf和.mdf文件附加到SQL Server并尝试使用服务器名称访问数据库,而不是从Web应用程序的应用程序文件夹中使用它。


hye, i have a website that is connected to a mdf database but at the same time i also have an application that store realtime data to the same database. how can i deploy the website whereby i can see the data in the database because when the application is running, the website will get error saying that the database is being used.

解决方案

Attached the .ldf and .mdf files to SQL Server and try accessing the database by using the server name instead of using it from the application folder of your web application.


这篇关于正在使用mdf数据库。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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