"The operation could not be completed. Access denied"
Hello people,
I′m a really annoying issue with VS Express, and I can′t seem to find any way around it.
If I load a project in VS and press F5, the build is successful and the program runs,
but only ONE time! If run my program again, I get the following message:
"The operation could not be completed. Access denied".
However if I skip debugging by pressing CTRL+F5, everything works fine.
If I restart VS, I can use F5 once again, but still only one time,
then another restart is required.
Below is the output from the build. To me it looks like the build process
completes every time, and that it is the debugging that for some reason
gives me this access denied.
I earlier had an evaluation version of VS Pro, with the exact same error.
Any clues as to what might be causing this? Anyone know any applications
that could tell me exactly what VS is trying to access when this message is returned?
Cheers,
Daniel
Build started: Project: Rapporter, Configuration: Debug Any CPU
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /rootnamespace:WindowsApplication1 /doc:obj\Debug\Rapporter.xml /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"WindowsForms\",PLATFORM=\"AnyCPU\"" /reference:C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\WINNT\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /main:WindowsApplication1.My.MyApplication /debug+ /debug:full /out:obj\Debug\Rapporter.exe /resource:obj\Debug\WindowsApplication1.Form1.resources /resource:obj\Debug\WindowsApplication1.Resources.resources /target:winexe Form2.Designer.vb Form2.vb Module2.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb"
Rapporter -> F:\program\ie\Mina Dokument\Visual Studio 2005\Projects\Rapporttest\Rapporttest\bin\Debug\Rapporter.exe
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

