Response.Redirect not working after printing CR

Using Visual Studio 2010 sp1 with Crystal for VS 2010. Web app running as a web application in x86 mode  using .NET 4.0 framework.
I recently created a CR with a sub-report and it previews and prints just fine.  However, after I PRINT the report, my code behind in the ASPX file is not recognized and thus fails. 
For example, I created a 'Back' button to redirect the CR aspx back to the calling aspx file and it works just fine if I only view the report.  If I click on the printer icon located on the report viewer toolbar, the button stops working.  In fact, none of the code behind syntax is recognized and the aspx file just does a page_load. 
I know this code works because it does work if I DON"T print the report:
    protected void btnBack_Click(object sender, EventArgs e)
        Response.Redirect("~/NewCase.aspx");
I also have a 'Submit' button that changes the data parameters for the report and it works great but after I print the report, it will not work either.   (I've tried to upgrade to sp2 but I get an error with the installation process... so still trying to figure that out.)
    protected void btnSubmit_Click(object sender, EventArgs e)
        CrystalReportViewer1.RefreshReport();
To summarize,  All the code I listed works fine if I do not try to print the report and just view it.  After I click the printer icon, the code stops being recognized and the aspx page just refreshes. 
I've searched for help on the web for a couple of days to no avail; so I am thinking it must be some issue with the report viewer. 
Any help would be greatly appreciated.
Paul

Not a problem. Something like what is described in the following should help (from the easiest to the more complicated):
[1411677 - Blank first page in Visual Studio .NET application using the Crystal Reports DHTML viewer|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313331333633373337%7D.do]
[1625033 - Page navigation button does not work as required using Crystal Report .NET web application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633323335333033333333%7D.do]
[1670041 - How to persist Crystal Reports using Cache in a custom .NET web application?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633373330333033343331%7D.do]
- Ludek

Similar Messages

  • Response.Redirect not working with parameters

    Response.Redirect("http://myurl/php/test.php?username=" + LoginHelper.userName + "&password=" + LoginHelper.password);
    Hi All,
    I am trying to redirect the user to different website with username and password. I am using the code above and passing user name and password as parameters.
    This works fine on IE when i run the code on my local machine.
    But when I push the code live this does not work, and user is not able to login.
    It is working fine on other browsers.
    Can someone please help, i am trying to wrap my head around this.
    Any help would be much appreciated. Thanks in advance.

    Hi SA260884,
    Do you use Response.Redirect function in a asp web application? If yes, please check this sample:
    https://support.microsoft.com/en-us/kb/307903?wa=wsignin1.0
    If not, please make a sample html for reproducing this issue.
    Best regards,
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Response.redirect not working on IE when it is live but works fine on local.

     Response.Redirect("http://myurl/php/test.php?username="
    + LoginHelper.userName
    + "&password="
    + LoginHelper.password);
    Hi All,
    I am trying to redirect the user to different website with username and password. I am using the code above and passing user name and password as parameters.
    This works fine on IE when i run the code on my local machine.
    But when I push the code live this does not work, and user is not able to login.
    It is working fine for other browsers.
    Can someone please help, i am trying to wrap my head around this.
    Any help would be much appreciated. Thanks in advance.

    This is a problem specific to ASP.NET 4.0.  I would either recommend upgrading to .NET 4.5 if possible, otherwise I believe you might have to create a custom browser definition. There is a bug in .Net 4.0 for browser detection.

  • 7912 and CCM 4.2. Response redirect not working. 7912 Bug

    I'm using response.redirect. All of a sudden we do receive support cases from customers using CCM 4.1.3SR2 and 4.2.
    It turns out that when using response.redirect (ASP) it does work anymore. 7940,60 still works. You have to press a button twice to be redirected. Can someone please help me with this.

    Do you have the same phone load as your customer? I'd tend more towards a load problem. What I found when using redirects is that phone loads play a role. For instance I had a redirect to a directory that has a default document defined. So I sent a redirect to
    http://myserver/mydirectory
    It worked on the 7960/40 but not on the 7970 and IPC. If however I changed the url to
    http://myserver/mydirectory/
    then it worked.
    I don't have any 7912s so I don't know how they react, and I'm not using my 7905 for a lot of testing.

  • Cisco ISE guest portal redirect not working after successful authentiation and URL redirect.

    Hi to all,
    I am having difficulties with an ISE deployment which I am scratching my head over and can't fathom out why this isn't working.
    I have an ISE 3315 doing a captive webportal for my guest users who are on an SSID.  The users are successfully redirected by the WLC to the following URL:https://x.x.x.x:8443/guestportal/Login.action?portalname=XXX_Guest_Portal
    Now when the user passes through the user authentication splash screen they get redirected to https://x.x.x.x:8443/guestportal/guest/redir.html and recieve the following error:
    Error: Resource not found.
    Resource: /guestportal/
    Does anyone have any ideas why the portal is doing this?
    Thanks
    Paul

    Hello,
    As you are not able to  get the guest portal, then you need to assure the following things:-
    1) Ensure that the  two  Cisco av-pairs that are configured on the  authorization profile should  exactly match the example below. (Note: Do  not replace the "IP" with the  actual Cisco ISE IP address.)
    –url-redirect=https://ip:8443/guestportal/gateway?...lue&action=cpp
    –url-redirect-acl=ACL-WEBAUTH-REDIRECT (ensure that this ACL is also  defined on the access switch)
    2) Ensure that the URL redirection portion of the ACL have been  applied  to the session by entering the show epm session ip   command on the switch. (Where the session IP is the IP address  that is  passed to the client machine by the DHCP server.)
    Admission feature : DOT1X
    AAA Policies : #ACSACL#-IP-Limitedaccess-4cb2976e
    URL Redirect ACL : ACL-WEBAUTH-REDIRECT
    URL Redirect :
    https://node250.cisco.com:8443/guestportal/gateway?sessionId=0A000A72
    0000A45A2444BFC2&action=cpp
    3) Ensure that the preposture assessment DACL that is enforced from  the  Cisco ISE authorization profile contains the following command  lines:
    remark Allow DHCP
    permit udp any eq bootpc any eq bootps
    remark Allow DNS
    permit udp any any eq domain
    remark ping
    permit icmp any any
    permit tcp any host 80.0.80.2 eq 443 --> This is for URL redirect
    permit tcp any host 80.0.80.2 eq www --> Provides access to internet
    permit tcp any host 80.0.80.2 eq 8443 --> This is for guest portal
    port
    permit tcp any host 80.0.80.2 eq 8905 --> This is for posture
    communication between NAC agent and ISE (Swiss ports)
    permit udp any host 80.0.80.2 eq 8905 --> This is for posture
    communication between NAC agent and ISE (Swiss ports)
    permit udp any host 80.0.80.2 eq 8906 --> This is for posture
    communication between NAC agent and ISE (Swiss ports)
    deny ip any any
    Note:- Ensure that the above URL Redirect has the proper Cisco ISE FQDN.
    4) Ensure that the ACL with the name "ACL-WEBAUTH_REDIRECT" exists on  the switch as follows:
    ip access-list extended ACL-WEBAUTH-REDIRECT
    deny ip any host 80.0.80.2
    permit ip any any
    5) Ensure that the http and https servers are running on the switch:
    ip http server
    ip http secure-server
    6) Ensure that, if the client machine employs any kind of personal  firewall, it is disabled.
    7) Ensure that the client machine browser is not configured to use any  proxies.
    8) Verify connectivity between the client machine and the Cisco ISE IP  address.
    9) If Cisco ISE is deployed in a distributed environment, make sure  that  the client machines are aware of the Policy Service ISE node FQDN.
    10) Ensure that the Cisco ISE FQDN is resolved and reachable from the  client machine.
    11) Or you need to do re-image again.

  • Response.Redirect not working in UpdatePanel

    When calling a AsyncPostBackTrigger within an UpdatePanel I get the following error in Google Chrome console window:
    Uncaught object ScriptResource.axd?d=YzEIJp7ym3ilJ-pArSjfZp5Fi4GhIdhZV-apQqYKJ9RoVqd3XZNre-FurXQ0crvFJTbHR_zBdWPLTG…:5
    Error.create ScriptResource.axd?d=YzEIJp7ym3ilJ-pArSjfZp5Fi4GhIdhZV-apQqYKJ9RoVqd3XZNre-FurXQ0crvFJTbHR_zBdWPLTG…:5
    Sys.WebForms.PageRequestManager._createPageRequestManagerParserError ScriptResource.axd?d=9tlN-lT3vnCZho9SnrriA72YbUKTo0FKsj2ZcC8Z_vczKR3tzEormmzRL4gbedwhxslHQci9lwVTXF…:5
    Sys.WebForms.PageRequestManager._parseDelta ScriptResource.axd?d=9tlN-lT3vnCZho9SnrriA72YbUKTo0FKsj2ZcC8Z_vczKR3tzEormmzRL4gbedwhxslHQci9lwVTXF…:5
    Sys.WebForms.PageRequestManager._onFormSubmitCompleted ScriptResource.axd?d=9tlN-lT3vnCZho9SnrriA72YbUKTo0FKsj2ZcC8Z_vczKR3tzEormmzRL4gbedwhxslHQci9lwVTXF…:5
    (anonymous function) ScriptResource.axd?d=YzEIJp7ym3ilJ-pArSjfZp5Fi4GhIdhZV-apQqYKJ9RoVqd3XZNre-FurXQ0crvFJTbHR_zBdWPLTG…:5
    (anonymous function) ScriptResource.axd?d=YzEIJp7ym3ilJ-pArSjfZp5Fi4GhIdhZV-apQqYKJ9RoVqd3XZNre-FurXQ0crvFJTbHR_zBdWPLTG…:5
    Sys.Net.WebRequest.completed ScriptResource.axd?d=YzEIJp7ym3ilJ-pArSjfZp5Fi4GhIdhZV-apQqYKJ9RoVqd3XZNre-FurXQ0crvFJTbHR_zBdWPLTG…:5
    _onReadyStateChange
    Please Help!
    Edit: Also I have a HttpModule which routes SEO friendly URL's to aspx files, without the routing the error doesn't appear.
    public void Init(HttpApplication application)
    this.application = application;
    RegisterRoutes();
    private static void RegisterRoutes()
    if (RouteTable.Routes.Count > 0)
    return;
    RouteTable.Routes.Add(new Route("{resource}.axd", new StopRoutingHandler()));
    RouteTable.Routes.Add("Testing1",
    new Route("Testing1/{CID}/{FriendlyName}",
    new RedirectTest.Routing.TestRouteHandler("~/Default.aspx")));
    RouteTable.Routes.Add("Testing2",
    new Route("Testing2/{CID}/{FriendlyName}",
    new RedirectTest.Routing.TestRouteHandler("~/Default2.aspx")));

    Well, he was wrong. Read the posts at the top of the forum:
    http://social.msdn.microsoft.com/Forums/en-US/df14dc5f-982b-4676-b767-6123c8a90495/where-is-the-correct-place-to-make-posts-regarding-aspnet-sql-or-another-topic-that-is-not-related?forum=csharpgeneral

  • I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for

    I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for the HP driver when i boot up. It also will not save in any print or postscript format. Does anyone know how to fix?
    Currently use a Mac with the latest Mavericks 10.9.4

        Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
    What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
    It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • HP Photosmart C6300 printer/scanner not working after Snow Leopard install

    HP Photosmart C6300 printer/scanner not working after Snow Leopard install
    Reinstalling etc does not work - does anyone else have the same problem or a clue as to how to fix this?

    Keith,
    I got a C6280 and the scanner does not work anymore. I am for 6 days in contact with HP. The last printer driver install form the apple web site does not open the image of HewlettPackardPrinterDrivers.dmg because of an invalid checksum. The skipping of the validation gives and error in the install.

  • My printers are not working after mavericks install. What can I do to fix - PLEASE HELP! It is my lifeline - we are a print shop!

    My printers are not working after mavericks install.
    The printer just PAUSE and can't be resumed.
    What can I do to fix - PLEASE HELP!
    It is my lifeline - we are a print shop!

    Go to the printer manufacture website and download the drivers for your printer model for OS X v10.9 Mavericks.
    Then open System Preferences > Printers & Scanners > Print
    Select your printer on the left then click -  (minus)
    Then click + (plus) to add the printer.

  • Print size in Photoshop CC does not work after updating

    Print size in Photoshop CC does not work after updating, it was working fine before but now when I click to go to print size either from the menu of right chicking when the hand tool is selected, the image just zooms right out until it is a tiny little box in the centre of the screen, no good what so ever, as I say it was working fine before the update.
    I am using window 7 with 8 gb of ram and an I7 with a 1GB graphics card.
    Can anyone help please?
    thanks
    Fujibill

    Check the Image>Image Size and see what the print size is supposed to to be for the open document.
    Also, resetting the photoshop cc preferences might fix it.
    http://forums.adobe.com/thread/375776?tstart=0

  • Photoshop CS5 - colour settings in Print menu not working after update Mac OSX maverick

    After upgrading to Maverick OSX on the iMac printing from CS5 via Epson R3880 is not working correctly. In Print Settings menu the drop downs for Colour and Colour Settings are greyed out. I already re-installed PS and installed the new drivers from epson. Any ideas?

    but after choosing PS manages color, the options in the print menu for choosing color (color or b&W) and color settings are not available anymore. They used to be the last three years I printed with photoshop/epson 3880.
    Instead they are greyed out now.
    attached screenshot:
    Op 30 mei 2014, om 01:47 heeft Chris Cox <[email protected]> het volgende geschreven:
    Photoshop CS5 - colour settings in Print menu not working after update Mac OSX maverick
    created by Chris Cox in Photoshop General Discussion - View the full discussion
    If Photoshop managed color, then the controls in the printer driver are supposed to be grayed out - that's how Apple specifies drivers to work (because only one party should be managing the print color).
    So what you're describing is perfectly normal.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6420209#6420209
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • My wi-fi on my iPhone 4S is not working after updating to ios7 and is a few weeks out of warranty, the Apple store wants me to pay £160 for a new one, are they joking?!

    My wi-fi on my iPhone 4S is not working after updating to ios7 which was working perfectly fine before. It is a few weeks out of warranty now and the Apple store wants me to pay £160 for a new one, are they joking?!

    Hi there Juicy Guava,
    You may find the troubleshooting steps in the article below helpful.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    -Griff W. 

  • Touch ID not working after IOS 7.1 update

    Touch ID will not work after the recent update, rebooted iphone to no avail. I then deleted all finger prints, but iphone will not recognise new fingerprints ..... Annoyed is not the word ! Any ideas ?

    I'm like, Touch ID almost dead, we're going apple fixex this.
    Seems it only is affecting the white model

  • My laser jet 100 color MFP M175nw is not working after windows 8.1 upgrade,

    my laser jet 100 color MFP M175nw is not working after windows 8.1 upgrade, driver on your website fails to setup at 83 % with an error message

    Welcome to the HP Forums  MillaMagia,
    I see by your post that the USB isn't being recognized.
    I can help you with this issue.
    Are you using the same USB cable? (known good USB cable)
    You want to use the normal USB slot 2.0 cable and not the latest USB 3.0.
    USB 3.0 are supposed to be backwards compatible.
    Try another USB port on the Laptop, some of the USB ports are more powered then others.
    I have provided a document to see if the printer is partially recognized in the device manager, which is causing the printer not to be recognized again. (the uninstall from the CD should have removed the entry and the printer from the registry)
    Leave the printer turned on and the USB cable connected directly to the computer and the printer's power cord directly into a wall outlet.
    How do I get into Windows Device Manager?
    Here is a document for Identifying problems in Windows Device Manager.
    Check to see if there are any hardware driver conflicts, you might see a ! mark or a red x beside a device with a conflict or unknown device, look under universal serial bus controllers, look for USB printing support or mass storage device, delete the entry by right clicking and select uninstall, OK.
    Let me know how it was listed. (screen shots welcome)
    If this is a Laptop then check the power management settings.
    Access the device manager. Windows 8-How do I access the Device Manager.
    Select universal serial bus controllers from the list, for each USB root hub, right click and left click on properties, for power management remove the check mark for "Allow the computer to turn off this device to save power". It allows the computer to limit or turn off power for this device.
    Disconnect the USB, run the full uninstall and reinstall the printer software again.
    If you need further assistance, let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Windows 7 (Ent) Sp1 on server 2012 R2 HyperV, RFX USB redirection not working

    Hello, 
    I currently have  windows server 2012 R2 with HyperV installed. I have built two virtual machines. A windows 8.1 and Windows 7 sp1. Both are enterprise editions  
    For RemoteFX the hypervisor is using a Zotec GTX 760 GPU. It recognizes it and uses it to apply remoteFX adapter on my Windows 7 Sp1 VM. 
    As you are aware I do not need to use a GPU to enable RFX on my Windows 8.1 it can do this without the need of a GPU.    
    Using an RDP client( v8.1)  I can connect to my Windows 8.1 VM with a USB headset,memory Key or a printer and they all enumerate on the Virtual machine. The driver for each device installs 
    and I can use the device without any issues. 
    However this issue lies with the Windows 7 SP1 VM. I can connect to it via RDP( Same client)  but I cannot redirect any devices to it. I have installed the latest integration services available on the VM. I have ran all updates available.
    Because I have ran all updates the rdp version on the VM is running v8.1.
    Previous to installing the updates USBr still was not working
    I have enabled the following group polices under remote desktop services on the Windows 7 SP1 VM : 
    RDP 8.0 -- Enabled
    Configure RFX -- Enabled
    Is there a known issue with USB redirection not working on a Windows 7sp1 virtual machine hosted on server 2012 Hypervisor ??
    Many Thanks 
    Brian 

    Hi,
    According to the log above, I found that we run the script on both Server6 and Server7. Errors as below:
    Server6: Conversion is not supported in restricted language mode or a Data section.
    Server7: Couldn't figure out valid servers from the specified destination scope. Check your parameters and try again.
    Since we can only run the RollAlternateserviceAccountPassword.ps1 Script on CAS server, the script not works well if Server6 is MBX server.
    For Server7, based on the error message, it seems you still have no right to run the script/cmdlet.
    Please add your account to Organization Management Role group(ADUC->domain.com->Microsoft Exchange Security Groups) to test if possible.
    By the way, from Technet:
    You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Client Access Security" entry in the Client Access Permissions topic.
    Client Access Permissions
    http://technet.microsoft.com/en-us/library/dd638131.aspx
    Feel free to contact me if there is any problem.
    Thanks
    Mavis
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

Maybe you are looking for

  • Question about clearing the main drive

    Not quite sure if this is even possible (I'm not the greatest with computers) but I'm interested in just cleaning up my hard drive. I've had the computer for a year and just want to get rid of some of the programs I'm not using in order to improve th

  • Can't connect to internet or mms. Please please help!!

    I had my phone on wifi and then I turned wifi off and suddenly my internet and mms stopped working. I have simple mobile and I called them up and changed the APN settings 6 times and it never worked. I tried downloading the settings and when I click

  • I can't format a usb, it says it has no write permissions.

    When I open disk utilities the erase button is in grey and can't be clicked... I've tried using terminal and disk utilities, I also triede in a pc but it still says that the problem is I don't have write permission. How can I erase everything for goo

  • Okay - this is just goofy...

    I've been working on my book and was putting in a section on breaking an image into strips and I came up with this and just had to show it: GOOFINESS. Should I include anything about this? I can't imagine what one would do with it. It's pretty easy t

  • Popup business card link in top contributors doesn't work in Chrome browser

    Hello, it's probably the lowest of low priorities, but I've noticed that the popup which shows a user's business card when you drill down in the top contributors list doesn't seem to work in Google Chrome browser. Works nicely in IE. Just something t