How to debug "Unknown Server Error"? - debugging

I have full control on both server side and client side.
Recently, I am using AjaxControlToolkit.AsyncFileUploader. However under some circumstances, the AsyncFileUploader triggers browser to show an alert box with the word "Unknown Server Error".
I tried to locate all exceptions in Global.asax and tried all three major browsers (FF, IE, Chrome). But it is very strange that
No server side exception can be found in method Application_Error in Global.asax
No client side exception can be found in FireBug, IE Developer Toolbar and Chrome internal debugger.
No error log in Window Event log
So what can I do for this Unknown Server Error?
Thanks!

I fixed the problem already. I set breakpoints on all events header and run the application. Finally I found some events is not triggered which should be triggered.
After fixing this problem, the "Unknown Server Error" is gone.
However, I still don't know how to get more information about the "Unknown Server Error".

Related

IE 11 Issue: :SCRIPT7002: XMLHttpRequest: Network Error 0x2eff

I'm facing the below error in IE 11, I'm calling a webapi, though webapi response is coming fine but also getting the below error on console:
SCRIPT7002: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff.
Please give any suggestion, what could be the root causes of this error, I'm not getting this error in other browsers (Chrome and Firefox)
You've said that the error occurs when you call a webapi.
As far as I'm concerned, maybe this due to a large amount of data to transfer.
When you handle large data with single ajax request, it may make the browser crashing.
For more about the error,you may refer to the similar thread.
IE11 HTTPS AJAX XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff

Error getting server certificate generating datasnap client classes

I have a datasnap server configured for HTTPS, this starts and runs fine as far as I can tell.
From the client's point of view when I 'Generate datasnap client classes' via the TSQLConnection component I get an error message - Error getting server certificate.
Can anybody offer any useful info regarding this and how to fix it?
Thanks,
Appears to be a bug with the TDSCertfiles component in the Server project.
Having set the following properties programmatically, the bug seems to ignore what I have put in code and looks for what is set manually in the object inspector (empty) :
Cerfile
Keyfile
RootCertfile
FIX - After setting the above properties and before calling DSHTTPService.Start add the following :
DSCertFiles.SetServerProperties(DSHTTPService.HttpServer).
Retesting the connection/Generating server methods from my client app, I no longer get the error message and it successfully connects.

Why is my meteor app getting these errors on firefox but not other browsers?

The web app that I am building in meteor works in chrome and I.E.(Other than a UI bug in I.E.) but it starts acting strange in Firefox. When I run it on my localhost and on the deployment to meteor.com, I don't get any errors in the console in the browsers' developer tools.
When I run it in Firefox, things start acting weird. On Mac OSX, if I run the app on my localhost and open it in FF it is just fine. However, when I open up the app that deployed to meteor.com via meteor deploy [my-app-url].com, I get the following errors but I can still use everything in my app:
Error 1:
mutating the [[Prototype]] of an object will cause your code to run very slowly;
instead create the object with the correct initial [[Prototype]] value using Object.create
Error 2:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
at https://ddp--3071-[my-app-url].com/sockjs/info?cb=v9pygo9mzn.
(Reason: CORS request failed).
While right now I am not able to figure out what is causing the first error, I am mostly worried about the second error.
When I open up the app from it's deployment in FF on Windows 8, I get the first error once, and then I get the second error repeatedly and the app never loads(it just stays on my loading template from the iron router). My deployed app runs just fine on Chrome and I.E.
I don't send any kind of request to another server in my app, so I am not sure why I am getting a CORS request error. I have not set up SSL or began to make a certificate yet, so I am not sure if this could be causing this kind of error in FF as I got another exception on my login page in FF on my localhost saying that I shouldn't have password elements when I'm not using https.
Does anyone know what could be causing this?
Sorry that I provide any code, as I don't know what code I would post to solve this problem since I don't actually request anything from another server in code that I have written.
Thanks in advance for any responses!
If anyone is interested, it seems as if my combination of the aldeed:collectio2 package and one of my other packages was the cause of my problems. I removed this package and my issues went away.

SP2007 WebPartPages "Invalid URL Argument" behind URLRewrite

From Content Editor WebPart, editing a page when directly doing it from the SP server is working smoothly.
However, we are getting a pop-up error: Cannot retrieve properties at this time when attempting to edit it "outside" the server that is behind reverse proxy.
From Fiddler, we noticed that a hit to WebPartPages.asmx is actually throwing 500 with error message: Invalid URL argument.
Can anyone share a light on this?

"Server not found error " while making HTTPS call from wp7

I am getting "Server Not found error" while calling Https(SSL) php page. The page is not getting loaded from Wp7 browser giving error as Error loading page, do you want to continue. What are the ways I can by pass the error in WP7 code. The site can be viewed in Desktop
Thanks and Regards,
As you say it works on the desktop without any issue, the root CA for the certificate is likely not one supported by the phone.
Find out what it is and then compare with the details at http://msdn.microsoft.com/en-us/library/gg521150(v=vs.92).aspx

Resources