Hi people,

I am very amateur with ASP.NET. I am working on a movie booking system and i am currently having some problems linking my normal html homepage to my membership registration page which is done with asp.net. I tried using Frontpage hyperlink propeties to link my homepage with my asp.net member registration page.

However, after previewing it in my browser, it simply show the asp.net html codes of my registration page without showing the registration page. Help!! :-| Please advice.

Newbienoobaspboy

Dani AI

Generated

Short answer: seeing raw ASP.NET markup in the browser means the page was not processed by an ASP.NET runtime. Common reasons are opening the .aspx file directly from disk (FrontPage preview or a file:// URL) or hosting that does not hand .aspx requests to ASP.NET. 's guess about the server is likely correct, and ’s advice to avoid FrontPage is relevant.

Diagnostic checklist:

  • Confirm the page is served over HTTP(S) (not a local file path).
  • Verify the environment is ASP.NET-capable: Visual Studio/IIS Express, IIS with the correct .NET runtime, or a host that explicitly supports ASP.NET.
  • In IIS-style hosting, ensure the site is an "application", the app pool targets the correct .NET version, and handler mappings include .aspx.
  • If using a web host, confirm the hosting plan and runtime version with provider support rather than relying on FTP previews.

Security note: if a public server is returning raw source, that can leak configuration or credentials. Any publicly exposed copy should be removed and the host contacted to resolve handler/configuration problems.

Regarding the registration-form request in this thread: the question mixes several topics. As suggested, separating them will help. When asking for form code, specify the framework choice (Web Forms vs MVC vs Razor), the target .NET version, and whether server-side validation or membership APIs are needed. That information makes it straightforward to supply a focused, safe example.

Recommended Answers

All 4 Replies

I'm not sure about the exact nature of the problem, here.

First, stop using FrontPage! Learn to write HTML, CSS, and JavaScript "by hand".

Second, realize that you can put standard HTML into an aspx (ASP.NET WebForm). You don't HAVE to use an ASP.NET Web Control.

If you want an ASP.NET page to contain a hyperlink to a standard web page, then just include a standard hyperlink!

<a href="myStandardPage.html">Link to my page</a>

If you want a standard HTML page to link to an ASP.NET page, it's the same thing.

<a href="myASPNETpage.aspx">Link to my ASP.NET page</a>

If I haven't answered your question, try asking it again, and be very, very specific.

commented: Bravo! +4

Hi people,

I am very amateur with ASP.NET. I am working on a personal website and i am currently having some problems coding of registration page and linking my normal html homepage to my membership registration page which is done with asp.net. I tried using Frontpage hyperlink propeties to link my homepage with my asp.net member registration page.

Please send me the ASP.NET code for the registration form. My form includes:
1.title (MR, MRS,Miss)
2.Family Name
3.First Name
4.Job Title (using combo box)
5.Company
6.Street Address (3 address boxes)
7.City/ Region
8.Postal/ZipCode
9.Country (using Combo box)
10.phone no.: (3 boxes: country code, std code, tel no)
11.Email address
12.(check box) would you like to be inform when we publish new articles
13.button1 (submit)
14.button2 (reset)

However, after previewing it in my browser, it simply show the asp.net html codes of my registration page without showing the registration page. Help!! :-| Please advice.

You seem to be asking about three or four different questions... all in an old thread. Please decide which question you'd like to ask, and then do so in a new thread. Are you asking:

1) How do I link to an ASP.NET page?

2) How do I create an HTML Form in ASP.NET?

3) How do I configure a web server to support ASP.NET?

4) How do I deploy an ASP.NET application to a web server?

looks to me like his server isn't set up to run .net and it is just returning the code

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.