Tuesday, February 22, 2022

microsoft visual studio cannot shut down because a modal dialog is active

microsoft visual studio cannot shut down because a modal dialog is active

if i get this message one more time I am going to put my fist through my monitor

Reply:
We are trying hard to get this to reliably reproduce. We think it is the dialog box that tells you that the data set needs to be released. Have you seen any patterns?

------------------------------------
Reply:
I'm also having this annoying nag :(

Didn't find any pattern but i think it my have something to do with source safe when it works with reporting services...

------------------------------------
Reply:

I get this a lot, we dont have sourcesafe..... Its a 3 button fix so far but would really appreciate a fix.

I get it everytime i try to debug a report using more than 1 param and the report has more than 1 dataset (2 used for Parameters)


------------------------------------
Reply:
Hi.

I'm also working on report with more then one dataset and a few parameters.

What do you mean by "3 button fix"?
I'm just saving my work, check it in  in vss and close the ssrs with ctrl+alt+del...

Ooo, did you mean ctrl+alt+del as the "
3 button fix" ?
:)

------------------------------------
Reply:

:-) Yup!! 3 button being CTRL+ALT+DEL!!

I too am very close to losing a monitor out of the window!


------------------------------------
Reply:

For those of you reproing this issue, PLZ provide some info:

Build of RS Report Designer -- Shiloh, Yukon, Service Pack

OS -- Win2k, Win2k3, or XP

Report structure -- # and datatype of params, # of datasets, # and type of report items

Thanks!

 


------------------------------------
Reply:
Hello Mike,
I don't know if I have all the fetails but here it goes:
I'm developing useing:
visual studio 2005 (8.0.50727.42) and FW 2.0.50727
Microsoft sql server reporting services designers ver 9.00.1399.00
OS: windows XP professional, service pack 2
I'm useing a few parameters of type string and about 4-6 datasets.
Noting special about the report. just a table and textboxes.
I'm working with oracle database.

Hope that helps,
Roy.


------------------------------------
Reply:

Thanks for the info.

So far all of the rep[ros I've seen have a common element which is Windows XP operating system. Does anyone have repro on some other OS?

Sorry for more questions than answers, but we're stumped on how to cause this to happen in our lab so we can debug it.


------------------------------------
Reply:

I am also getting this error on occassion.

I am developing a report  with several subreports that use a string parameter  (@parameter | Fields!fieldname).

MS VS 2005 8.0.50727.42 (RTM.050727-4200)

MS .NET FRAMEWORK 2.0.50727

MS Windows XP Professional Version 2003 SP2

MS SQL Server Developer Edition 9.00.1399.06

 


------------------------------------
Reply:

I have received the error on both XP SP2 and the 6.0 release of Vista from MSDN.

I received it after running a report that runs two sub-reports with multiple parameters. I exported the report to Excel and then was unable to minimize the window. I realized then that it had occurred, so I saved my reports closed the solution and then received the message after trying to close the app.

It's hard to tell exactly when the problem occurs because you don't receive the error until you try to close the program (or when you notice a side-effect like it won't allow you to minimize the app anymore - at least in Vista).

 

 


------------------------------------
Reply:

I get it all the time too (less often now though), and had to CTRL-ALT-DELETE and kill the devenv.exe

Microsoft Windows XP Pro SP2

Microsoft SQL Server 2005 SP1 (on the servers, not locally)

MS Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200)

MS .NET Framework Version 2.0.50727

Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00

Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00

Microsoft SQL Server Analysis Services Designer
Version 9.00.2047.00


------------------------------------
Reply:

I've been getting it often enough to find this thread.

Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00
XP SP2
No sourcesafe

I've gotten it on pretty simple reports, with just one dataset and a few string parameters. I just got it on a slightly more complex report with two datasets sharing a single string parameter. I also have windows (properties, output, etc) that refuse to autohide sometimes. I have to get rid of them by pinning and unpinning them. It may or may not be related, but this is certainly a tough bug to reproduce.

I have a feeling, likely incorrect, that it has something to do with switching to preview and then back to the layout without entering the parameter and viewing the preview.


------------------------------------
Reply:

I have this error on an almost daily basis.  I also encounter the problem with windows autohiding correctly.  Most of my reports have multiple parms and not all string based.

Running Visual Studio 2005 Version 8.0.50727.42

Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00

XP SP2

No sourcesafe


------------------------------------
Reply:
It just happened on me twice today
5 datasets, 7 parameter report

One quick way to notice is when the keyboards stop working
CTRL+C, V, S just won't work (have to use to cut and paste, etc..)
Then I have to "close project", kill devenv.exe, then re-start the VS2005


Oh, I hate the often-not-working auto-hide (pin/unpin)

------------------------------------
Reply:
I have tried like mad to reproduce this as well. However, it definetly has something to do with deploying and/or building a report while it is open in the Visual Studio editor. I have recently changed my deployment method to include closing all open reports before deploying and the problem has completely gone away!

Thanks,
Greg Van Mullem

------------------------------------
Reply:
I got this error today - using Windows 2000. I was designing very simple (lookup) reports - 1 table, 1 parameter. Doing a lot of copying and pasting, then it froze up and I couldn't shut down without using task manager. No XML files being edited or anything fancy - just very basic simple reports,

------------------------------------
Reply:
Hello.
You ask for more info

From event log
Event ID 1000
Faulting application devenv.exe, version 8.0.50727.42,
stamp 4333e699,
faulting module ole32.dll,
version 5.1.2600.2726,
stamp 42e5be93, debug? 0,
fault address 0x00092dd8.

Event ID 1001
Bucket 235552456, bucket table 1,
faulting application devenv.exe,
version 8.0.50727.42,
stamp 4333e699,
faulting module ole32.dll,
version 5.1.2600.2726,
stamp 42e5be93, debug? 0,
fault address 0x00092dd8.


I have XP pro sp2 with
Microsoft Visual Studio 2005
Version 8.0.50727.42  (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005   77626-009-0000007-41620
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77626-009-0000007-41620
Microsoft Visual C# 2005

Microsoft Visual C++ 2005   77626-009-0000007-41620
Microsoft Visual C++ 2005

Microsoft Visual Web Developer 2005   77626-009-0000007-41620
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005   77626-009-0000007-41620
Microsoft Web Application Projects 2005
Version 8.0.60504.00

Crystal Reports    AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB925674)  
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU. \n
If you later install a more recent service pack, this Security Update will be uninstalled automatically. \n
For more information, visit http://support.microsoft.com/kb/925674

SQL Server Analysis Services  
Microsoft SQL Server Analysis Services Designer
Version 9.00.2047.00

SQL Server Integration Services  
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00

Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB915364)  
This Update is for Microsoft Visual Studio 2005 Professional Edition - ENU. \n
If you later install a more recent service pack, this Update will be uninstalled automatically. \n
For more information, visit http://support.microsoft.com/kb/915364

