[Mozilla from IDE] hangs on XML not well-formed

G

Guest

In the Visual Studio IDE: right click on the desired page in Solution
Explorer, and choose "Browse With" and select Firefox.
Peter
 
T

teo

Hallo,

I'd like to debug an .aspx page from the IDE
using another browser;
I choose Mozilla Firefox (ver 1.8.1: 2006)

Mozilla starts but the page never opens and an error occurs;
a light yellow page with a message in a red rectangle says:

Errore interpretazione XML: non well-formed
Indirizzo: file///c:/inetpub/wwwroot/...
Line number 1,column 2:
<% Page Language="VB" ....


How to use Mozilla from VS2005 ?
Also trying to open the page from
the IIS management panel in Windows Control Panel
I receive the same error.


Obviously no problem with IExplorer.
 
P

Patrice

file:// means you try to open directly this file. Browse the *web site* on
which the page is located so that the web site can render the corresponding
markup instead of having the browser opening the "raw" server side
markup...
 
T

teo

file:// means you try to open directly this file. Browse the *web site* on
which the page is located so that the web site can render the corresponding
markup instead of having the browser opening the "raw" server side
markup...

Yes,
but accordingly to the Guide,
it should be possible to open a web page with a different browser
directly from the VS2005 IDE
(right-click from 'Solution Explorer' on the given file,
then Open with... and so on);
it should be possible to set the different browser as the default browser.

I tried,
Mozilla opens and always shows that message.
 
P

Patrice

No. "Open with" if for opening the file from the hard drive (for example you
could open an image with an image editor or a source code file with a third
party text editor in which case you'll see the server side code).

The option you are looking for is "Browse with..." so that the browser opens
the file *from the website* allowing the page to be processed server side to
return HTML content, rather than trying to display the server side code that
has no meaning for the browser...
 
T

teo

No. "Open with" if for opening the file from the hard drive (for example you
could open an image with an image editor or a source code file with a third
party text editor in which case you'll see the server side code).

The option you are looking for is "Browse with..." so that the browser opens
the file *from the website* allowing the page to be processed server side to
return HTML content, rather than trying to display the server side code that
has no meaning for the browser...

You are right, now I got it.

I have a question:

when my page is online
with Windows 2003, Frameworx 2.0, IIS 6.0,
because I have the Tab char in a string,
Mozilla changes the Tab char (it encodes it)

but

the same page launched from the VS2005 IDE
or launched from Htpp.//localhost/....
with Windws XP Pro, Framework 2.0, IIS5.1
Mozilla doesn't changes it
 
P

Patrice

As all else looks the same, I would say that this is IIS5.1 or IIS 6.0 that
encodes or not this char. Not sure in which context you are using such a
char (HTML markup, querystring ?). Also Im' not sure whay it should behaves
differently...

Finally the web config also alllows to tell how to encode chars written to
the browser...

Give perhaps some more details...
 
T

teo

As all else looks the same, I would say that this is IIS5.1 or IIS 6.0 that
encodes or not this char.

But with IExplorer and Opera it doesn't happen,
while with mozilla and Netscape it happens
Not sure in which context you are using such a
char (HTML markup, querystring ?).

I have a listbox:
few items have a Tab because
the item consists of to words and I need to separate these two words.

I read these items during postback with UniqueID,
in this way
myStrVariable = Me.Request.Form(ListBox1.UniqueID)
Also Im' not sure whay it should behaves
differently...

Finally the web config also alllows to tell how to encode chars written to
the browser...

I have this
globalization responseEncoding="iso-8859-1" requestEncoding="iso-8859-1"
fileEncoding="iso-8859-1"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top