Search

Visual Studio 2008 Hangs in Design view with Atlas UpdateProgress control by Tophog

Closed
as Fixed Help for as Fixed

3
0
Sign in
to vote
Type: Bug
ID: 338668
Opened: 4/17/2008 8:07:16 AM
Access Restriction: Public
2
Workaround(s)
4
User(s) can reproduce this bug
I am using an animated gif in an Atlas progressupdate control within a Atlas UpdatePanel. When I switch from "Source" view to "Design" view the IDE hickups for a few seconds then completely hangs. It does this consistently and I must KILL Visual Studio from Task Manager and restart. If I simply remove the reference to the image inside the <ProgressTemplate> the Design view works fine. If I use the image I am unable to use Design view.


<div id="footercontrols" runat="server" style="clear:left;float:left;">
                <span id="lastUpdated" runat="server">Updated</span><br /><br />
                
                <span style="float: left;clear:left;">
                    <asp:UpdateProgress ID="UpdateProgress1" runat="server"
                    DynamicLayout="False" AssociatedUpdatePanelID="UpdatePanel1"
                        DisplayAfter="1" Visible="True">
                        <ProgressTemplate>
                            <span>
                                <img src="../App_Themes/WRERed/Images/cursor.gif" /> Refreshing... </span>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
            </span>
                
            </div>
Details (expand)
Product Language
English

Version

Visual Studio 2008 (All Products and Editions)
Operating System
Windows XP Professional
Operating System Language
English
Steps to Reproduce
In web project, implement animated gif image in <ProgressTemplate> section of Atlas UpdateProgress control as shown below:

<asp:UpdateProgress ID="UpdateProgress1" runat="server"
                    DynamicLayout="False" AssociatedUpdatePanelID="UpdatePanel1"
                        DisplayAfter="1" Visible="True">
                        <ProgressTemplate>
                            <span>
                                <img src="../App_Themes/WRERed/Images/cursor.gif" />&nbsp;Refreshing... </span>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
Actual Results
Visual Studio 2008 hangs and does not recover. App must be killed thru Task Manager.
Expected Results
Ability to work in *Source* view normally.
TAP Code (if applicable)
 
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

Sign in to post a comment.
Posted by Michel Docter on 11/19/2009 at 3:19 AM
I am having this issue as well, only visual studio does not hang, but becomes almost non responsive.

It keeps trying to load/render the gif. So my controls keep rendering/moving.
Posted by Tophog on 5/2/2008 at 2:48 PM
Will I be notified of the fix? This is a major pain not being able to use Design view!
Posted by Microsoft on 5/2/2008 at 2:30 PM
Hello

Sorry about the confusion. We do get crash reports through Watson. However, sometime information is not complete. That's why we tried steps with update panel and gif and didn't observe hang. In the dump you provided application sits in a redraw loop but it was unclear what caused endless redraw. Thank you for the patience and for the actual project - we can now repro the hang on view switch.

Thanks
Posted by Tophog on 4/30/2008 at 3:05 PM
I am attaching a subset of the asp.net project I am working on where I am experiencing the vsnet2008 hangs everytime I switch from source -> design view. I am certain the problem is now related to using nested master pages, of which my entire portal uses. I have removed a lot of material from the project leaving only a Default.aspx page you can test with ...it hangs on me as well and there is nothing in it except a paragraph of text and reference to master pages. Let me know what you find. Note, the app runs just fine ...but it's impossible to use Design view.
Posted by Tophog on 4/30/2008 at 2:36 PM
There is nothing special about the .gif file. In fact I've tried 5 different .gifs with the same results. However at this point I can vs2008 crashes *everytime* I switch from source view to design view ...even with web pages that do not contain *any* animated .gifs, etc. I guess I am confused. You initially indicated you coudl not reproduce the problem, then you came back and said you could and asked for crash dumps, of which I provided. Now you are saying you can't reproduce the problem. What about the crash dump I supplied.

