I created an application on asp.net using visual studio 2008 and i wanted it to run on IIS(Internet information server). but when you run it in the browser, it brings this error

XML Parsing Error: not well-formed
Location: http://localhost/Default.aspx
Line Number 1, Column 2:<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>

the application runs well inside visual studio IDE, but brings error when uploaded on the server. what can I do in order to run it on browser ?

7 Years
Discussion Span
Last Post by Netcode

I recently was in your footsteps about two weeks ago. Check to make sure your application pool is running, the webpage in iis is not running on the same port as another application. If your application pool refuses to start, I had this problem when adjusting it to run on .net 4.0 reinstall .net and it will fix the problem.


you have to register asp.net with iis to do this you need to find aspnet_regiis which is located in this location [ if you have .net v4.0] 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319' .then navigate to that location in editor and type aspnet_regiis -i and press enter. this will register asp.net service with iis.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.