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. asp.net application link problem

asp.net application link problem

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
8 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.
  • M Offline
    M Offline
    meetshums
    wrote on last edited by
    #1

    I have an asp.net webapplication which will send mail. The mail will be containing link to the same web application, when user click on the link it should open the same web application. But it is opening blank page. It is configured in the local intranet. The link is something like this.. http://localhost/appname How to solve this problem.. Please any one find me the answr as soon as possible thanks Jiss

    E N S 3 Replies Last reply
    0
    • M meetshums

      I have an asp.net webapplication which will send mail. The mail will be containing link to the same web application, when user click on the link it should open the same web application. But it is opening blank page. It is configured in the local intranet. The link is something like this.. http://localhost/appname How to solve this problem.. Please any one find me the answr as soon as possible thanks Jiss

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      Is the e-mail being opened from the same machine where the application is located? If it isnt you wont be able to open the link

      We are not a Code Charity

      M 1 Reply Last reply
      0
      • M meetshums

        I have an asp.net webapplication which will send mail. The mail will be containing link to the same web application, when user click on the link it should open the same web application. But it is opening blank page. It is configured in the local intranet. The link is something like this.. http://localhost/appname How to solve this problem.. Please any one find me the answr as soon as possible thanks Jiss

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

        Easy way is to keep the domain name in some configuration file. Read from that configuration file while you send email. When you upload website to server, change this value to a valid one.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        M 1 Reply Last reply
        0
        • M meetshums

          I have an asp.net webapplication which will send mail. The mail will be containing link to the same web application, when user click on the link it should open the same web application. But it is opening blank page. It is configured in the local intranet. The link is something like this.. http://localhost/appname How to solve this problem.. Please any one find me the answr as soon as possible thanks Jiss

          S Offline
          S Offline
          sidbaruah
          wrote on last edited by
          #4

          try giving the system name in place of localhost, that will work irrespective of where the set up is installed... whereas localhost will only work on your system..

          I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

          M 1 Reply Last reply
          0
          • E eyeseetee

            Is the e-mail being opened from the same machine where the application is located? If it isnt you wont be able to open the link

            We are not a Code Charity

            M Offline
            M Offline
            meetshums
            wrote on last edited by
            #5

            People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window. I am using mail sending code and embeding the url as http://domainname/virtualdirname but when i click onto link in mail it opens blank page. please provide me with the proper solution thanks in advance shamshuddin

            1 Reply Last reply
            0
            • N N a v a n e e t h

              Easy way is to keep the domain name in some configuration file. Read from that configuration file while you send email. When you upload website to server, change this value to a valid one.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

              M Offline
              M Offline
              meetshums
              wrote on last edited by
              #6

              I didn't get this explanation. will you please explain. I detailed my problem down, People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window. I am using mail sending code and embeding the url as http://domainname/virtualdirname but when i click onto link in mail it opens blank page. please provide me with the proper solution thanks in advance shamshuddin

              1 Reply Last reply
              0
              • S sidbaruah

                try giving the system name in place of localhost, that will work irrespective of where the set up is installed... whereas localhost will only work on your system..

                I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

                M Offline
                M Offline
                meetshums
                wrote on last edited by
                #7

                Its not a web setup program. We configuered it under IIS just by coping the folder. I detailed my problem as follows. I tried by giving name also but it doesn't work. People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window. I am using mail sending code and embeding the url as http://domainname/virtualdirname but when i click onto link in mail it opens blank page. please provide me with the proper solution thanks in advance shamshuddin

                S 1 Reply Last reply
                0
                • M meetshums

                  Its not a web setup program. We configuered it under IIS just by coping the folder. I detailed my problem as follows. I tried by giving name also but it doesn't work. People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window. I am using mail sending code and embeding the url as http://domainname/virtualdirname but when i click onto link in mail it opens blank page. please provide me with the proper solution thanks in advance shamshuddin

                  S Offline
                  S Offline
                  sidbaruah
                  wrote on last edited by
                  #8

                  meetshums wrote:

                  People will be using outlook express or microsoft outlook to check there internal mails in the organization. From there only that link should open the corresponding web application in new internet explorer window.

                  Whatever they use for opening you're link, it'll open up..

                  meetshums wrote:

                  I am using mail sending code and embeding the url as http://domainname/virtualdirname

                  Are you not providing a page name where this should redirect?? If not it will obviously open a blank page if youve not configured the iis for a default page.. Try giving the page name as the default in iis documents tab.. Or in the link directly provide the page name something like this ... http://domainname/virtualdirname/pagename.aspx

                  I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

                  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