954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Linking to asp.net page from html page

Hi ,

I have an application in which html and asp.net is to be linked.
In the html page I have a link to the asp.net page.

Link to Asp.net page

But, when I click on that link I get the code underlying the asp.net page displayed instead of the web page to be displayed.:sad:

Could any one tell me what could have gone wrong and how can I correct it?

Thanks,
Aswathy

Aswathy
Newbie Poster
13 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

IIS needs to be set up for .NET.
Is it?

nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
 

But all other .NET applications are all working fine.
In this case I was trying to access a .net page from html.

Aswathy
Newbie Poster
13 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

That's just a link, right?
Therefore, the linked page should work fine. If you just plug that link into your browser, does it work?

nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
 

You need to be running an ASP.NET web server to see the page properlyy. Either IIS (noy in xp home) or Abyss Web Server X1(free)

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

http://localhost/OnLineTest/WebForm1.aspx " >Link to Asp.net page

This is working fine........

Thanks one and all..........

Aswathy
Newbie Poster
13 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You