Re: dll missing when debugging ASP.Net WebApp?

From: Victor Hadianto (victor_at_synop.com)
Date: 11/02/04


Date: Tue, 2 Nov 2004 16:09:51 +1100

Hi Steven,

Let me explain the situation of my solution so for example we have:

MySolution.sln
  -----> Util.dll
  -----> App.exe (reference Util.dll)
  -----> Web App (reference Util.dll)

So I have a couple of common projects are are reference by both a WinForm
project and Web App project. I simply switch between the two to tbe the
"Startup Project".

And this problem still happen. I found a way to fix this though which is the
following:

* Press F5 to debug the app
* IE will show up and I get the missing DLL problem
* Stop the debug
* Stop IIS
* Rebuild the web application
* Restart IIS
* Press F5 to debug the app
* IE will show up and this time it'll be OK.

This method works 100% for me. Don't know why. Maybe for some reason the
first F5 does not override/build the dll correctly while IIS is still
running.

Is this a known bug?

-- 
Victor Hadianto
http://synop.com/Products/SauceReader/
> Hi Victor,
>
> Thanks for your followup. As you mentioned that the asp.net project is
> sharing some common assemblies with another winform project in the same
> solution. Are the common assembly also a single project in the solution 
> and
> is refernced by project? This info does make much sense. Sometimes such
> multi-reference will cause some strange behaviors.
> Also, I think the problem is likely only againt the particular project. 
> But
> you can still perform some tests on a new clean web project to confirm
> this. Anyway, please let me know if you meet this problem again or have 
> any
> new findings. Thanks.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
> 


Relevant Pages

  • Re: how to copy live paradox tables
    ... from this common table. ... automatically make an entry into a common table which is located in the ... these entries are added or deleted from this common table. ... if a user would somehow quit their Paradox app in an unorthodox ...
    (comp.databases.paradox)
  • Re: Problems with AppData on Vista.
    ... The 2nd user that comes along and attempts to read/write the common data ... security APIs for a loong time. ... pragmatic - I needed my app to deploy and run on 95/98/ME. ... App vista compatible however is turning out to be a PITA. ...
    (microsoft.public.platformsdk.security)
  • Problems with AppData on Vista.
    ... This returns C:\ProgramData on vista. ... The 2nd user that comes along and attempts to read/write the common data ... for a loong time. ... needed my app to deploy and run on 95/98/ME. ...
    (microsoft.public.platformsdk.security)
  • Re: IIS6 on W2k3 DCs
    ... Common best practices for whom? ... But Small Business Server 2003 runs with IIS on our domain controller. ... >guide for W2k3 but have instead pointed to Microsoft's ...
    (Focus-Microsoft)
  • Re: Credit Check on Applications
    ... This is very common outside of trucking. ... I haven't looked at a truck ... company app in almost 10 years so it may be common in trucking as well. ... language on the app whether they actually pull a credit report or not. ...
    (misc.transport.trucking)