Answered by:
Need Help - No solution ,need to force IIS to compile the code

Question
-
User1051635487 posted
Hi All,
Right now I am working on a project where I dont have solution. so when I change something the changes are not showing up. My friend told me to delete the dll's and make the changes and then IIS will recompile the site after that the chnages will show up.
But Now I did delete all the dll's and changed the code. dll's are not created. Do i have to do IIS RESET or something?
Please help me.
Thanks,
Krish
Wednesday, January 20, 2010 12:14 PM
Answers
-
User372121194 posted
Hi,
ASP.NET application has feature that can be compiled dynamically and the dll will be save in folder under "%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files". For more information, see http://msdn.microsoft.com/en-us/library/ms366723.aspx
If the modification is not showing on page when you request your ASP.NET application, please make sure your Browser not cache the page with old version. You can try to clear the cache of your browser.
I look forward to receiving your test results.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, January 25, 2010 2:38 AM -
User1051635487 posted
I created the whole project again by adding the files to an empty solution and compiled again to create the new .dll's
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, March 30, 2010 3:36 PM
All replies
-
User-1379894896 posted
When deleting the DLL's......your project is death. Does your body regenerate a new heart when you remove it?
DLL's are "the core", "the heart"of your website.
Checkin' the recyclebin and get them back as quick as possible (or by backup of course you made before you deleted the DLL's).
On one thing your friend was right IIS recompiles and loads a website once a DLL is modified or deleted.
(But not when you delete them all)
Wednesday, January 20, 2010 3:52 PM -
User1051635487 posted
I mean to say I deleted one dll that was there. I did n't remove all the dll's.
So now coming back to my problem how can make the iis compile the code?
I have the back up of the dll's. but I need the latest dll's
Thursday, January 21, 2010 9:21 AM -
User-1379894896 posted
you need the code to build the dlls
Thursday, January 21, 2010 11:10 AM -
User1051635487 posted
Ok. let me be more clear about waht I am asking . I have a project without the solution.
I modified on test.aspx.vb file since I am not getting the latest dll's when I restart my IIS
what is the other way of getting the latest dll that include the change that I have made to test.aspx.vb.
Thursday, January 21, 2010 2:11 PM -
User372121194 posted
Hi,
ASP.NET application has feature that can be compiled dynamically and the dll will be save in folder under "%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files". For more information, see http://msdn.microsoft.com/en-us/library/ms366723.aspx
If the modification is not showing on page when you request your ASP.NET application, please make sure your Browser not cache the page with old version. You can try to clear the cache of your browser.
I look forward to receiving your test results.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, January 25, 2010 2:38 AM -
User1051635487 posted
I did checked under the temporary asp.net folder and when we delete the .dll file from bin it is not creating any files under
bin folder. I tried removing the browser cache as well. it did n't work.
Thanks for the reply.
Monday, January 25, 2010 4:03 PM -
User372121194 posted
Hi,
Thanks for your response.
If we create a simple ASP.NET website and deploy it on IIS with source code, does it generate the folder under "%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files" when this website is requested?
In your case, please make sure we request right website on IIS.
Thanks.
Monday, January 25, 2010 8:51 PM -
User1051635487 posted
None of the above solutions are working for me. Is there any other way?
I am thinking can I try to compile the project from Commandline? Will that work?
How can i do that?
Friday, January 29, 2010 1:45 PM -
User1051635487 posted
I observed one more thing My new dll is less size than my old dll, do you guys think I might be missing some thing?
Any clues?
Friday, January 29, 2010 4:26 PM -
User1051635487 posted
I created the whole project again by adding the files to an empty solution and compiled again to create the new .dll's
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, March 30, 2010 3:36 PM