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 / December 2007

Tip: Looking for answers? Try searching our database.

Can't get trace to work in 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tshad - 18 Dec 2007 18:52 GMT
I have a page (which uses masterpages) that displays fine and shows the
trace details.

but when I do a postback to display my GridView, I get the message:

Sys.Webforms.PageRequestManagerParseErrorException: the message received
from the server could not be parsed.  Common causes for this error are when
the response is modified by calls to Response.Write(), response filters,
HttpModules, or server trace is enabled.
Dtails: Error parsing ner 'rogress1"));
});
|<div id="__asptrace".

This page works fine until I set Trace="true" in my Page directive.

What would cause this?

It is obviously related to the Server.Trace as it says but how do I fix it?

Thanks,

Tom
Milosz Skalecki [MCAD] - 18 Dec 2007 19:29 GMT
Howdy,

I don't think MS AJAX works properly in conjunction with trace. To address
the issue, disable pageOutput in the web.config:
<trace enabled="true" pageOutput="false" requestLimit="1000"/>
Now, open a new browser window and navigate to following address:
http://yourlicawebsiteaddress/websitename/trace.axd
You should be able to see recent HTTP requests. Click on a request you are
interested in - done. The only disadvantage is you need to refresh the
trace.axd page manually.

Hope it helps

Signature

Milosz

> I have a page (which uses masterpages) that displays fine and shows the
> trace details.
[quoted text clipped - 18 lines]
>
> Tom

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.