Note that there are some explanatory texts on larger screens.

plurals
  1. POAsp.net web application compiling, but not launching the browser when the application is run (VS 2010)
    primarykey
    data
    text
    <p>I have a Web Application that I received from another developer, when I first opened the solution in Visual Studio 2010, it gave a message that the URL for the application has not been created in IIS and do I want Visual Studio to set up a virtual folder. I clicked "yes", and in the IIS manager I see that the virtual folder has been created. I also went to directory security for the virtual folder and enabled <em>integrated windows authentication</em>.</p> <p>The problem is that when I try launch the application, changes to "running", but a browser windows is not opened and if I look in <em>inetpub\wwwroot</em> I do not see a folder for my application. Another thing I noticed, is that in the properties for the virtual folder in IIS, under the tab ASP.Net, there is a dropdown box called <em>ASP.Net version</em>; this dropdown box only has options 2.0.50727 and 4.0.30319 whereas the application that I am trying to launch is targetting .Net framework 3.5. The .Net framework 3.5 is installed on the computer so I have no idea why it is not being shown in this dropdown box. Maybe it is relevant to the problem I am experiencing?? The IIS version running on my computer is IIS 6.</p> <p>Does anyone know what could be going wrong here and how I can fix it? Thanks.</p> <p>EDIT: Ok. Now I am a step further. I have changed the <em>start action</em> under the <em>Web</em> section of the solution properties to be <em>Specific page: Default.aspx</em>; this setting was on <em>Don't open a page</em>. (Thanks, anirudh4444 for this info). Now the browser opens when I click run, and I briefly see it attempting to go to the correct url (namely, <em>http://localhost/ripcord/default.aspx</em>), but it immediately changes to <em>http://www.ripcord.co.za/default.aspx</em>, which is the site where this project was previously hosted. It then displays "The remote server returned an error: (400) Bad Request." If I manually put in the local url then I get a popup box showing asking me for a username and password.</p> <p>EDIT 2: I added a stack trace here, but have removed it because it is not relevant to the problem that I am encountering. This stack trace, I have determined, is actually showing an exception occurring on the remote site. My problem is that when I try and navigate to <em>http://localhost/ripcord</em> that it is redirecting to the remote site. I am needing to stop it doing that and instead execute the application locally.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload