Category Archives: ASP.Net

Fixing Firefox’s ‘NS_ERROR_NOT_AVAILABLE’ Error When Using PageMethods.

So here I am, doing some Virtual Earth stuff with PageMethods (which will be in an upcoming post), something I’ve done many times over the last year and some, and I’m running into some issues.

First off, IE7 does nothing, it just sits there. I add some break points in the static method that the PageMethod is calling, and again, nothing. So I load up Firefox, poynt to the URL of the page, and unlike IE7, Firefox does something.

However, it wasn’t something that I was expecting. In the Error Console it had the following message:

Error: [Exception… “Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]” nsresult: “0x80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: http://localhost:50007/NS_ERROR_NOT_AVAILABLE/ScriptResource.axd?d=ZgyDU9i45kjT :: Sys$Net$XMLHttpExecutor$get_statusCode :: line 4166” data: no]
Source File: http://localhost:50007/NS_ERROR_NOT_AVAILABLE/ScriptResource.axd?d=ZgyDU9i45kjT-145205
Line: 4166

Continue reading

Dynamically Applying Themes To Your ASP.Net Site With A Sitemap

Ever run across a web site that used multiple themes, either page by page, or by some sort of grouping, such as the old site (click on the “Home”, “Movies” and “Software” tabs), and wondered how to do it in your own ASP.Net site? If so, then what I’m about to show you might be of interest. If not, read on anyway’s.

Continue reading