Hi Nick,
The symptom you described is very similar to one of known issues in VS2005
which was just fixed by product team recently. Therefore unfortunately it's
not included in VS2005 SP1. It will be available in next version of Visual
Studio -- Orcas. We're sorry for the inconvenience.
The issue I'm referring to only exists in developing environment (while
debugging) and works fine in production environment.
I'm afraid for now you will have to clean the tempoary asp.net files and
reset IIS to make it work when the issue occurs. I've written following
batch file to do that automatically:
--------------------
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
WScript.Echo "iisreset will be executed"
Set oExec = WshShell.Exec("iisreset")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
WScript.Echo oExec.Status
WScript.Echo "iisreset ->finished."
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
' you need to modify the folder path
Set f =
fso.GetFolder("C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727\Temporary
ASP.NET Files\WebAppX")
f.delete
Set fso = nothing
WScript.Echo "web folder was deleted."
------------------
Save above content in a file with extension ".vbs" and use "cscript.exe" or
"wscript.exe" execute it when the issue occurs.
Hope this helps.
Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.