Select to view content in your preferred language

debugging flexviewer 3.6 on windows 8.1

4204
8
Jump to solution
08-27-2014 09:35 PM
saurabhgupta2
Emerging Contributor

Hello everyone!

 

I am running through a small problem where i am using windows 8.1 and want to debug the flexviewer 3.6 using flash builder 4.7 I am getting a error (screen shot provided below), I have tried different browser version and i have tried installing different versions of flash player. I have also tried using UI mode in windows 8.1 ( as suggested in some posts) for debugging but still was not able to get through it. I have also tried a browser setting on IE ( i.e for enabling shockwave ) but still no success.  Can anyone suggest how to overcome this problem.

 

Our earlier discussion on this topic is as below:

https://community.esri.com/message/400382?et=watches.email.thread#400382

 

 

Regards

saurabh

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Saurabh,

  Many time if your question has to many parts and is a very complex question to answer you will not get a response. You need to try and break you questions down to smaller and specific questions.

Like this thread How to add feature layer on the fly for editing you are asking about a complete workflow that involves 4 tasks and those tasks are not easy to answer at all. Take number 1 the while login part this is not something that is natively supported in the viewer and needs a rather complicated .net of other technology wrapper around your viewer app and there are a couple of threads that discuss this that you have already seen and post on, and that is just the first task in your question. So most people are going to look at your post and see the amount of work just involved in answering your first task and then choose to ignore your question as it would take a lot of time to even begin answering knowing that you are new to flex development.

View solution in original post

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus

Saurabh,

  So I setup a new Windows 8 machine and installed Flash Builder 4.7 on it and Google Chrome and FireFox. Here is a break down of what I found and what needs to be configured to get your development environment to work.

  1. When you begin (at least on a new install of Windows 😎 IE is the default browser. So using the info from Adobe Flash Player downloads site, you need to install the appropriate version of Flash Player Debug. For me this was the Download the Flash Player for Windows 8 x64 debugger after uninstalling the correct KB based on the website info (if you have that patch KB installed). After doing this I was able to debug in IE without any issue.
  2. Next I downloaded and installed Download the Windows Flash Player 14 Plugin content debugger (for Netscape-compatible browsers)‌ as Chrome and FireFox use this version of the Flash Player Debugger.
  3. Next I installed Google chrome and set it as my default browser and when I attempted to launch the debugger from Flash Builder I got the same error message that you got. To get past this you have to make sure IIS is installed on your machine and setup an IIS application that points to your Flash Builder projects bin-debug folder (i.e. C:\Users\rscheitlin\Adobe Flash Builder 4.7\flexviewer-3.6-src\bin-debug). Now that you have an IIS Application you can go into your Flash Builders project properties and click on the Flex Build Path tab and set the Output folder URL to your new application URL (i.e. http://gis_win8_pc/FlexViewer3.6). Now when you debug you app it will actually bring up the map but you still have the issue that Chrome is not really linked with Flash Builder because Chrome has it's own internal version of Flash Player built into it. This is why I normally never debug Flex stuff in chrome (you can Google and find out how to disable Chromes built in Flash Player, but it is easier to use FireFox).
  4. Next I installed FireFox and set it as my default browser, and because I still had my project setup to use the IIS application url, all I had to do was close out Flash Player and reopen it to get it to recognize that FireFox was my new default web browser. This time when I debugged the viewer app it worked great.

Hopefully these steps help.

saurabhgupta2
Emerging Contributor

Robert

Thanks a lot . I will apply these changes and will post if that solves the problem.

Regards

Saurabh

0 Kudos
saurabhgupta2
Emerging Contributor

Robert

following the above steps i was able to make it work for IE on windows 8.1

But still facing problem with firefox, I guess it is regarding with permission

following is the error

HTTP Error 401.3 - Unauthorized

You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Saurabh,

   It sounds like you have your projects source in your inetpub\wwwroot directory then. This is not a recommended setup unless you are going to specifically launch Flash Builder "As Administrator" by right clicking the application shortcut and choosing "Run As Administrator". You need to have your projects source code in a folder other than wwwroot and then just setup the Application in IIS to point to that location as I mentioned earlier in my steps.

An example would be the physical path in IIS to your application like: "C:\Flash Builder 4.7\FlexViewer3.6\bin-debug" and an alias of "FlexViewer3.6".

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Saurabh,

   When you post a question for Flex or Flex Viewer you should begin by going to that appropriate Space in GeoNet ArcGIS Viewer for Flex‌ or ArcGIS API for Flex‌ and to the content tab and then start your question that way your question is in the appropriate space and people can find your question.

0 Kudos
saurabhgupta2
Emerging Contributor

Robert

About other questions i asked ..I actually posted them on the specified space . I can see people has visited them but still didnt got any ans to my questions.

So I approached that way. I am really sorry for that. I will keep your advice in mind

Regards

Saurabh

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Saurabh,

  Many time if your question has to many parts and is a very complex question to answer you will not get a response. You need to try and break you questions down to smaller and specific questions.

Like this thread How to add feature layer on the fly for editing you are asking about a complete workflow that involves 4 tasks and those tasks are not easy to answer at all. Take number 1 the while login part this is not something that is natively supported in the viewer and needs a rather complicated .net of other technology wrapper around your viewer app and there are a couple of threads that discuss this that you have already seen and post on, and that is just the first task in your question. So most people are going to look at your post and see the amount of work just involved in answering your first task and then choose to ignore your question as it would take a lot of time to even begin answering knowing that you are new to flex development.

0 Kudos
saurabhgupta2
Emerging Contributor

Robert,

Yes you are right. I will keep a note of it in future.

Regarding about my tasks...I was not asking about how coding wise we can achieve it. My only intention to ask this was just what the approach to take. I am new not just to flex development but to web gis also( only 6 months old baby)

Though i figure out some parts of my question myself ( as the login page mentioned) but being new to this technology i was not sure if this optimized path or not .

Secondly with feature adding part i am still struggling to get it right as when i create a new feature layer from the query result but its not showing till i pan my map a bit as if its stucked.

Thanks and Regards

Saurabh

0 Kudos