Last post Jul 19, 2011 12:43 AM by shree_ars
Jul 13, 2011 06:34 AM|MacWind|LINK
Hi.Using IIS6 on Windows Server 2003, I've created this simple ASPX code and copied into 'C:\Inetpub\wwwroot':<%@ Page Language="VB" %>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
lblVersion.Text = "Your server is running ASP.NET and the version is " & System.Environment.Version.ToString()
<form id="form1" runat="server">
<asp:Label ID="lblVersion" runat="server"></asp:Label>
When I try to access 'http://myserver/test.aspx', I get a "HTTP/0.9 200 OK" response,
but with a completely blank and empty page.If I access 'http://myserver/test.html' (with HTML code), I get a right webpage.Any suggestion? Thank you very much.
Jul 13, 2011 08:30 AM|shree_ars|LINK
check the configuration of IIS, that it enables the webpage content to view.
Jul 14, 2011 07:04 AM|MacWind|LINK
Thank you very much.
Which part of the configuration?
Jul 14, 2011 07:13 AM|amitpatel.it|LINK
This is the problem because in IIS 6.0 you have not enable extenssion of aspx pages.
To get engable this follow below steps.
1. Open your IIS
2. Select Extenssion from your iis
3, Select your appropritte page with version and enable it by right click.
Let me know if still this is not working.
Jul 14, 2011 07:27 AM|shree_ars|LINK
in IIS under the properties of ur virtual directory
check your .ascx pages has Application mapping in it
Jul 14, 2011 11:42 PM|kctt|LINK
Right click on website in IIS manager and check ASP.NET tab to verify correct asp.net version is configured for the website.
Jul 15, 2011 04:16 AM|MacWind|LINK
Thank you very much for your answers. I'm still experiencing this issue.
At IIS > Extensions- ASP.NET v2.0.50727 ..... allowed- Active Server Pages .... allowedAt IIS > Web Sites > Default web sites > Properties > Particular Directory > Configuration- 'aspx' is included, and executed by C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dllI do not know what I am doing wrong. Thank you very much
Jul 15, 2011 05:02 AM|shree_ars|LINK
make some screen shots so that we can solve it.
Jul 16, 2011 12:05 AM|necro_mancer|LINK
I believe ASP.NET is not properly installed on your machine and hence, the ASPX page is not rendered properly. Please make sure you install the correct asp.net version and let me know the error message (if any)
Jul 16, 2011 01:33 AM|amitpatel.it|LINK
from your above explation I believe asp.net is not proper configure in your IIS
so first uninstall and and then install in your IIS
aspnet_regiis -u // unistall
aspnet_regiis -i //install
Go with below links for more details with each steps
also after then make sure you again you have allowed asp.net from your IIS as you have already define.
Jul 18, 2011 11:49 PM|necro_mancer|LINK
have you managed to get it working now? Please keep us posted
Jul 19, 2011 12:43 AM|shree_ars|LINK
You try to reinstall the framework by following commands