Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Response.Redirect() is not working in the Remote Environment

Response.Redirect() is not working in the Remote Environment

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestionworkspace
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subin Alex
    wrote on last edited by
    #1

    Hi, I am new to asp.net2.0, i've created a sample project and in the code of the project i am redirecting to another page using the code: Response.Redirect("~/A/Hi.aspx"); Which gives me an exception : "Thread was being aborted:mscorlib" What could be the problem ? Plz help me out.

    N A F 3 Replies Last reply
    0
    • S Subin Alex

      Hi, I am new to asp.net2.0, i've created a sample project and in the code of the project i am redirecting to another page using the code: Response.Redirect("~/A/Hi.aspx"); Which gives me an exception : "Thread was being aborted:mscorlib" What could be the problem ? Plz help me out.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Read this[^]

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • S Subin Alex

        Hi, I am new to asp.net2.0, i've created a sample project and in the code of the project i am redirecting to another page using the code: Response.Redirect("~/A/Hi.aspx"); Which gives me an exception : "Thread was being aborted:mscorlib" What could be the problem ? Plz help me out.

        A Offline
        A Offline
        adatapost
        wrote on last edited by
        #3

        What is inside .aspx file. Please check the content of .aspx.

        A DATAPOST COMPUTER CENTRE (K.V Prajapati)

        1 Reply Last reply
        0
        • S Subin Alex

          Hi, I am new to asp.net2.0, i've created a sample project and in the code of the project i am redirecting to another page using the code: Response.Redirect("~/A/Hi.aspx"); Which gives me an exception : "Thread was being aborted:mscorlib" What could be the problem ? Plz help me out.

          F Offline
          F Offline
          firozu
          wrote on last edited by
          #4

          Just replace

          Subin Alex wrote:

          Response.Redirect("~/A/Hi.aspx");

          with Response.Redirect("~/A/Hi.aspx", false); Hope this works....

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups