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.

<a href="WebForm1.aspx">Link to Asp.net page </a>

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

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

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

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?

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)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.