Add external browser to Apanta Studio 3 - aptana

I am trying to add an external browser to Aptana Studio 3 from preferences/Web Browsers and then NEW, which gives me the "Add External Browser" dialog.
When using the "browse" option to point Aptana to Safari in the Applications folder, it gives me a "The location value is not a valid path name" error.
location shows as: /Applications/Safari.app
If I change that to: /Applications/Safari/Contents/MacOs/Safari.app
its still gives me the error.
What should the correct pathname be?
Thanks
OK found it:
/Applications/Safari.app/Contents/MacOS/Safari
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
/Applications/Firefox.app/Contents/MacOS/firefox-bin

Somehow OP's solution didn't work out for me. However, if you edit the launch configuration using Run > Run configurations... and select your launch config, in the Main tab, where it says "Browser executable" it will actually accept something like /Applications/Google Chrome.app (just use the browse button)

Related

Visual studio - Start without debugging - localhost connected but doesn't open it in a browser

I opened my older project after the last VS update and now when I use "Start without debugging", IIS Express shows that it's connected to the localhost but it doesn't actually open the site in a browser.
localhost connected
Note: When I type the localhost address in the browser manually, the site works. Also, when I start with Debugging, it works normally (automatically) opens the browser with the site.
Everything worked fine before the update, so I just rebuilt the solution. I Don't want to screw up VS settings.
Not sure if that's the right settings
Any idea what could be wrong, please? Or what else info would help to identify the issue?
There are three methods please try one by one:
Set the startup option in vs to browser instead of project.
Open the launchSettings.json file under the project (the file is located in the Properties folder). Change the "lauchBrowser" option to true.
Set the startup default browser to another browser on your computer.

Visual Studio can not preview project in browser

For some reason I have one project I can not preview in a browser. It seems it can open the others fine. In Google Chrome it says "Server error" and IE reports Page can not be displayed. Nothing changed. Any ideas?
This turned out to be a result of no start up project being selected. Simply going to Solution > Properties > then selecting a start up project fixed the issue.
Or going to Solution > Properties > RightClick file> Select Brows with > choose your default browser .

Visual Studio | ASP.NET Configuration error

I have a problem as I have struggled with for a week.
Now I give up! I really can not figure out how to solve it. Every time I open the ASP.NET Configuration in VS10, then comes the first with this error:
**An error was encountered. Please return to the previous page and try again. **
If I then press:
How do I Use this Tool
so this comes up:
**Tool Has Timed Out
As a security measure, the Web Site Administration Tool times out after a period of inactivity. Changes to machine.config or web.config may also result in the tool needing to be restarted. To continue configuring your web site, restart the tool. **
Some who can answer me on what's happening here?
"Special characters in the path may be the problem, according to the posts." as Posted above by Dave Swersky
THIS worked perfectly for me! I had a special character ("#") in my folder path I removed this and removed spaces for good measure!
I was getting the error "Tool has timed out" among other errors when accessing the WSAT(Web site administration tool) from the ASP.NET configuration menu item.
I saw a post somewhere else that said the problems was solved when the default browser was changed to Internet Explorer. I have been using Firefox and have the exact same problem. When I changed the default browser to IE, the configuration page came up with no problem. But it won't work twice in a row without going in and setting the default browser back to IE each time. When I go back in to Program Access and Defaults, "Use by current browser" is selected. I have to reselect IE, and then it will work one time.
Judging by the Connect site, this error has been reported and is not well understood:
http://connect.microsoft.com/VisualStudio/feedback/details/118567/an-error-was-encountered-please-return-to-the-previous-page-and-try-again
Special characters in the path may be the problem, according to the posts.
This is what worked for me.
I'm using Visual Studio 2010 trying to create the membership role. I was trying to use the ASP.NET Configuration in Visual Studio.
Set the 'Default Browser' to Internet Explore.
To do this:
Right click on one of the .aspx pages you have under "Solution Explorer".
Select "Browse With..."
Select Internet Explore and Click on Set as Default.
Close the box.
Go back and click on "ASP.NET Configuration"
This will automatically open Internet Explorer.
Problem Solved :D
I guess what I was doing wrong was using Firefox as the default browser with Visual Studio. I'm guessing Visual Studio works good together with Internet Explorer since Momma and Daddy made them together (awww how cute)
The issue might be related to an application path that has spaces. After googling I managed to bypass the issue by appending the application path to the url manually ie.
http://localhost:{your_port_here}/asp.netwebadminfiles/default.aspx?**applicationPhysicalPath={path_to_your_application}&applicationUrl=/**
As a firefox user, I closed firefox then executed the "ASP.NET Configuration" option in VS2010. It automatically opens firefox (default browser) and now I am seeing WAT page contents.

ASP.Net error "Unable to start program http://localhost:123/myapp/"

Well since i installed IE 8 i get this error so i cant debug my asp.net page :(
"Unable to start program http://localhost:123/myapp/"
Could not find the element(or some thing like that translated from swe)
What must i do to get rid of this error? and IE more or less hangs after this, the window does respond but it only loads half of it components...
Edit: Is there any way to set what browser to use when debugging befor i installed IE8 i normaly used opera and it worked like i wanted it to...
i think you IE 8 is not properly installed try setting other browser as default browser.
if you don't get this error then it means you have to re install ie 8 again
Hi all these type of user i had resolved this error so u also must try it as follow below steps:
This is one of the various errors that appear when you are debugging and may haunt you until you do the following fix:-
In the Internet Explorer, "Tools" Menu, select "Internet Options".
Switch to "Security" Tab.
Click on "Internet" (The Globe Icon. Its actually the default selected).
Click on "Custom Level" in the bottom.
Scroll down to find the "User Authentication" section.
Select "Automatic logon with current username and password".
OR Anonymous logon.
Click "Ok" twice to exit.
Restart IE. (You don't need to reinstall your browser.)
Maybe you are facing this known issue? This blog post also describes a workaround.

Change default browser by project or solution in Visual Studio 2008?

i have to work on various web projects for different customers. some use IE only, some Firefox and other browsers in their companys.
i would like to debug project/solution A with IE and project/solution B with firefox (and so on) by just hitting F5 or "view in browser".
I do NOT want to switch the default browser in visual studio via:
right click on an .aspx file in the solution explorer
browse with...
selecting the browser i want to use
pressing "set as default" to make it remember my choise (optional)
everytime i have to work on another project/solution.
Can i save the default browser by solution or project and NOT via VS global settings somehow?
do you have any hint for me how to archive this? is there maybe even an addin for this?
thanks, toebens
In the project properties, in the Web section you can have it start an external application with parameters at the start of debug (F5) so you could specify the path of the browser as the Start External program path and the http://servername:port/virtualdirectory as the command line argument
alt text http://img142.imageshack.us/img142/3708/projectprops.gif

Resources