locked
ASHX not well formed RRS feed

  • Question

  • I'm trying to write some of the code from the 'Beginning Spatial' book but I'm having trouble with the Mapping Services code. When I try and pull up the web page in Firefox I get the following error:

    Error: not well-formed
    Source File: .../Handler.ashx?lat=41.04207384890103&long=-85.2923583984375&maptype=GM
    Line: 1, Column: 2
    Source Code:
    <%@ WebHandler Language="VB" Class="Handler" %>

     

    I'm not sure what I'm doing wrong, I'm really new to VB so my troubleshooting skills are pretty limited. Am I missing quote marks? A comma? Or did I simply break everything.

     

    I'm not sure if this is the correct forum to post on but I figured i'd give it a shot.

    Any ideas would be greatly appreciated.

    Wednesday, August 4, 2010 9:21 PM

All replies

  • Hi there,

    Probably best to email the author direct :)

    Send me the contents of your Handler.ashx file to alastair@beginningspatial.com, and we'll see where it's going wrong.


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Wednesday, August 4, 2010 9:44 PM
    Answerer