Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to force ASP.NET application to recompile?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344803
Message ID:
01344834
Views:
12
>I have a weird thing happening. I sent my customer update for an ASP.NET application. Basically what I send him is .DLL and all .ASPX and .ASCX files. Usually he would UnZip the files into the Site directory and when pointing to the main page of the application it would recompile and work.
>
>This time, no matter what we tried this morning, he is still seeing old version number on the application. I checked (by asking him to email me files) that he does have correct .DLL and correct .ASCX files in the site folder. But the version is still showing as old. I even asked him to Delete the folder MYAPPLICATION in the Temp ASP.NET files folder under .NET Framework. I even asked him to rename the .DLL to something else but the application starts and shows old version.
>
>What I should say is that sometimes in the past we pre-compiled the application (to make it load faster). But I thought that by deleting the folder in the Temporary ASP.NET Files this would be removed.
>
>What else can I try?

You could drop down to a command prompt on the server and type: IISRESET. That would reset the site and force it to unload/reload the site (and remove any cached assemblies).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform