Click here to Skip to main content
15,892,059 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: using iis in vs 2010 Pin
RichardGrimmer11-Apr-12 5:21
RichardGrimmer11-Apr-12 5:21 
GeneralRe: using iis in vs 2010 Pin
dcof11-Apr-12 11:48
dcof11-Apr-12 11:48 
GeneralRe: using iis in vs 2010 Pin
RichardGrimmer11-Apr-12 21:21
RichardGrimmer11-Apr-12 21:21 
AnswerRe: using iis in vs 2010 Pin
jkirkerx11-Apr-12 11:58
professionaljkirkerx11-Apr-12 11:58 
GeneralRe: using iis in vs 2010 Pin
RichardGrimmer11-Apr-12 21:23
RichardGrimmer11-Apr-12 21:23 
GeneralRe: using iis in vs 2010 Pin
jkirkerx12-Apr-12 6:47
professionaljkirkerx12-Apr-12 6:47 
GeneralRe: using iis in vs 2010 Pin
dcof12-Apr-12 9:42
dcof12-Apr-12 9:42 
GeneralRe: using iis in vs 2010 Pin
jkirkerx12-Apr-12 11:10
professionaljkirkerx12-Apr-12 11:10 
This is my file, for the first file you posted, in which you just showed the tail of it. My file says not to use IIS Server for debugging, Auto Assign the Port, so instead of 8080, use 2566.

I don't how to change the values using Visual Studio, I did that back in 2005, and have never changed them since. You should be able to hand edit your file, to get you going in Visual Studio at least, by pressing F5 to run your program.

XML
<ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>2566</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>
          </IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>


This is the 2nd file you posted, csproj. StartAction Tag on mine is CurrentPage, you don't need to edit this file, your file says always start at the beginning.

Once again, I don't how to change the values in the file using Visual Studio, but changing the values in the 2 files will allow you to load the project, press F5, and run the web application in your default browser. The default browser is the one you choose, when the Windows Dialog asked, use this as default browser.

XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectView>ShowAllFiles</ProjectView>
  </PropertyGroup>
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" xmlns="">
        <WebProjectProperties>
          <StartPageUrl>
          </StartPageUrl>
          <StartAction>CurrentPage</StartAction>
          <AspNetDebugging>True</AspNetDebugging>
          <SilverlightDebugging>False</SilverlightDebugging>
          <NativeDebugging>False</NativeDebugging>
          <SQLDebugging>False</SQLDebugging>
          <PublishCopyOption>RunFiles</PublishCopyOption>
          <PublishTargetLocation>
          </PublishTargetLocation>
          <PublishDeleteAllFiles>False</PublishDeleteAllFiles>
          <PublishCopyAppData>True</PublishCopyAppData>
          <ExternalProgram>
          </ExternalProgram>
          <StartExternalURL>
          </StartExternalURL>
          <StartCmdLineArguments>
          </StartCmdLineArguments>
          <StartWorkingDirectory>
          </StartWorkingDirectory>
          <EnableENC>False</EnableENC>
          <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
          <EnableWcfTestClientForSVC>False</EnableWcfTestClientForSVC>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>


Setting up IIS7 on Vista and Win7 for ASP.Net is sort of tricky. Even I have trouble with it. I wrote a program that does it for me automatically. I will post something you can paste in cmd window and run.
GeneralRe: using iis in vs 2010 Pin
dcof12-Apr-12 12:22
dcof12-Apr-12 12:22 
GeneralRe: using iis in vs 2010 Pin
jkirkerx12-Apr-12 12:53
professionaljkirkerx12-Apr-12 12:53 
GeneralRe: using iis in vs 2010 Pin
dcof12-Apr-12 18:15
dcof12-Apr-12 18:15 
GeneralRe: using iis in vs 2010 Pin
jkirkerx13-Apr-12 7:38
professionaljkirkerx13-Apr-12 7:38 
GeneralRe: using iis in vs 2010 Pin
dcof13-Apr-12 9:08
dcof13-Apr-12 9:08 
GeneralRe: using iis in vs 2010 Pin
jkirkerx13-Apr-12 9:42
professionaljkirkerx13-Apr-12 9:42 
GeneralRe: using iis in vs 2010 Pin
dcof12-Apr-12 20:01
dcof12-Apr-12 20:01 
GeneralRe: using iis in vs 2010 Pin
jkirkerx13-Apr-12 7:48
professionaljkirkerx13-Apr-12 7:48 
GeneralRe: using iis in vs 2010 Pin
dcof13-Apr-12 8:51
dcof13-Apr-12 8:51 
GeneralRe: using iis in vs 2010 Pin
jkirkerx13-Apr-12 10:02
professionaljkirkerx13-Apr-12 10:02 
GeneralPkgMgr script to install IIS7 Pin
jkirkerx12-Apr-12 11:32
professionaljkirkerx12-Apr-12 11:32 
GeneralRe: using iis in vs 2010 Pin
dcof12-Apr-12 6:58
dcof12-Apr-12 6:58 
GeneralRe: using iis in vs 2010 Pin
SaurabhSavaliya13-Apr-12 0:01
SaurabhSavaliya13-Apr-12 0:01 
GeneralRe: using iis in vs 2010 Pin
dcof13-Apr-12 4:31
dcof13-Apr-12 4:31 
QuestionRemote Desktop Access Pin
Member 865068311-Apr-12 1:48
Member 865068311-Apr-12 1:48 
AnswerRe: Remote Desktop Access Pin
Not Active11-Apr-12 2:33
mentorNot Active11-Apr-12 2:33 
AnswerRe: Remote Desktop Access Pin
fjdiewornncalwe11-Apr-12 9:17
professionalfjdiewornncalwe11-Apr-12 9:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.