Unable to launch web browser flex - apache-flex

I AM Using Flex Builder 4 for flex Web application, In which I create one flex Web Application. Now i am trying to run my application on web browser at that time builder shows some error like (Cannot run program "C:\Program Files\Mozilla Firefox\firefox.exe": CreateProcess error=5, Access is denied).
This error shows me from last one day. So will anyone can give me answer that why i got such error. In preferences Default System Web browser is selected. which is Mozilla Firefox.
Thanks

Go to Window -> Preferences -> General -> Web Browser. There you can see the available browsers listed and a radio button for selecting either the internal or external browser. Do check these settings and try to launch again. It may be that the path you have shown, where "firefox.exe" resides has not been updated within the Flash Builder.

Rigth click on the flashbuilder shortcut -> run as administrator

If you can't run as an admin, try checking on the security settings to ensure all users have full access to the Firefox directory & files. This almost has to be security related, unless Firefox is actually a location different from where it's looking.

I just clean and close flash builder project. And then close flash builder and restart my system and then relaunch flash builder then it will works now.
Thanks to all.

Related

Aptana 3.6 not showing connections

I have just update aptana into the 3.6 version but I have lost all connections that I had in my projects. Also, making new projects just won't show the connections row anymore.
I have received an answer in the ticket system of Aptana. In order to see the connections again you have to change the project format from PHP or anything that you have activated into Web. Only that. It doesn't make a lot of sense, but that's how it works now.
To change that you have to go to properties of the project -> project natures and check only Web and make it primary. All the rest of natures must be unchecked.
go to properties of the project -> project natures
check only Web and make it primary
All the rest of natures must be unchecked
Click Ok
go to properties of the project -> project natures
check PHP (Web should still be checked and set to primary)
Click Ok
connections now appear in my project explorer and my php files are still indexed
Had the same problem on Mac OS X 10.9.4 (Maverick).
If you click on down arrow (V) to right of Project Explorer tab and tick projects they should show up.
Hope it works for you!
Patroklo, What kind of projects is the connections missing? I believe in Aptana Studio 3.6.0, the connections are available only to Web Project.
If the primary nature of the project is set to Web, then the connections would show up in the Project/App Explorer. An alternative/workaround in your case might be to set the primary nature of the project to Web (only if it does not have any other side effects).
I tried everything on this page and nothing worked (OS X). The solution that worked was still pretty simple, so hopefully it helps someone else.
Right Click "Connections" and select "Properties".
The connection I had that was not showing local path was set to "Filesystem," but simply checking "Project" fixed everything (it's more logical too... not sure why it selected "Filesystem" this time as it's typically been set to "Project" in the past).
I right-clicked each specific connection, clicked Properties, and then clicked the Test button on the Edit the FTP connection dialog. After it succeeded I was able to click OK and then the connections worked properly.

Why does Flash Builder 4 use Flash Player instead of a browser to run apps?

I've got an old flex builder 3 project that I imported into Flash Builder 4, and I want this project to run its web applications in my web browser. However, the apps persistently run in the Flash Player instead. This is causing no end of problems because of the flash player bug documented at https://bugs.adobe.com/jira/browse/FP-209.
How can I make a project's apps run in the browser instead of the player?
This issue can be caused by HTML generation being disabled. In the project property panel:
Screen Shot of the settings http://img685.imageshack.us/img685/1487/screenshot20100422at124.png
In your debug configurations, make sure that the url or path to launch points to the html file that the swf is embeded in, not the swf itself. You can reach the debug configuration menu by clicking the little arrow next to the debug bug icon... (and probably some other way, but i always use that menu).

Flex - changes to mxml not reflected in browser

I have a Flex project and am using a trial version of Adobe Flex Builder 3 to build it.
I do the following:
1. Change an mxml file in the project (for simplicity, assume I changed the text in a label).
2. Right click on the project, Export, Release Build
3. Right click on the main mxml file, Run As -> Flex Application
A browser window opens, everything runs fine, but I cannot see the change I made in step 1.
I thought the browser (tried with IE, Chrome) might be caching stuff, so I tried after deleting all temporary internet files, but I see the same behavior.
Am I being dumb and missing something or is there something going on here?
Check the timestamp on your .swf in your release folder. You might be running from a different folder.
Check the URL of the flex app in your browser to see if its running the debug version or the release version.
file:///C:/ASWorkspace/FlexTest/bin-debug/FlexTest.html
When you run a flex app, flex builder normally runs the debug version. Exporting the release build is done when the project is completed - release build won't have any debug information in it and hence will be compact. If you have selected Build Automatically in the Project menu, the debug version will be recompiled automatically when you save a file. You can just hit F11 to run it.

Why my flex application can not compile sometimes?

Sometimes when I compile my flex app, I got this error
Unable to create source GeneratedAsset31_dataClass. WebCe line 25 1259045578886 1546
But after I cleaned the project, this error disappeared.
It's not a big problem but very annoying and I can not find any clue by search the internet.
Any suggestion?
Your compiled and "generated" .swf file may have been opened in another application while Flex Builder was trying to re-compile or inject code changes back into the .swf.
If that is the case, you can solve the problem and avoid the error by closing the applications that have opened the .swf file before you switch back to Flex Builder and start coding again.
Please note that if you are developing an AIR application you should close the AIR app, or if you are working on a web application close the stand alone flash player if you are testing your app that way.
Web browsers like Firefox, Internet Explorer or Safari are an exception because they don't lock open files and Flex Builder is able to re-compile even though your application is running in the browser, of course you will need to hit refresh in your browser to see any further changes.

Dubuging problem in asp.net?

in my project when i build the project it is giving this message :
To debug this module, change its project build configuration to debug mode. To suppress this message, disable the "Warn inf no user code on launch" debugger option
due to this when i place the break point. break point is not working. can u help me.
Check that the Standard toolbar shows that you are working in Debug mode. This is the most common cause for this problem. This setting controls what mode the Run will use. (Too see this toolbar, right click in the Visual Studio menu area and make sure the 'Standard' toolbar is checked.)
Check that you are not running with ctrl+f5 (which equals Start Without Debugging). This does not match the error message you get, so likely not the answer.
Check that the Solution Configuration does not specify that the project should be built in Release mode. To access this, right click the solution, see properties for the solution and then review the configuration settings for your projects in the configuration dialog editor that pops up.
you're trying to debug your project in Release mode... Switch the project into Debug mode, click Rebuild and then press F5.

Resources