Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
teo - 12 Jun 2007 14:27 GMT
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.
Peter Bromberg [C# MVP] - 12 Jun 2007 20:03 GMT
In the Visual Studio IDE: right click on the desired page in Solution
Explorer, and choose "Browse With" and select Firefox.
Peter

Signature

Site:  http://www.eggheadcafe.com
UnBlog:  http://petesbloggerama.blogspot.com
Short urls & more:    http://ittyurl.net

> Hallo,
>
[quoted text clipped - 16 lines]
>
> Obviously no problem with IExplorer.
Patrice - 13 Jun 2007 15:52 GMT
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...

> Hallo,
>
[quoted text clipped - 16 lines]
>
> Obviously no problem with IExplorer.
teo - 13 Jun 2007 21:15 GMT
>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.

>> Hallo,
>>
[quoted text clipped - 16 lines]
>>
>> Obviously no problem with IExplorer.
Patrice - 14 Jun 2007 09:17 GMT
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...

---
Patrice

> On Wed, 13 Jun 2007 16:52:55 +0200, "Patrice"
> <http://www.chez.com/scribe/>
[quoted text clipped - 37 lines]
>>>
>>> Obviously no problem with IExplorer.
teo - 14 Jun 2007 18:57 GMT
>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
[quoted text clipped - 4 lines]
>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

>> On Wed, 13 Jun 2007 16:52:55 +0200, "Patrice"
>> <http://www.chez.com/scribe/>
[quoted text clipped - 37 lines]
>>>>
>>>> Obviously no problem with IExplorer.
Patrice - 15 Jun 2007 18:00 GMT
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...

---
Patrice

> On Thu, 14 Jun 2007 10:17:51 +0200, "Patrice"
> <http://www.chez.com/scribe/>
[quoted text clipped - 73 lines]
>>>>>
>>>>> Obviously no problem with IExplorer.
teo - 16 Jun 2007 20:03 GMT
>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"

>---
>Patrice
[quoted text clipped - 76 lines]
>>>>>>
>>>>>> Obviously no problem with IExplorer.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.