473,657 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dll missing when debugging ASP.Net WebApp?

Hi,

Everytime I change my code and hit the start debug button on the ASP.Net
WebApp project I often get a very annoying message saying such and such dll
is missing from ASP.Net temporary directory.

This is really strange it seems that there is a problem with Visual
Studio.Net compiler because to fix this I had to stop the webserver,
recompile (VS.Net rebuild), restart IIS and then start debugging.

Anyone has any suggestion about this problem?

--
Victor Hadianto
http://www.synop.com/Products/SauceReader/

Nov 18 '05 #1
8 1369
Hi Victor,

From your description, when you changed some code in your asp.net project
and hit F5 to debug the application, you'll often get message saying some
temp dll is not found ,yes?

As for the problem, I'd like to confirm the following things:
1. Is the problem occurs if you use Ctrl+F5 to run the project rather than
F5 DEBUG?

2. Any other asp.net web project also suffer this problem or just this one?
I suggest you try creating a new empty web project and add a simple asp.net
page (just use Response.Write to output some string) and perform the same
test to see whether the problem occurs.

Also, if you have anyother findings, please feel free to post here. 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.)

Nov 18 '05 #2
Hi Steven thanks for your help.
1. Is the problem occurs if you use Ctrl+F5 to run the project rather than
F5 DEBUG?
It happen in both Ctrl+F5 and F5/Debug. I probably should also said that
this ASP.Net project share some common dll with another Windows Form project
in my solution. Now if I change the Windows Form project as the startup
project when I recompile the Windows Form project it seems to 'break' the
ASP.Net project as well. IE: my colleague who is using my box as the
webserver (sharing the same project but only working on JavaScript) also see
the missing *.dll problems (after I recompile)
2. Any other asp.net web project also suffer this problem or just this
one?

I don't have any other ASP.Net web project so I can't confirm this issue :)
However I will try to create some new one to follow your suggestion and I
will post more finding here.

Update:

I got frustrated so I delete the temporary directory in
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\[My web
project name]

and it seems to fix the problem for a couple of hours before this problem
start reappearing again.
--
Victor Hadianto
http://synop.com/Products/SauceReader/
Nov 18 '05 #3
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.)

Nov 18 '05 #4
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.)

Nov 18 '05 #5
Hi Victor,

Thanks for your followup. Is the Util.dll assembly you mentioned a pure
net assembly? Also, is it strongnamed or not? I think you can try
separate the winform app from the asp.net first, make another copy of the
Util.dll and then reference the Util.dll in asp.net with one and reference
in the winform app with another. And then, build the asp.net project and
run again to see whether the problem still occurs.
In addition, I suggest that we use the filemon tool to have a trace to see
the actual missing assembly info.

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.)
Nov 18 '05 #6
Hi Victor,

Have you got any further progress on this issue or have you resolved it? If
there're anything else we can help, please feel free to post here. 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.)

Nov 18 '05 #7
Hi Steven,

Well we still don't have a resolution yet on this issue, but I found another
workaround which is quicker and acceptable enough for us. This is the
behaviour:

* Hit F5 for debug
* ASP.Net will display the missing dll problem on IE.
* Close IE, automatically go to the VS.Net IDE
* Then "Build" the current project. Just "Build Proejct" not "Build
Solution" that wont work. Don't really know why.
* Hit F5 again and everything works OK.

Note that you can't (100%) do "Build" before encountering the problem first.
I thought about this initially and this simply doesn't work so you have to
ecounter the missing dll problem -> stop -> build current project -> F5.
This seems to be good enough solution for us at the moment.

--
Victor Hadianto
http://synop.com/Products/SauceReader/

"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:cb******** ******@cpmsftng xa10.phx.gbl...
Hi Victor,

Have you got any further progress on this issue or have you resolved it?
If
there're anything else we can help, please feel free to post here. 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.)

Nov 18 '05 #8
Thanks for your followup Victor.

Glad that you've found some better means to work through it.
Still think the problem due to assembly referencing issue. Anyway, if you
meet any further problem later, please feel free to post here. 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.)

Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2480
by: Dennis Wheeler | last post by:
I'm trying to find a commandline solution for switching projects. Currently I have to modify the IIS virtual directory path to the source files, and then open the solution file in .Net to be prompted with the "Web Access Failed" dialog, where I can then modify the path to match my IIS settings. Is there a registry setting or some other method of moving the solution path without having to physically open the solution file in the IDE?
1
1137
by: AVXl | last post by:
Hello All, I have a IIS server with .net framework/and studio, I have few questions for debugging: WebApplications Debugging: How to setup debugging on the server I have my Dev PC through which i am able to create a WebApp pointing to the server, i need to setup Debugging from my DevPC.
2
1671
by: Adam Clauss | last post by:
I have an ASP.NET (C#) web app on a remote server. Whenever I try to debug it, I get: "Error while trying to run project: Unable to start debugging on the web server. Access is denied." I did some research on this, and I do have the user as a member of both Administrators and Debugger Users. (Machines are on a workgroup, so its just a user with the same username/password on the remote machine). Aside from the two groups to put the user...
1
1224
by: Steven Spits | last post by:
Hi group, We have installed our first ASP.NET WebApp on our preproduction server. The site stores some general user information in session variables that are needed in every page. So loosing your session means you'll get an error (for the time being). Session is stored in-process, so whenever the WebApp restarts, session is lost so logged on users will get an error.
0
913
by: yurps | last post by:
Is there any way I can automate having to login to my asp.net webapp every time I debug code...I need to login to get to the page I am debugging because the user session object is created on the login page and the page I want to debug requires that session.... I thought that someone somewhere might have found this a bit annoying and found a nifty way to get around this issue. I have tried recording a macro, but it doesn't capture the...
14
8665
by: | last post by:
I cannot for the life of me get remove debugging to work. I continue to receive "Error while trying to run project: Unable to start debugging on the web server. Access is denied. Verify that you are an administrator or member of the Debugger Users". I have followed (ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vsdebug/html/vxtbsHTTPServer Errors.htm). I have seen...
2
1664
by: joer.banno | last post by:
Hi, In a webapp I'm writing I need to know if another webapp is running (both of which are asp.net), is there a way that you can check for the presence of another webapp? The problem is that my first webapp sends an invite to users to visit another webapp, this second webapp can be published in any kind of url or domain.
6
4887
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ************** Exception Text **************
4
3297
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008 and it states:
0
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.