Re: Failed Complie due to locked DLL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Bankhead (JohnBankhead_at_discussions.microsoft.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 09:45:07 -0800

I am indeed testing from IE, not VS. I restarted IIS both before and just
now, to no avail.

"Curt_C [MVP]" wrote:

> when you test are you testing from within VS or directly with IE?
> If it's the first you should be fine, if it's the second then most likely
> IIS is holding it. recycle the site in IIS.
>
> --
> Curt Christianson
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "John Bankhead" <JohnBankhead@discussions.microsoft.com> wrote in message
> news:3873CF7D-9323-4761-9F2E-682995900C9D@microsoft.com...
> >I have a relatively small project. The solution contains 5 aspx's and 4
> > custom controls. The pages are vb and the controls are in C#. Over the
> > last
> > week or so I have been refining the business logic in one of the controls.
> > No major structural changes, just things like changing operators (+-*/)
> > and
> > which variable is used where in the equation.
> > Yesterday, I made a change in a control to the javascript that is being
> > emitted to the page via the RegisterClientScriptBlock() function.
> >
> > Now when I try to compile I get: "Could not write to output file
> > 'C:\Inetpub\wwwroot\DST3\DSTControls\obj\Debug\DSTControls.dll' -- 'The
> > process cannot access the file because it is being used by another
> > process. '"
> >
> > The only way to compile is to exit .NET, delete the dll, then restart and
> > compile. If I need to make another change then repeat. Can anyone tell
> > me
> > what caused this to happen, and what can be done about it?
> >
> >
> > --
> > Thanks,
> > John Bankhead
>
>
>



Relevant Pages

  • Re: Sorting and paging
    ... >>> I have set up numerous datagrid controls and had a recurring problem ... >>> the sorting and paging features. ... Are you using Cassini as the Web ... >> server, or IIS? ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: creating directories
    ... Does IIS keep meta infomation on files (ie how ... but does not reduce the security on Windows Server ... >> new virtual roots, as you may leave a hacker back door. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Visual Studio .Net 2003 Project running in IIS with ASP.NET 2.0
    ... control ids based on how they are contained in naming containers etc. ... when run under ASP 2.0 in IIS, bugs occur in the JavaScript because ... -- bruce ... However, if I run IIS with ASP.NET 2.0, controls within repeaters ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Visual Studio .Net 2003 Project running in IIS with ASP.NET 2.0
    ... I am referring to the controls as I have entered them in my VB code, ... when run under ASP 2.0 in IIS, bugs occur in the JavaScript because ... source code when ASP.NET 1.1 is used, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS serves empty page
    ... >>I'm not sure what JavaScript problem you're referring to. ... >>can remove the alert statement, that was just a little debugging on my part ... > are client-side codes so IIS doesn't really process it anyway. ...
    (microsoft.public.inetserver.iis)