Solved

Error trying to close asp page with report viewer

Posted on 2013-12-17
2
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
This video teaches users how to migrate an existing Wordpress website to a new domain.
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.

690 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