运行应用程序时出错 [英] getting error while running application

查看:128
本文介绍了运行应用程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Error   1   Unable to copy file "G:\parolls\Payroll system\win_VB\win_VB\payroll.mdf" to "bin\Release\payroll.mdf". The process cannot access the file 'G:\parolls\Payroll system\win_VB\win_VB\payroll.mdf' because it is being used by another process.   win_VB





i我收到了上述错误..请告诉我该怎么办..



i am getting the above error..please tell me what to do..

推荐答案

转到构建 - >清除解决方案然后再次转到构建 - >重建解决方案。然后运行该应用程序。希望这会帮助你。



问候,

Bluesathish
Goto build->clean solution then Again goto Build->Rebuild solution. Then run the application. Hope this will help you.

Regards,
Bluesathish


当文件刚刚创建并且你尝试时会发生此错误访问,无需关闭。



检查您的编码。
this error is occur when file is just create and you try to access, without close.

check your coding.


如果您在构建应用程序时遇到此错误VS2008,请验证项目的前/后事件。



要检查选择''项目 - >项目属性''。



您将获得项目属性对话框。在对话框的左侧窗格中,选择构建事件。检查此选项卡下的所有可用事件(如果有)。
If you are getting this error when you are building the application in VS2008, please verify the Pre/Post Events of the project.

To check that select ''Project -> Project properties''.

You''ll get the Project properties dialog box. In the left pane of the dialog, select ''Build Events''. Check all the events available (if any) under this tab.


这篇关于运行应用程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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