Microsoft Visual Basic .NET   69461-270-0000007-18884
Microsoft Visual Studio .NET 2003 Service Pack 1 (KB918007)  


If you have any news about the problem please responce to jadrikop@hotmail.com

------------------------------------
Reply:

It appears to be related to the auto-hide functionality of the Solution Explorer, Properties, or one of those windows.

I notice that occasionally my Solution Explorer, while set on auto-hide, gets stuck and doesn't hide. So I end up having to click the pushpin icon, then click it again to get it auto-hiding again.

I just noticed that as soon as I do that, some of the keyboard keys stop working (e.g. Delete, arrow keys, etc) and then if I try to minimize or close Visual Studio I get that modal dialog error.

Any info on that?

-T

 


------------------------------------
Reply:
I get this often too but I notice that it seems like it is when I have many reports open on the tabs on top.

------------------------------------
Reply:
Agree with Greg Van Mullem. As soon as I deploy at least one report with open one in designer or preview mode - it not possible to close VS because of this message...

------------------------------------
Reply:
i was expecting SP1 to fix this, but alas, it didn't.

------------------------------------
Reply:

I agree with Tobias that there's a relation between this message and the auto-hide feature stopping.  Actually, this happens all the time with me.  That's the signal for me to make sure I save my reports often, especially before trying to deploy them. 

I then have one of two scenarios happen all the time.  Either VS 2005 crashes or, if I'm trying to exit VS, I get this "modal dialog is active" error message.

I find the comment from another person about closing all reports before deploying anything resulting in the problem disappearing very interesting.  I plan to try that approach.

Jon


------------------------------------
Reply:

Me too... but VS2005SP1 didn't fix it.

I would be very pleased if MS could solve this nasty problem (dear Brian Welcker do something!)
It's not only the waste of time when it happens, it's also the hours in searching msdn/technet for a fix every once a month.

Up to now I'm getting this Error that lets me loose so much time.
- I do NOT deploy reports from VS
- no auto hide anymore, Solution Explorer and Toolbox are ALWAYS open (1680 x 1050 Monitor)
- I've NEVER more than 2 Tabs open (initially thought it'd be a memory leak)
- only happens when I work with Reports!!! some weeks ago I programmed a Winform over 2 days w/o shutting down anything (and also NOT working with Reports in VS) and didn't get this behaviour
- and really: the moment came when I try to move textboxes with the keyboard and this doesn't work anymore

