views:

683

answers:

2

Hello

I get the following problem when trying to open an ASPX page in FireFox:

"XML Parsing Error: no element found Location: http://localhost/FrameworkTest2/Default.aspx Line Number 1, Column 1:"

This site works fine in IE.

To get to the root of the problem, I removed all code and built a "Hello World" page instead.

This works in IE, but I still get the problem in FF!

I'm using FF 3.0.11 and IIS 6 on Vista.

Not expecting an answer here (unless I'm lucky) but I'm out of ideas. It's defo in the IIS ASP.NET processing pipeline, as .htm files render okay.

Even if you could give me some things to check that would be great!

Cheers Duncan

A: 

I think you have a syntax error in your web.config file.

M4N
If that was the case, why would it be okay on Safari and IE?
Duncan
You're right. I had this error in the past and I think it was due to a problem in a config file (but I can't remember exactly).
M4N
+1  A: 

Okay, found out it was actually due to a proxy server setting that had been set up by our IT department, so it couldn't resolve localhost.

Really bizarre problem, I know this isn't the best question in the world so if pressured I'll pull it - but might be useful to someone else in future, who knows.

Duncan