Forum Moderators: open

Message Too Old, No Replies

can't get web forms to work properly

         

Blanka

12:54 pm on May 1, 2003 (gmt 0)

10+ Year Member



Hi,
I am also a new user and have the following problem:
my ASP.NET page displays incorrectly in the browser as none of the <asp:button and other tags are resolved. It looks as though the .aspx file is not recognised and is not interpreted/evaluated properly by IIS.

(The problem was described by another user but no one came up with an answer for it, that is why I am reposting it now.)

I did a straight forward installation of VB.NET Standard edition on an XP machine.

Thank you for the help.

korkus2000

12:57 pm on May 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do regular ASP pages work on the machine?

Blanka

1:07 pm on May 1, 2003 (gmt 0)

10+ Year Member



Yes, normal asp pages do work, I just tested it.

korkus2000

1:08 pm on May 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried setting up a dedicated virtual folder or created a web project that does?

Blanka

1:20 pm on May 1, 2003 (gmt 0)

10+ Year Member



Yes, I did set up a virtual directory in iis. I have all the necessary files in them too. If I say 'browse' the ASP page from there, it correctly opens it and interprets it as an asp page. If I do the same with the .aspx file, it gets served to the browser without being interpreted.

I must be a configuration setting I think maybe in IIS? It doesn't seem to recognise .aspx files?

ncsuk

1:47 pm on May 1, 2003 (gmt 0)

10+ Year Member



Create a single file called test.aspx and stick it in the root directory. Keep modifying the settings on the file until it works.

If you exhust all poss' then have a scan through MS's website and see if there is anything on there. It maybe like php where you have to grab a config file and run it at startup to get IIS to recognise and use it correctly.

chris_f

2:07 pm on May 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Silly question but here goes:

You have downloaded the ASP.net framework, havn't you?

Chris
<please don't hurl those tomatoes. I'm just trying to clear the obvious>

Blanka

4:20 pm on May 1, 2003 (gmt 0)

10+ Year Member



Hi there!
I found the PROBLEM!

What was wrong was the registering of the aspnet_isapi.dll.
As a result, the IIS server didn't associate aspx file extensions correctly.
So I manually registered the dll, and restarted iis. yeeha.

So thank you for the help.
Cheers,
Blanka