Search:
Namespaces
Discussions
.NET v1.1
Feedback
Urgent Help: Compiling Mobile Application Error Suddenly?
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngmob' list
.
Peter Ma
Hi, when I start to continue my mobile web application today. I faced the
following error message suddenly?! When I press Ctrl+F5, then it show:
1. Could not copy temporary files to the output directory.
2. The file 'bin\MobileWebApplication1.dll' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
3. The file 'bin\MobileWebApplication1.pdb' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
I have no other prcoess is processing except the development of this mobile
application in this machine. I'm using VS.NET Beta 2. After I reboot, it can
compile again, but I press Ctrl+F5 again, then it show the same error again.
That mean, I can reboot and compile ONCE in every reboot now?
Thanks,
Peter
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Reply to this message...
Anil John
Peter,
That sounds like a Visual Studio problem.. Have you asked the question on the Visual Studio list @
http://www.aspfriends.com/aspfriends/aspngvs.asp
Anil
---------- Original Message ----------------------------------
From: "Peter Ma" <
Click here to reveal e-mail address
>
Reply-To: "aspngmob" <
Click here to reveal e-mail address
>
Date: Fri, 01 Mar 2002 18:40:15 +0000
Hi, when I start to continue my mobile web application today. I faced the
following error message suddenly?! When I press Ctrl+F5, then it show:
1. Could not copy temporary files to the output directory.
2. The file 'bin\MobileWebApplication1.dll' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
3. The file 'bin\MobileWebApplication1.pdb' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
I have no other prcoess is processing except the development of this mobile
application in this machine. I'm using VS.NET Beta 2. After I reboot, it can
compile again, but I press Ctrl+F5 again, then it show the same error again.
That mean, I can reboot and compile ONCE in every reboot now?
Thanks,
Peter
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
.
| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Mark Bruce
Step to solve the problem...
Click on the project that causes the problem
Then click on show all files in the solution explorer
delete the offendding dll from the bin folder
recompile
Anil John <
Click here to reveal e-mail address
> wrote: Peter,
That sounds like a Visual Studio problem.. Have you asked the question on the Visual Studio list @
http://www.aspfriends.com/aspfriends/aspngvs.asp
Anil
---------- Original Message ----------------------------------
From: "Peter Ma"
Reply-To: "aspngmob"
Date: Fri, 01 Mar 2002 18:40:15 +0000
Hi, when I start to continue my mobile web application today. I faced the
following error message suddenly?! When I press Ctrl+F5, then it show:
1. Could not copy temporary files to the output directory.
2. The file 'bin\MobileWebApplication1.dll' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
3. The file 'bin\MobileWebApplication1.pdb' cannot be copied to the run
directory. The process cannot access the file because it is being used by
another process.
I have no other prcoess is processing except the development of this mobile
application in this machine. I'm using VS.NET Beta 2. After I reboot, it can
compile again, but I press Ctrl+F5 again, then it show the same error again.
That mean, I can reboot and compile ONCE in every reboot now?
Thanks,
Peter
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
.
| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
---------------------------------
Do You Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball
Reply to this message...
Peter Ma
However, the 2 files seem the most important files as they have the same
name as my application, e.g. my project named 'ABC', then the offending file
is bin\abc.dll and bin\abc.pdb
If I delete and then recomile it, is it safe? As the bin\abc.dll is the
comiled version of my code behind codes.
Thanks,
Peter
[Original message clipped]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Reply to this message...
Peter Ma
I tried to delete the offendding dll from the bin folder, while it said
"Access is Denied", and i go to File Explorer to delete it, it also said
this DLL file is in use, but I dont' have any othe process processing?! How
can I check which process is using this DLL file? I tried to go to "process"
in VS.NET, but no process related to my application is running. I don't have
any 'un-close' function in my code behind form, so, any experts know what
other reason and solution to my problem? Since I can't do any development
and just sit in here now due to the VS.NET Compilation problem...
:(
Thanks,
Peter
[Original message clipped]
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
.
Reply to this message...
Scott Worley
<html><div style='background-color:'><DIV>
<P>Hi Peter, </P>
<P>Have you tried stopping the IIs server on the website where the .dll is, sometimes it can get locked?</P>
<P>Good luck, hth, resolves your problem.</P>
<P>Scott Worley</P>
<P> Author of: Inside ASP.NET, New Riders Publishing,</P>
<P> Working on: Commerce Server 2002 and .NET Unleashed, SAMS</P>
<P><BR><BR> </P></DIV>
<DIV></DIV><BR><BR><BR>Respect & Honour
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Scott Worley
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>----Original Message Follows----
<DIV></DIV>From: "Peter Ma" <
Click here to reveal e-mail address
>
<DIV></DIV>Reply-To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>Subject: [aspngmob] Re: Urgent Help: Compiling Mobile Application Error Suddenly??
<DIV></DIV>Date: Sat, 02 Mar 2002 09:32:23 +0000
<DIV></DIV>
<DIV></DIV>I tried to delete the offendding dll from the bin folder, while it said
<DIV></DIV>"Access is Denied", and i go to File Explorer to delete it, it also said
<DIV></DIV>this DLL file is in use, but I dont' have any othe process processing?! How
<DIV></DIV>can I check which process is using this DLL file? I tried to go to "process"
<DIV></DIV>in VS.NET, but no process related to my application is running. I don't have
<DIV></DIV>any 'un-close' function in my code behind form, so, any experts know what
<DIV></DIV>other reason and solution to my problem? Since I can't do any development
<DIV></DIV>and just sit in here now due to the VS.NET Compilation problem...
<DIV></DIV>:(
<DIV></DIV>
<DIV></DIV>Thanks,
<DIV></DIV>Peter
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>>From: Mark Bruce <
Click here to reveal e-mail address
>
<DIV></DIV>>Reply-To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>>To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>>Subject: [aspngmob] Re: Urgent Help: Compiling Mobile Application
<DIV></DIV>>Error
<DIV></DIV>>Suddenly??
<DIV></DIV>>Date: Fri, 1 Mar 2002 15:30:16 -0800 (PST)
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>> Step to solve the problem...
<DIV></DIV>> Click on the project that causes the problem
<DIV></DIV>> Then click on show all files in the solution explorer
<DIV></DIV>> delete the offendding dll from the bin folder
<DIV></DIV>> recompile
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>> Anil John <
Click here to reveal e-mail address
>wrote: Peter,
<DIV></DIV>>
<DIV></DIV>>That sounds like a Visual Studio problem.. Have you asked the
<DIV></DIV>>question on
<DIV></DIV>>the Visual Studio list @
<DIV></DIV>>
http://www.aspfriends.com/aspfriends/aspngvs.asp
<DIV></DIV>>
<DIV></DIV>>Anil
<DIV></DIV>>
<DIV></DIV>>---------- Original Message ----------------------------------
<DIV></DIV>>From: "Peter Ma"
<DIV></DIV>>
<DIV></DIV>>Reply-To: "aspngmob"
<DIV></DIV>>Date: Fri, 01 Mar 2002 18:40:15 +0000
<DIV></DIV>>
<DIV></DIV>>Hi, when I start to continue my mobile web application today. I
<DIV></DIV>>faced the
<DIV></DIV>>following error message suddenly?! When I press Ctrl+F5, then it
<DIV></DIV>>show:
<DIV></DIV>>1. Could not copy temporary files to the output directory.
<DIV></DIV>>2. The file 'bin\MobileWebApplication1.dll' cannot be copied to the
<DIV></DIV>>run
<DIV></DIV>>directory. The process cannot access the file because it is being
<DIV></DIV>>used by
<DIV></DIV>>another process.
<DIV></DIV>>3. The file 'bin\MobileWebApplication1.pdb' cannot be copied to the
<DIV></DIV>>run
<DIV></DIV>>directory. The process cannot access the file because it is being
<DIV></DIV>>used by
<DIV></DIV>>another process.
<DIV></DIV>>
<DIV></DIV>>I have no other prcoess is processing except the development of this
<DIV></DIV>>mobile
<DIV></DIV>>application in this machine. I'm using VS.NET Beta 2. After I
<DIV></DIV>>reboot, it
<DIV></DIV>>can
<DIV></DIV>>compile again, but I press Ctrl+F5 again, then it show the same
<DIV></DIV>>error
<DIV></DIV>>again.
<DIV></DIV>>That mean, I can reboot and compile ONCE in every reboot now?
<DIV></DIV>>
<DIV></DIV>>Thanks,
<DIV></DIV>>Peter
<DIV></DIV>>
<DIV></DIV>>_________________________________________________________________
<DIV></DIV>>Get your FREE download of MSN Explorer at
<DIV></DIV>>
http://explorer.msn.com/intl.asp
.
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
<DIV></DIV>>|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
<DIV></DIV>>|
http://www.asplists.com/search
= SEARCH Archives
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
<DIV></DIV>>|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
<DIV></DIV>>|
http://www.asplists.com/search
= SEARCH Archives
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>---------------------------------
<DIV></DIV>>Do You Yahoo!?
<DIV></DIV>>Yahoo! Sports - Sign up for Fantasy Baseball
<DIV></DIV>>
<DIV></DIV>>| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
<DIV></DIV>>|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
<DIV></DIV>>|
http://www.asplists.com/search
= SEARCH Archives
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>_________________________________________________________________
<DIV></DIV>Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
.
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
<DIV></DIV>|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
<DIV></DIV>|
http://www.asplists.com/search
= SEARCH Archives
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>Join the world’s largest e-mail service with MSN Hotmail. <a href='
http://g.msn.com/1HM105301/15
'>Click Here</a><br></html>
Reply to this message...
Mark Bruce
When I sometimes receive the same message as you have, I am able to delete the offending dll and then recompile.
Your problem may be something else. As someone else has suggested, restarting iis may resolve the problem.
HTH!
Mark
Peter Ma <
Click here to reveal e-mail address
> wrote:
However, the 2 files seem the most important files as they have the same
name as my application, e.g. my project named 'ABC', then the offending file
is bin\abc.dll and bin\abc.pdb
If I delete and then recomile it, is it safe? As the bin\abc.dll is the
comiled version of my code behind codes.
Thanks,
Peter
[Original message clipped]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
---------------------------------
Do You Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball
Reply to this message...
Peter Ma
Hey Scott,
My problem resolved after use "iisreset"~
Thanks!
But.... what I have to do during every compilation is....
1. make a little change on the .vb Code behind file
2. go to type IISRESET
3. press 'Build'
4. use browse/pocket pc emulator to view my output
Will this situation persis? i mean the application dll being blocked will
last forever? it's the bug of VS.NET Beta 2? or what else solution? As I
made disable the 'Auto-Formatting' in VS.NET, then I can't do the
re-compilation again on the next day until now...
(but i can compile my project again is already thanks to the god, and i
don't mind typing IISRESET at every compilation now... at least i can
continue my project. ;)
Thanks,
Peter
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Reply to this message...
Scott Worley
<html><div style='background-color:'><DIV>
<P>Hi Peter, glad it worked ;)</P>
<P>See inline for new comments.</P>
<P> </P>
<P> </P>
<P>Scott Worley</P>
<P> Author of: Inside ASP.NET, New Riders Publishing.</P>
<P> Working on: Commerce Server 2002 and .NET Unleashed, SAMS.<BR><BR></P></DIV>
<DIV></DIV>----Original Message Follows----
<DIV></DIV>From: "Peter Ma" <
Click here to reveal e-mail address
>
<DIV></DIV>Reply-To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>To: "aspngmob" <
Click here to reveal e-mail address
>
<DIV></DIV>Subject: [aspngmob] Re: Urgent Help: Compiling Mobile Application Error Suddenly??
<DIV></DIV>Date: Sat, 02 Mar 2002 19:21:31 +0000
<DIV></DIV>
<DIV></DIV>Hey Scott,
<DIV></DIV>My problem resolved after use "iisreset"~
<DIV></DIV>Thanks!
<DIV></DIV>
<P>--> np.</P>
<P> </P>
<P>But.... what I have to do during every compilation is.... </P>
<DIV></DIV>1. make a little change on the .vb Code behind file
<DIV></DIV>2. go to type IISRESET
<DIV></DIV>3. press 'Build'
<DIV></DIV>
<P>4. use browse/pocket pc emulator to view my output </P>
<P>--> This really should not be the case, you should not need to IIs reset on each build, sometimes a .dll can get locked, but it is not normal</P>
<P>Will this situation persis?</P>
<P>i mean the application dll being blocked will last forever? </P>
<P>-->again this should not happen, the only time you can not removed a .dll is if it is in use, by an application, in a good install.</P>
<P>it's the bug of VS.NET Beta 2? or what else solution? </P>
<P>-->trying to figure out what is wrong here <grin></P>
<P>As I made disable the 'Auto-Formatting' in VS.NET, then I can't do the </P>
<DIV></DIV>
<P>re-compilation again on the next day until now...</P>
<P> </P>
<DIV></DIV>(but i can compile my project again is already thanks to the god, and i
<DIV></DIV>don't mind typing IISRESET at every compilation now... at least i can
<DIV></DIV>continue my project. ;)
<DIV></DIV>
<DIV></DIV>
<P>-->can you send me the code, Iwould like to see if I have the same issue, here?</P>
<P>Thanks, </P>
<P>-->anytime, the MIT is great fun ;)</P>
<DIV></DIV>Peter
<DIV></DIV>
<DIV></DIV>_________________________________________________________________
<DIV></DIV>Join the world’s largest e-mail service with MSN Hotmail.
<DIV></DIV>
http://www.hotmail.com
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>| [aspngmob] member
Click here to reveal e-mail address
= YOUR ID
<DIV></DIV>|
http://www.asplists.com/asplists/aspngmob.asp
= JOIN/QUIT
<DIV></DIV>|
http://www.asplists.com/search
= SEARCH Archives
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='
http://g.msn.com/1HM105301/14
'>Click Here</a><br></html>
Reply to this message...
ahmed rashed
(Type your message here)
--------------------------------
From: ahmed rashed
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com