Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Experience Builder
ArcGIS Dashboards
ArcGIS Spatial Analyst
ArcGIS Field Maps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
File Geodatabase API
Game Engine Maps SDKs
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
Esri Italia Community
Comunidad GEOTEC
Esri Ireland
Asia Pacific
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
GIS Life
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
JavaScript Maps SDK
:
JavaScript Maps SDK Questions
:
Error: ?????????????? (null): Unable to complete o...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Error: ?????????????? (null): Unable to complete operation.
Subscribe
648
2
12-26-2012 08:27 PM
by
tongwenhuan
Emerging Contributor
12-26-2012
08:27 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Error: ?????????????? (null): Unable to complete operation.
...],g=this.graphics;while(g.length>0){this.remove(g[0]);}if(!_771){this.onGraphics...
[ATTACH=CONFIG]20207[/ATTACH]
my page is code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd
">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Simple Map</title>
<link rel="stylesheet" type="text/css" href="
http://127.0.0.1/arcgis_js_api/library/3.2/jsapi/js/dojo/dijit/themes/tundra/tundra.css
">
<script type="text/javascript" src="
http://127.0.0.1/arcgis_js_api/library/3.2/jsapi
"></script>
<style>
html,body{height:100%;width:100%;margin:0;padding: 0;overflow:hidden;}
</style>
<script type="text/javascript">
dojo.require("esri.map");
dojo.require("esri.layers.FeatureLayer");
function init() {
var myMap = new esri.Map("mapDiv");
//note that if you do not have public Internet access then you will need to point this url to your own locally accessible cached service.
var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("
http://127.0.0.1/ArcGIS/rest/services/hseds2012/MapServer
");
myMap.addLayer(myTiledMapServiceLayer);
var featureLayer = new esri.layers.FeatureLayer("
http://127.0.0.1/ArcGIS/rest/services/sde/FeatureServer/0
", {
outFields: ["*"],
mode: esri.layers.FeatureLayer.MODE_SNAPSHOT
});
myMap.addLayer(featureLayer);
}
dojo.addOnLoad(init);
</script>
</head>
<body class="tundra">
<div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div>
</body>
</html>
i found when add featureLayer with firefox ,open this errors.
Tags
(2)
Tags:
javascript
web_developers
Preview file
426 KB
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
2 Replies
by
JakeSkinner
Esri Esteemed Contributor
12-27-2012
09:30 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Hi Tong,
Are you running ArcGIS for Server 10.1 Service Pack 1? You may be experiencing a bug:
NIM086349
: Alternate Query (Get) requests fail in Version 10.1 SP1.
If you refresh the web page, do you receive the same error?
Reply
0
Kudos
by
Jay_Gregory
Frequent Contributor
12-28-2012
10:20 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
This this bug does affect the JS API FeatureLayer? Is there any workaround currently, or prediction of when it might be fixed?
I had just recently posted
this
to the forums.
Thanks!
Jay
Reply
0
Kudos
Post Reply