VS 2003 - VSWebCache - DotNetNuke.dll Lock

Last post 07-04-2005 10:15 PM by AllegrettoA. 2 replies.

Sort Posts:

  • VS 2003 - VSWebCache - DotNetNuke.dll Lock

    07-04-2005, 6:01 PM
    • Member
      82 point Member
    • sebastijanp
    • Member since 10-02-2003, 6:55 PM
    • Posts 19
    Hi!

    I have the following problem: When I open the DotNetNuke.sln and click Debug, it all works OK. Then I stop debug AND then, when I try to run it again, I get:
    Unable to write to output file 'C:\Documents and Settings\...\VSWebCache\PETRO\DotNetNuke\obj\Debug\DotNetNuke.dll': System Error &H80070020&

    The file DotNetNuke.dll gets locked (not buy aspnet_wp.exe) by Visual Studio, I guess because Modules/Projects like for example "DotNetNuke.Announcements" hold a reference to it. What must I do to avoid closing the VS and open it again. I already tried with "trick" with setting a reference attribute "Copy Local" of DotNetNuke.dll in Announcements-Project to False. It does not really help. What do you do, when you try to run things?

    Thank you for ALLL suggestions that you might have! Might be that I just have to make my own solution file and include the projects that I actually need and may be it will all work normally?

    Lp
    Sebastijan
  • Re: VS 2003 - VSWebCache - DotNetNuke.dll Lock

    07-04-2005, 9:00 PM
    • Member
      130 point Member
    • ThePinkyPig
    • Member since 04-03-2004, 1:56 AM
    • Posts 26
    I had the same problem pop up today. The only way I was unable to unlock the file was a system reboot.
     
    Windows 2003 Enterprise Server.
  • Re: VS 2003 - VSWebCache - DotNetNuke.dll Lock

    07-04-2005, 10:15 PM
    • Member
      225 point Member
    • AllegrettoA
    • Member since 03-01-2005, 6:10 PM
    • Posts 45

    Here is a much more simple way to develop modules.  It avoids the the locking issue and loads your project faster.

    Speerio "My Modules" VS.Net Solution for DotNetNuke:
    http://forums.asp.net/839591/ShowPost.aspx

Page 1 of 1 (3 items)