error BC31019: Unable to write to output fileI've recently installed Visual Studio on my computer for school and after completing my first tutorial I receive this error-<br/> <br/> <br/> There were build errors.  Would you like to continue and run the last successful build? Yes No<br/> <br/> Error    1    Unable to write to output file 'AppPath\WindowsApplication1.exe': Access is denied.     WindowsApplication1<br/> <br/> <br/> Well the problem is that I only ran an empty form as per the tutorial.  This is what I get from output<br/> <br/> ------ Build started: Project: WindowsApplication1, Configuration: Debug Any CPU ------<br/> C:\Windows\Microsoft.NET\Framework\v3.5\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /rootnamespace:WindowsApplication1 /doc:obj\Debug\WindowsApplication1.xml /define:&quot;CONFIG=\&quot;Debug\&quot;,DEBUG=-1,TRACE=-1,_MyType=\&quot;WindowsForms\&quot;,PLATFORM=\&quot;AnyCPU\&quot;&quot; /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /main:WindowsApplication1.My.MyApplication /debug+ /debug:full /filealign:512 /out:obj\Debug\WindowsApplication1.exe /resource:obj\Debug\WindowsApplication1.Resources.resources /target:winexe Form1.vb Form1.Designer.vb &quot;My Project\AssemblyInfo.vb&quot; &quot;My Project\Application.Designer.vb&quot; &quot;My Project\Resources.Designer.vb&quot; &quot;My Project\Settings.Designer.vb&quot;<br/> vbc : error BC31019: Unable to write to output file 'C:\AppPath\WindowsApplication1\obj\Debug\WindowsApplication1.exe': Access is denied. <br/> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br/> <br/> In addition whenever I click on any help it tells me that I do not have document explorer installed, but it is.<br/> <br/> <br/> So I restarted my computer in safemode and ran visual studio 2008 and it ran like a charm everything worked beautifully.  So now I guess my question is what could be causing this problem in normal windows and how can I fix it?<br/> <br/> Running on Vista home premium if that makes a difference at all.<br/>© 2009 Microsoft Corporation. All rights reserved.Wed, 03 Jun 2009 16:48:22 Z60c70216-f9f7-4e19-8b66-f2337205b268http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/60c70216-f9f7-4e19-8b66-f2337205b268#60c70216-f9f7-4e19-8b66-f2337205b268http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/60c70216-f9f7-4e19-8b66-f2337205b268#60c70216-f9f7-4e19-8b66-f2337205b268J.Starhttp://social.msdn.microsoft.com/Profile/en-US/?user=J.Starerror BC31019: Unable to write to output fileI've recently installed Visual Studio on my computer for school and after completing my first tutorial I receive this error-<br/> <br/> <br/> There were build errors.  Would you like to continue and run the last successful build? Yes No<br/> <br/> Error    1    Unable to write to output file 'AppPath\WindowsApplication1.exe': Access is denied.     WindowsApplication1<br/> <br/> <br/> Well the problem is that I only ran an empty form as per the tutorial.  This is what I get from output<br/> <br/> ------ Build started: Project: WindowsApplication1, Configuration: Debug Any CPU ------<br/> C:\Windows\Microsoft.NET\Framework\v3.5\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /rootnamespace:WindowsApplication1 /doc:obj\Debug\WindowsApplication1.xml /define:&quot;CONFIG=\&quot;Debug\&quot;,DEBUG=-1,TRACE=-1,_MyType=\&quot;WindowsForms\&quot;,PLATFORM=\&quot;AnyCPU\&quot;&quot; /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /main:WindowsApplication1.My.MyApplication /debug+ /debug:full /filealign:512 /out:obj\Debug\WindowsApplication1.exe /resource:obj\Debug\WindowsApplication1.Resources.resources /target:winexe Form1.vb Form1.Designer.vb &quot;My Project\AssemblyInfo.vb&quot; &quot;My Project\Application.Designer.vb&quot; &quot;My Project\Resources.Designer.vb&quot; &quot;My Project\Settings.Designer.vb&quot;<br/> vbc : error BC31019: Unable to write to output file 'C:\AppPath\WindowsApplication1\obj\Debug\WindowsApplication1.exe': Access is denied. <br/> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br/> <br/> In addition whenever I click on any help it tells me that I do not have document explorer installed, but it is.<br/> <br/> <br/> So I restarted my computer in safemode and ran visual studio 2008 and it ran like a charm everything worked beautifully.  So now I guess my question is what could be causing this problem in normal windows and how can I fix it?<br/> <br/> Running on Vista home premium if that makes a difference at all.<br/>Tue, 02 Jun 2009 03:54:22 Z2009-06-02T03:54:22Zhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/60c70216-f9f7-4e19-8b66-f2337205b268#ef6cba54-1ff4-48d2-a85b-434c16d01650http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/60c70216-f9f7-4e19-8b66-f2337205b268#ef6cba54-1ff4-48d2-a85b-434c16d01650Andy Ayers - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20Ayers%20-%20MSFTerror BC31019: Unable to write to output fileI can't help you with this. You are better off asking in a forum like <a href="http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads">http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads</a>.<hr class="sig">Architect - Microsoft Phoenix ProjectWed, 03 Jun 2009 16:48:22 Z2009-06-03T16:48:22Z