Saludos, Henry

---------------------------------------------------------------------------------------------------

My config:
- on Win XPSP2
- OS and ALL Programs on my machine are english
- SQL Server is NOT installed on this machine
- despite of this I've applied SQL Server 2005 SP1 on this machine!
- I work extensively with Virtual PC 2004 SP1 (where my SQL Server runs inside)

Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005   77626-009-0000007-41690
Microsoft Visual Basic 2005

Microsoft Visual C# 2005   77626-009-0000007-41690
Microsoft Visual C# 2005

Microsoft Visual Web Developer 2005   77626-009-0000007-41690
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005   77626-009-0000007-41690
Microsoft Web Application Projects 2005
Version 8.0.50727.762

Crystal Reports    AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)  
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

SQL Server Analysis Services  
Microsoft SQL Server Analysis Services Designer
Version 9.00.2047.00

SQL Server Integration Services  
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00


------------------------------------
Reply:

Jerry, no source safe (or any source code control add-ins)? And are you using the generic query designer or the graphical one?

On the auto-hide, you are talking about the fields window?


------------------------------------
Reply:

I haven't bumped into this issue for a while now, but then I am not working with THAT many reports as before either, and that I try to save, close report before clicking "deploy" in Solutions Explorer

I have SQL 2005 SP2 installed now as well, gonna see if this error pops up again


------------------------------------
Reply:

not an answer but this is what i do to reduce the issue with just reporting services projects included in a VS solution.

I have had the same issue. I seem to have less trouble if i make sure the report designer is not in preview mode. just preview then move to design or data before making changes to any project files. also pinning down the windows(no autohide).


------------------------------------
Reply:
We have some diagnostic code we are using to track down this issue. If you are seeing this problem and are willing to help us out please ping me.

------------------------------------
Reply:

I just installed SQL 2005 SP1. After migrating SQL 2000 database, clicked on "database diagram", got a pop up "This database does not have one or more of the support objects required to use database diagramming. Do you wish to create them?"

Clicked "yes", but the pop up didn't go away. And now I can't shut down SQL server "cannot shut down because a modal dialog is active" .


------------------------------------
Reply:
Forgot to mention, it's on SMS. No reports.  Only one stored procedure open, but no modification made.

------------------------------------
Reply:
Andrew,

I am currently experiencing this problem quite heavily, and I am willing to help you diagnose the cause of the problem if it gets us closer to a fix!

Please respond to the email I sent you from my GMail account to get in touch with me.

Cheers,
 - Michael

------------------------------------
Reply:
Is this fixed by SQL Server Service Pack 2?

------------------------------------
Reply:
Is this bug fixed by SQL Server Service Pack 2?

------------------------------------
Reply:
No, it is not fixed in SQL 2005 SP2. However, thanks to the participation of many on these message boards, we are very close to releasing a fix. There are still a few hurdles left to clear but we are close.

------------------------------------
Reply:

Any updates on this issue? I and two colleagues also get the message at seemingly random times... but vaguely associated with Reporting Services design and deployment.


------------------------------------
Reply:

 Andrew Harding - MSFT wrote:
... we are very close to releasing a fix ...

Excellent news.  Please keep us posted on progress.  Thanks.


------------------------------------
Reply:

hi all this problem occurs in BIDS 2005 quite frequently . i observed the following pattern for this to occur. if you click on the report  solution explorer and say view source code and then click on designer  then this problem will occur. so best is before openning the designer window, first close the code window and then open the designer window.

 

 


------------------------------------
Reply:
That solution does not work for me. Even when I make sure only one report editing tab is open at all times, I still get the issue occurring.

------------------------------------
Reply:
Just received this message.  Was not using any reporting, VSS, nor SQL.  C# project with 2 code, one form design, and a project property tab open (4 tabs total). All tool sections locked open (Toolbox, Solution Explorer, Properties Window). Was performing a IDE find operation using the following parameters:Quick FindFind what:  m_:i+:b+=:b+Look in:  Current DocumentMatch caseSearch hidden textUse Regular expressionsHit the Find Next (from within the Find and Replace dialog) button a couple of times.  Then escaped out of the "Find and Replace" dialog box. Then started hitting F3 (multiple times, waiting for the find operation to complete before hitting the next F3). Sometimes, I'd manually replace the found text.  Other times, I'd simply F3 without manually replacing the text (By manually replacing the text, I mean that I would manually type text directly over the found, and selected text within the IDE window. I was not using the replace option of the Find and Replace dialog).The code document I was searching through contained 1814 lines of code, including numerous #region /

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...