If the JSON string is not correct it will throw an browser error. Try
to catch all errors with an global error handler:

<script type="text/javascript">

function OnError(e) {
    alert(AjaxPro.toJSON(e));
}

addEvent(window, "error", OnError);

</script>


Why does the customer not help you with this stuff? And maybe you can
add a proxy on the web server to see what is transfered to and from
the client.

Regards,
Michael




On 7/3/06, Costin Manda <[EMAIL PROTECTED]> wrote:
>
>
> Therefore, in these conditions, where javascript works, activeX is enabled,
> POST works, and even the javascript callback function is executed and passed
> an object that is not null as an argument, but that has both error and value
> properties null, what would you say happened? I repeat the thing works fine
> on all clients but one, so it's not a javascript or server code error. Does
> your library return an error code if the XMLHttpRequest object returns an
> invalid/broken/null XML result from a server call?
>
> ____________
> Costin Manda
> ECRM Europe
> ----- Original Message -----
> From: "Michael Schwarz" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, July 03, 2006 12:29 PM
> Subject: [ajaxpro] Re: Ajax doesn't work because of a proxy?
>
>
>
> Hi,
>
> it is hard to say "Ajax.NET Professional is working every time". The
> problem that I cannot test any web browser and any scenario (with any
> proxy servers, firewalls, ...). There are two things I can say:
>
> 1) If common web forms are working (POST/GET) the XMLHttpRequest
> object should work, too. The XMLHttpRequest is using POST to sumbit
> and get data.
>
> 2) If you are using one of the latest web browsers you are fine with
> XMLHttpRequest support. Using Internet Explorer you are happy starting
> with version 5.0 or higher. If ActiveX and/or native XMLHttpRequest
> support is missing/disabled I'm using an IFrame to exchange data with
> the web server.
>
> Regards,
> Michael
>
>
>
>
>
> On 7/3/06, Costin Manda <[EMAIL PROTECTED]> wrote:
> >
> >  As I said, my manager doesn't even want to ask the client if they can
> > make
> > a test or two. All the data I have is in the previous mail. Has anyone
> > encountered something remotely similar?
> >  I have found a message on the net from a guy saying that the
> > firewall/proxy setup he had automatically removed <script> tags from the
> > received html, but this one clearly allows javascript, since everything
> > right to the execution of the callback function worked. So why did it have
> > no value? I am really put off by this, because I thought Ajax can be used
> > anywhere.
> >
> > ____________
> > Costin Manda
> > ECRM Europe
> > ----- Original Message -----
> > From: "Michael Schwarz" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Friday, June 30, 2006 8:58 PM
> > Subject: [ajaxpro] Re: Ajax doesn't work because of a proxy?
> >
> >
> >
> > Hi,
> >
> > because AjaxPro is working like every other http request it is working
> > with proxies, firewall and https. So, what is Fiddler showing? And, do
> > they see an error?
> >
> > Regards,
> > Michael
> >
> >
> >
> > On 6/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > wrote:
> > >
> > >   I've made about two or three ASP.NET 1.1 projects, all using this
> > > brilliant Ajax.Net library, and they all worked perfectly. Then I've
> > > created one NET2.0 web application and used Ajax.Net Pro. Tested it,
> > > worked, published it, only to see that the client (the man ordering the
> > > project :)) doesn't see it work.
> > >   The code, as simple as possible, was instantiating a Web UserControl
> > > with LoadControl(..) and then returned the html output. A javascript
> > > function was changing the innerHTML property of a panel to display it.
> > > It worked on Ie6.0, FireFox, Opera and Netscape. It also worked on some
> > > other people's computers. The client only saw a "null" appearing where
> > > the panel should have been.
> > >   Now, my manager is against testing stuff on the machines of the
> > > client, so the only thing I know is this:
> > > 1. the application works on all browsers, it is not a matter of ActiveX
> > > disable or bad javascript
> > > 2. the javascript code does something like if (response.error!=null)
> > > alert(response.error); and it doesn't fire, so it is not a server error
> > > 3. the javascript code uses callback functions, so it's not a delay
> > > issue.
> > > 4. the only way to have the same result on my computer was to have
> > > response.error==null, response.value==null
> > > which I don't see how it could happen.
> > >
> > > The only thing I could think of was that the client uses both a web
> > > proxy and a firewall. Could that be the problem? How do I fix it?
> > > Thanks!
> > >
> > >
> > > >
> > >
> >
> >
> > --
> > Best regards | Schöne Grüße
> > Michael
> >
> > Microsoft MVP - Most Valuable Professional
> > Microsoft MCAD - Certified Application Developer
> >
> > http://weblogs.asp.net/mschwarz/
> > http://www.schwarz-interactive.de/
> > mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> > >
> >
>
>
> --
> Best regards | Schöne Grüße
> Michael
>
> Microsoft MVP - Most Valuable Professional
> Microsoft MCAD - Certified Application Developer
>
> http://weblogs.asp.net/mschwarz/
> http://www.schwarz-interactive.de/
> mailto:[EMAIL PROTECTED]
>
>
>
>
> >
>


-- 
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to