Hello,We're generating tokens programmatically using code similar to what is suggested in the Silverlight API help:string tokenService = "http://hostname/ArcGIS/tokens?request=getToken&username=test&password=my.password&expiration=30"; System.Net.WebRequest request = System.Net.WebRequest.Create(tokenService); System.Net.WebResponse response = request.GetResponse(); System.IO.Stream responseStream = response.GetResponseStream(); System.IO.StreamReader readStream = new System.IO.StreamReader(responseStream); theToken = readStream.ReadToEnd();
Sometimes this generates the token successfully but other times we receive an unauthorized error. Using the tokens request page "http://hostname/ArcGIS/tokens" with the same user results in the same behavior. Is there a limit on the number of tokens a single user can request during a specific time period? If not, why do token requests work sometimes and not others? Thanks.