sifia Posted September 1, 2008 Share Posted September 1, 2008 <%@ Page language="VB"%><script runat="server">public sub page_load(x as object , e as EventArgs)Response.Write("<font color=blue size=7>")Response.Write("welcome to ASP.Net")end sub</script><html></html>this is the first sample program which i tried after installing IIS server. But iam getting this errorThe XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. --------------------------------------------------------------------------------A name was started with an invalid character. Error processing resource 'http://localhost/sifia/welcome.aspx'. Line 1, Pos...<%@ Page language="VB"%>-^anybody can tell me what is the mistake. Link to comment Share on other sites More sharing options...
aspnetguy Posted September 2, 2008 Share Posted September 2, 2008 Is ASP.NET properly registered with IIS? Try runningaspnet_regiis -uaspnet_regiis -i Link to comment Share on other sites More sharing options...
sifia Posted September 3, 2008 Author Share Posted September 3, 2008 Is ASP.NET properly registered with IIS? Try runningaspnet_regiis -uaspnet_regiis -ihey thanks.... ya got it.. now its working after using commandsDoubt : actually i installed IIS properly.... wat about these 2 commands... can you explain me Link to comment Share on other sites More sharing options...
aspnetguy Posted September 3, 2008 Share Posted September 3, 2008 Well, there is a certain order you need to install things in for them to work correctly.Ideally you would install IIS then install ASP.Net. If you installed ASP.Net first or Windows just decided to mess with you then running those commands will register ASP.Net with IIS so that IIS knows what to do with .aspx pages. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.