|
POST
|
By referring to the procedure: http://stackoverflow.com/questions/7939693/iis-7-invalid-application-path-win-7 , I created a Virtual Directory in IIS7.5 Manager's Web Sites, and then set the Physical Path. The project was got deployment. However, I still can't run the query if the page uses URL address rather than localhost. In this server, there are other multiple applications that have no problem using URLs. Any suggestion for this problem? Thanks.
... View more
01-16-2015
05:23 AM
|
0
|
1
|
722
|
|
POST
|
Dominique: Thanks for you response. Through multiple tests, I am sure it is not the crossdomain issue. The problem is that in II7 Manager I can't convert it to an application. The error I received is "Invalid application path". Could you provide your additional advisory for solving the problem? Thanks.
... View more
01-15-2015
11:23 AM
|
0
|
2
|
739
|
|
POST
|
For a SL project that runs well in debugging, I followed the procedure: 39169 - Deploy a Silverlight application to IIS 6.0 and 7.0, and copied the needed file to server's inetpub\wwwroot\. In IIS7, if I right-click the application to get the page as http://localhost/myApp/myApp.html, everything works file. However, after I change the localhost to the URL, the page displays well only in its stating stage. When I run the query, I got a plenty of errors like that Locator service failed: System.Security.SecurityException ---> System.Security.SecurityException: security error at System.Net.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncresult asyncResult) at System.Net.BrowserHttpWebRequest ... I realize that this application can't be Converted to Application in IIS Manager. When I tested the settings, I received the error: Invalid application path. How can this problem be solved? Thanks.
... View more
01-15-2015
10:55 AM
|
0
|
2
|
4917
|
|
POST
|
Re-tested in multiple scenarios but still have problems. In IIS7, for the previous version, if I right-click the application > Manager > Browser, the page shows http://localhost/xxx, and it runs well. If I change the localhost to the URL, the start interface looks to be fine. However, when I runs the query, the errors (as reported above) pop out. I also tried another server, and have the same problem. In IIS 7 also tried to add the new version (just built one) as another application with the same settings. But when I tested the Settings (e.g. physical path: C:\inetpub\wwwroot\AppName, Appilicaqtion Pool: ASP.Net v4.0), I got such an error: "There was an error while performing this operation Details: Invalid application path. Hopefully, I can get some additional hints for solving the problems. Thanks.
... View more
01-15-2015
10:35 AM
|
0
|
0
|
739
|
|
POST
|
1) The project runs well in my debugging. After it was deployed into IIS7, the page is loaded well. The errors display in query. 2) Per Rao, I added both crossdomain.xml or clientaccesspolicy.xml into my server's \Inetpub\wwwroot\. Thanks for your response.
... View more
01-15-2015
09:16 AM
|
0
|
5
|
1379
|
|
POST
|
Have no problem to access all of the REST URL's through any browser. Added both clientaccsspolicy.xml and crossdomain.xml. But the errors remain the same. What else should I check? Thanks.
... View more
01-15-2015
08:33 AM
|
0
|
1
|
1379
|
|
POST
|
Yes. The locator service is on another server in our company.
... View more
01-15-2015
08:07 AM
|
0
|
3
|
1379
|
|
POST
|
Dear Rao: Thanks for your advisory. I added the crossdomain.xml into the server's \Inetpub\wwwroot\ <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from http-request-headers="SOAPAction"> <domain ”http://*”/> </allow-from> </policy> </cross-domain-access> </access-policy> But I still got the same errors. Did I do something incorrect?
... View more
01-15-2015
07:46 AM
|
0
|
5
|
1379
|
|
POST
|
I tried to deployed a SL project in IIS 7 by following the procedure by ESRI: 39169 - Deploy a Silverlight application to IIS 6.0 and 7.0 . After the deployment, I opened the project's htm on IE. The interface looks fine. But I run the query, a bunch of errors show up. Some of the errors are listed below: Locator service failed: System.Security.SecurityException ---> System.Security.SecurityException: security error at System.Net.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncresult asyncResult) at System.Net.BrowserHttpWebRequest ... ... It appears it involves some security issue. What should do to solve these problems. Thanks.
... View more
01-15-2015
06:11 AM
|
0
|
14
|
6211
|
|
POST
|
Problem solved - I reset the the map layers access properties as public. Thanks for your hint.
... View more
01-12-2015
08:49 AM
|
0
|
0
|
1732
|
|
POST
|
You are right. If I open the URL directly, I get a page to ask me to logon. After I logon, I can view the map layers. But I still get the 499 error if I run the program. How can it be be fixed? Thanks.
... View more
01-12-2015
08:36 AM
|
0
|
0
|
1732
|
|
POST
|
Scenario: Executing a Silverlight application. In this application, 10 map layers are defined in the config.xml. I run this application well on last Friday before I left the office. But in the earlier Monday morning, when I run it again, the message: Query failed: error code: '499': 'Token Required', displays. I checked and found it was due to the access to the 10 map layers defined in the config.xml. In my .xml, there is no setup for security (e.g. userID and password). I can't figure out why this happens suddenly. Appreciate if you can provide your advisory.
... View more
01-12-2015
08:03 AM
|
0
|
4
|
6917
|
|
POST
|
Ken: Thanks for your point. I added a couple lines of code, but it still does not work. The code I added are listed below: dojo.require("esri.urlUtils"); // for proxy ... In function init(), added: esriConfig.defaults.io.proxyUrl = _proxyURL; esriConfig.defaults.io.alwaysUseProxy = false; Did I miss anything else? Thanks if you can further point it out.
... View more
12-18-2014
12:20 PM
|
0
|
0
|
545
|
|
POST
|
I might classify this thread as a bug report. The scenario is described below: I created a JS application that does query on a MapService layer. In the debugging, I got the value of the query.where clause. If I post this clause into the MapService layer's Where textbox, and then click the Query button, I can get respected results (e.g. a couple of dozens of records, which are the same as that in ArcMap's definition-query on the map layer in the map document). This query clause is VERY long. In my JS application, I put a break-point in function showResults(). If the query clause is NOT too long, the code goes through smoothly. However, if the clause is Too Long, it goes through without any break. I would guess there is may be a bug in the API that may limits the length of whereClause. If you have similar experience like that, please share Thanks for your attention. queryTask.execute(query, showResults); ... function showResults(result) { var items = []; for (var i = 0, il = result.features.length; i < il; i++) { items.push(result.features.attributes); } ... }
... View more
12-18-2014
10:47 AM
|
0
|
2
|
2821
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|