Map Demo & Print Support

7 posts, 0 answers
  1. Josh King
    Josh King avatar
    15 posts
    Member since:
    Aug 2009

    Posted 13 Nov 2009 Link to this post

    The map demo is not working.  I get a script error.  Running IE 8 on Windows 7.

    Also, will there be print support for the maps?
  2. Chris Rathermel
    Chris Rathermel avatar
    28 posts
    Member since:
    Dec 2006

    Posted 13 Nov 2009 Link to this post

    I am getting an error when the app tries to validate the token:

    System.ServiceModel.CommunicationException was unhandled by user code
      Message="The remote server returned an error: NotFound."
      StackTrace:
           at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
           at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
           at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
           at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
           at MapApplication.TokenService.RadMapTokenServiceClient.RadMapTokenServiceClientChannel.EndGetToken(IAsyncResult result)
           at MapApplication.TokenService.RadMapTokenServiceClient.MapApplication.TokenService.RadMapTokenService.EndGetToken(IAsyncResult result)
           at MapApplication.TokenService.RadMapTokenServiceClient.OnEndGetToken(IAsyncResult result)
           at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
      InnerException: System.Net.WebException
           Message="The remote server returned an error: NotFound."
           StackTrace:
                at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
                at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
                at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
           InnerException: System.Net.WebException
                Message="The remote server returned an error: NotFound."
                StackTrace:
                     at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
                     at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
                     at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
                InnerException:
  3. DevCraft banner
  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 16 Nov 2009 Link to this post

    Hello Josh, Chris,

    There was a problem related to a scheduled maintenance task over the weekend but the demos should be working fine now.

    As for printing support -- the Silverlight platform itself does not provide printing support at the moment; hopefully with Silverlight 4 this will change and we will be able to re-evaluate our options then.


    Sincerely yours,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Chris Rathermel
    Chris Rathermel avatar
    28 posts
    Member since:
    Dec 2006

    Posted 16 Nov 2009 Link to this post

    I re-downloaded the example and got the same error message:

    System.ServiceModel.CommunicationException was unhandled by user code  
      Message="The remote server returned an error: NotFound." 
      StackTrace:  
           at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)  
           at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)  
           at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)  
           at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)  
           at MapApplication.TokenService.RadMapTokenServiceClient.RadMapTokenServiceClientChannel.EndGetToken(IAsyncResult result)  
           at MapApplication.TokenService.RadMapTokenServiceClient.MapApplication.TokenService.RadMapTokenService.EndGetToken(IAsyncResult result)  
           at MapApplication.TokenService.RadMapTokenServiceClient.OnEndGetToken(IAsyncResult result)  
           at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)  
      InnerException: System.Net.WebException  
           Message="The remote server returned an error: NotFound." 
           StackTrace:  
                at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)  
                at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)  
                at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)  
           InnerException: System.Net.WebException  
                Message="The remote server returned an error: NotFound." 
                StackTrace:  
                     at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)  
                     at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)  
                     at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)  
                InnerException:   
     
  6. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 16 Nov 2009 Link to this post

    Hello Chris,

    Sorry for the confusion -- we were under the impression that you were referring the online demos here (and they were down due to maintenance issue).

    As for the MapApplication project --it seems the wcf service configuration logic generated automatically contained a configuration attribute (namely extendedProtectionPolicy) that is incompatible with some Windows installations (we have now seen reported problems with Windows XP and Windows Vista, Windows 7 should be OK).

    We have now removed the attribute and we are attaching the modified application that should work as expected. We will update the forum thread shortly as well.


    Best wishes,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Chris Rathermel
    Chris Rathermel avatar
    28 posts
    Member since:
    Dec 2006

    Posted 16 Nov 2009 Link to this post

    Well I am getting a different error now which is progress :).  I tried the default login credentials and tried using my own and no luck. 

    System.Exception was unhandled by user code  
      Message="Token Service Exception: Unable to connect to the remote server" 
      Source="MapApplication.Web" 
      StackTrace:  
           at MapApplication.Web.RadMapTokenService.GetToken() in C:\inetpub\wwwroot\vkformsdevelopment\MapApplication\MapApplication.Web\RadMapTokenService.svc.cs:line 45  
           at SyncInvokeGetToken(Object , Object[] , Object[] )  
           at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)  
           at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)  
      InnerException:   
     

    It is erroring on token service class: RadMapTokenService.svc.cs line 41.

    The tokenService object seems to have the right staging url, check the attached screen shot.

    Thanks for the help,

    Chris

  8. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 18 Nov 2009 Link to this post

    Hello Chris,

    Unfortunately we are unable to reproduce this problem in our local tests at the moment. Could you provide some more details on the workstation configuration you are using? Could you please try to request the RadMapTokenService.svc (i.e http://localhost:6519/RadMapTokenService.svc) manually from the browser so we can verify it is correctly registered?


    Best wishes,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner