By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,458 Members | 970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,458 IT Pros & Developers. It's quick & easy.

Getting this error: XML parsing failed: syntax error (Line: 1, Character: 1)

P: 87

I have created one website named OTMS using ASP.NET in a File System Format.My project location is in F: drive(F:\Project\OTMS). I have installed IIS properly and the website runs properly in Internet Explorer as a File System Format.

I have created a new virtual directory(OTMS) in IIS and i have included my website directory(F:\Project\OTMS) which i have designed in file system format and when i run in Opera using the address,

http://localhost/OTMS/Home.aspx, the following error occurs.

XML parsing failed: syntax error (Line: 1, Character: 1)

Reparse document as HTML
Error:invalid start-tag
Specification:Extensible Markup Language (XML) 1.0 (Fifth Edition)
1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Home.aspx.vb" Inherits="Home" %>
3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

Please help me to run the website properly in opera,firefox and others...

Thanks in advance.
Jan 3 '09 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 4,871
Do you have .net framework installed?
Jan 4 '09 #2

Expert Mod 5K+
P: 9,735
When you say it works in Internet Explorer, do you mean it works when you are debugging it (Pressing F5 in Visual Studio to run it)?

It sounds like you don't have ASP.NET installed or your IIS isn't configured to use it...
Jan 5 '09 #3

P: 2
one reason is .Net framework not installed or you should try open the visual studio command and run the command "aspnet_regiis -i ".
Jan 8 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.