I have been working in vsnet 2008 for the last week and have submitted at least 15 crash dumps/error reports via the typical crash dialog that states "This program has experienced an errror ...blah blah blah Would you like to report the problem". Don't you guys get any of those?

Presently if I switch to design view on any page, vsnet2008 hangs indefinately. It does not crash unless I kill the process via task manager. Then again if I don't kill it, it just sits there with an hour glass consuming 50% cpu time forever. I have tried reinstalling 2x with no luck. I'm about ready to punt and go back to vsnet 2005.
Posted by Microsoft on 4/30/2008 at 2:19 PM
Hello

Can you please also attach the GIF? We were not able to repro with the markup snippet and random GIF image. Perhaps something is in the image itself?

Thanks
Posted by Tophog on 4/24/2008 at 10:21 PM
My bad, I see the file limit is 200MB and not 200KB :) I attached the dump files I collected. Let me know what you find and if I can be of further assistance.

-Jeff
Posted by Tophog on 4/24/2008 at 10:18 PM
How do I attach a crash dump file that is 23MB in size? It appears this tool only allows 200KB file size.

Also note the procedure you pointed me to for obtaining a crash dump of VSNET 2008 does not work using VS Studio 2008. I followed the directions and was able to attach to the instance of VS.NET2008 that had the solution open that causes the hang, however via the "Debug" menu there is no option to "Save dump file...".

What I did was I ended up killing VSNET2008 which generated the typical crash dump scenario where the dialog is displayed by Windows informing me the application crashed with the option of submitting it to Microsoft, of which I've done 3 times. I also collected all the crash dump files before closing the dialog and have them zipped up in a .zip file which is 23MB.

This problem is very annoying and appears to be getting worse as I routinely get msgs now by vsnet2008 upon running the app again after a crash indicating files were corrected and allowing me to perform a "Recover". I would think this is a very common problem since it seems related to animated gifs in design view? If I remove the .gif file it resolves the problem/crash entirely.

Let me know if you want the crash dump files and how I can get them to you. I can give you my direct email if needed.

-Jeff
MCSD.net
Posted by Microsoft on 4/24/2008 at 2:17 AM
Hi

Thanks for your response. We can see that VS hang but we need crash dump file to analyze.
It may help if you provide us with dump file as described in the following post:
http://blogs.msdn.com/mikhailarkhipov/archive/2007/09/19/how-to-obtain-debug-information-from-a-hung-frozen-application.aspx

Thanks,
Kylin
Posted by Tophog on 4/22/2008 at 7:27 AM
I have also re-installed (repaired) VS.NET2008 thinking the problem was a result of a bad install. However the reinstall did not resolve the issue.
Posted by Microsoft on 4/22/2008 at 12:13 AM
HI

Could you please also provide us the screenshot of the hang, the gif file, as well as the sample page?
And we will re-investigate.

Thanks,
Kylin
Posted by Microsoft on 4/17/2008 at 10:59 PM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided. See attached snapshot_kylin.jpg
It may help if you provide us with dump file as described in the following post:
http://blogs.msdn.com/mikhailarkhipov/archive/2007/09/19/how-to-obtain-debug-information-from-a-hung-frozen-application.aspx

If we do not receive a response from you after 7-days , we will automatically close your issue. There is no obligation to respond -- at any time you may edit your issue via Connect and change the status to “Active.”

Thank you,
Visual Studio Product Team
Sign in to post a workaround.
Posted by Soumitra Mondal on 3/26/2010 at 2:27 PM
To solve the problem in designer follow the steps mentioned below:

1) uninstall Microsoft Visual Studio Web Authoring Component.

2) Reinstall the Microsoft Visual Studio Web Authoring Component from DVD (look into the WCU folder where you can find WebDesignerCore.exe).
Posted by xenonlight on 9/6/2009 at 1:49 AM
Run regedit.exe and look for HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Common\ProductVersion key. If key is missing, add it and set LastProduct value to 12.0.4518.1066. Simplest way is to create a new .reg file in Notepad, paste the following content into it