当我想在Visual C#2008中制作安装文件时,如何与项目一起移动数据库文件 [英] how i can move my database files withe my project when I want to make an setup file in visual c# 2008
问题描述
hi
我想在visula c#中为我的项目进行安装,其中包括一个sql数据库,我已将数据库添加到安装项目中,但在其他计算机中却不起作用,在安装中我收到以下错误消息:
错误1无法找到位于"[TARGETDIR]"中的文件"db_log.LDF"的源文件"C:\ Program Files \ Microsoft SQL Server \ MSSQL.1 \ MSSQL \ Data \ db_log.LDF" ',则文件可能不存在或已锁定. C:\ Users \ Dell \ Documents \ Visual Studio 2008 \ Projects \ Project1 \ Linqtest \ Setup3 \ Setup3.vdproj Setup3
tnx为您提供帮助
此链接 [ ^ ]可能会为您提供帮助.
hi
I want to make a setup for my project in visula c# that include a sql database I added my data base to my setup project but it did not work in other computers an in setup I have this eror message:
Error 1 Unable to find source file ''C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\db_log.LDF'' for file ''db_log.LDF'', located in ''[TARGETDIR]'', the file may be absent or locked. C:\Users\Dell\Documents\Visual Studio 2008\Projects\Project1\Linqtest\Setup3\Setup3.vdproj Setup3
tnx for your help
This link[^] might help you.
这篇关于当我想在Visual C#2008中制作安装文件时,如何与项目一起移动数据库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!