Solved

Error trying to close asp page with report viewer

Posted on 2013-12-17
2
214 Views
Last Modified: 2013-12-18
I have FINALLY been able to open my remote SSRS reports from an asp page (ReportViewer.aspx)  using the ReportViewer control in VS2010.

But now when I click my Return button on that page, it seems to still be trying to open the report viewer.

The code on the Return button is simply this:

            Server.Transfer("~\UserPages\Lab\EditBlendMakeup.aspx")

Open in new window


And yet when I click the button, I get an error saying it can't find resource the resource - Requested URL:  "/ReportViewer.aspx". Why oh why is it still looking for the reportviewer page when I am clearly trying to leave that page and go to "~\UserPages\Lab\EditBlendMakeup.aspx" (which definitely exits)????

I have put a breakpoint in my Return button code. This error is being thrown even before it hits that code.
0
Comment
Question by:Lisa412
  • 2
2 Comments
 

Accepted Solution

by:
Lisa412 earned 0 total points
ID: 39727389
After much head banging, I tried this :

    Private Sub ReportViewer2_Init(sender As Object, e As System.EventArgs) Handles Me.Init
        Scriptmanager1.EnablePartialRendering = "false"
    End Sub

Open in new window


No idea why, but problem fixed.
0
 

Author Closing Comment

by:Lisa412
ID: 39727391
no experts replied
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now