6 Answers, 1 is accepted
0
Chris Rathermel
Top achievements
Rank 1
answered on 13 Nov 2009, 10:17 PM
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:
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:
0
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.
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.
0
Chris Rathermel
Top achievements
Rank 1
answered on 16 Nov 2009, 04:09 PM
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: |
0
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.
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.
0
Chris Rathermel
Top achievements
Rank 1
answered on 16 Nov 2009, 10:54 PM
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.
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
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
0
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.
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.