Syntax error: line 1 using Microsoft ASP.NET AJAX

Posted by: Ajax.NET Professional, on 24 Nov 2006 | View original | Bookmarked: 0 time(s)

I read the last post from Rick Strahl about IE 7 Script Errors. Yes, I found this already on some sites, too, so I started to find the real issue.

For this I started the great Fiddler tool to analyse where the problem is. When you have Script Debugging enabled in your Internet Explorer settings you will get an alert when the script error appears. Don't click on this alert and have a look at the Fiddler output. When I open the example web page Rick is talking about it will always stop at the request for /atlasglob.axd. The web server will send an http error message 302 Found with an redirect to /Message-MSDN.htm?aspxerrorpath=/atlasglob.axd.

In Fiddler you can add JavaScript to handle requests more in detail. So I added two lines to prevent loading of this file:

if (oSession.url.indexOf("atlasglob.axd")>-1) {
    oSession.oRequest.FailSession(403, "", "");
}

After reloading the page no script error appears, and the page is currently working the same. If you look through all the requests you will see that the MSDN web page is already using Atlas.js. Is there a common problem with Microsoft ASP.NET AJAX when the atlasglob.axd could not be found? And why is it missing, a configuration error?

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Ajax | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2771 | Hits: 93

Similar Posts

  • Adding IIS Manager Users and Permissions using PowerShell more
  • Validation - Part 3 - Server-Side more
  • IIS 7 Error Pages taking over 500 Errors more
  • IDisposable and WCF more
  • My Latest Book – Professional ASP.NET 3.5 AJAX more
  • New Version of Error Logging Modules and Handlers (ELMAH) Available more
  • Back to CSV - Convert CSV text to Objects; via JSON more
  • Telerik Registers Exponential Growth of Its Portfolio - Q3 Release more
  • VB 2010 Unveiled at PDC 2008! (Lisa Feigenbaum) more
  • ASP.NET Memory Issues more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD