If you haven’t read the article “CodeSnip: Opening Crystal Reports in a New Window in ASP.NET” (http://aspalliance.com/525), do that before you read this. I received this comment recently:
When I tried this, it was blocked by Windows XP SP2. When I said to temporary allow blocked items, it stated it had to refresh, and then nothing happen. I got the original page back, not the new page containing the report.
My first suggestion is to make sure there are no other pop-up blockers installed and running. Many antivirus programs install pop-up blockers (sometimes called “ad blockers”), and every search engine toolbar I know of also includes a pop-up blocker. I use this codesnip in an application I wrote and support; on one support call, we found four pop-up blockers installed (XP SP2, McAfee, Google and Yahoo toolbars).
I also suggest permanently allowing pop-ups from the site you’re working on–add your site to the “allowed sites” list (Tools >> Popup Blocker>> Popup Blocker Settings, then enter the URL of your site). This will always allow pop-ups from the site in question, and will make debugging easier.
If you are exporting to PDF, XLS, etc. in this window, there are a couple of other settings you may need to adjust. Go to Tools >> Internet Options >>Security, and choose the zone your website is in (Internet or Local Intranet), and click “Custom Level”. Scroll down about 1/3 of the way, to the Downloads section, and Enable both “Automatic prompting for file downloads” and “File download”. In my case, I’ve had to adjust these settings for both zones, since I develop and test in Local Intranet, but deploy to Internet.
I have yet to have a problem after doing all of these things. You may need to close and restart IE to get all the settings to take effect.