开发者

Any changes required on connection string when the database is move to a different drive?

开发者 https://www.devze.com 2022-12-17 16:35 出处:网络
I\'m planning on moving a database from C: drive to E: drive because the database is growing and the C: drive does not have enough capacity to handle that.

I'm planning on moving a database from C: drive to E: drive because the database is growing and the C: drive does not have enough capacity to handle that.

I开发者_开发问答 wonder if I need to changes anything in the connection on the web.config page in order to access the database.

The database still has the same name, is still on the same server, only is moved to a different drive.

thanks, aein


There are situations where the path to the database file is important (See the AttachDBFilename parameter here). However, if you don't currently have any file path information in your connection string you shouldn't need to make any changes.


Not needed. It does not impact the web app.

0

精彩评论

暂无评论...
验证码 换一张
取 消