• CommentAuthorHakan
    • CommentTimeNov 18th 2009
     
    Hi all,

    We're getting the following in an European site. Apparently everything works perfectly OK with US settings but this is not really workable for this customer. Any ideas why this might be happening?


    Exception Details: System.Exception: Error loading GeoBase: Invalid character in the given encoding. Line 5544, position 25440.

    Source Error:


    [No relevant source lines]


    Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\rpgisserver\4a8d4a26\cac83ac1\App_Web_wdfrpase.0.cs Line: 0

    Stack Trace:


    [Exception: Error loading GeoBase: Invalid character in the given encoding. Line 5544, position 25440.]
    Telogis.GeoBase.GeoStream.Server.TileBase.xa6522ea58c65132c() +257
    Telogis.GeoBase.GeoStream.Server.TileBase..cctor() +262

    [TypeInitializationException: The type initializer for 'Telogis.GeoBase.GeoStream.Server.TileBase' threw an exception.]
    Telogis.GeoBase.GeoStream.Server.Tile..ctor() +17
    ASP.tile_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\rpgisserver\4a8d4a26\cac83ac1\App_Web_wdfrpase.0.cs:0
    __ASP.FastObjectFactory_app_web_wdfrpase.Create_ASP_tile_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\rpgisserver\4a8d4a26\cac83ac1\App_Web_wdfrpase.1.cs:0
    System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49
    System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115
    System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
    System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
    System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
    System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161


    Cheers,

    Hakan
    •  
      CommentAuthorSeanS
    • CommentTimeNov 18th 2009
     
    Hakan,

    This is probably best settled by sending mail into support, since this might take some back and forth in recreating the problem here.

    Please send the details to gbsupport@telogis.com and include the following:

    Version of GeoBase
    Filenames of data being used
    How are you accessing this when it fails
    Since you are using GeoStream, can you recreate it with one of the samples, such as:
    http://localhost/GeoStream/scripts/tutorial.demo.aspx
    Do see see similar errors geocoding with MapExplorer?

    thank you,
    Sean
    • CommentAuthorHakan
    • CommentTimeNov 18th 2009
     
    Hi Sean,

    Thanks for your reply. I was hoping for a "A-haa, there's your problem" reply - I know I was a bit optimistic but hey, it's worth a try in case it is a common problem, it appears to be not the case. I got involved at the end of a long e-mail thread and don't have all of the answers. I will try to get them and try the support email.

    Cheers,

    Hakan