I asked this question in another asp.net group, but I have not seen a reponse for a day. Thus, I thought I would ask the following question in this general C# asp.net forum since I do not know what other forum to ask this question to.
My ultimate goal is to be able to setup IIS as the default web server when I am working within the C# web form 2010.(I basically want to use the url:http://msdn.microsoft.com/en-us/library/ms178108.aspx.
This reference is called "How to: Specify the Web Server for Web Projects in Visual Studio".)
I am trying to be able to open a C# 2010 web form using visual studio.net 2010 professional version with the sp1 service pack installed. I am also using the hotfix that can be applied for the vs 2010 sp1 problems that are listed on the internet.
I also want to mention that the code file that I obtained from another company uses team server foundation and my company does does not use team serever foundation.
I have opened the file in the following manner:
1. When I open the solution file, there is a message asking if I should work offline since I do not have access to team server foundation. I say that is ok. The next error message is pointing to a remote name that can not be resolved. I do not have access
to the remote name. The projfect folder where I can access the web application is not available.
2. When I open up visual studio.net 2010 and select open web site, I select the proejct folder that I want. I do not see the options listed in the link:http://msdn.microsoft.com/en-us/library/ms178108.aspx.
I do see start-->where I can use the default server or change to a custom server.
Thus can you tell me and/or point me to a reference that I can use to solve my problem?
The support.csproj files are NOT available in visual studio.net 2010. I am getting the error message "error : The Web Application Project Support is configured to use IIS. The Web Server "Http://localhost:8080/rpc'
could not be found.
I have not completed the steps in the url link that I listed when I originally listed my problem.
Can you tell what you think I should do?
Here is what the csproj files look like when I open them up in notepad:
The following is support C# project type file listed below, If you want me to post more code from this web application, let me
peggy_girl
Member
33 Points
47 Posts
C# web form 2010 problem
Apr 12, 2012 02:40 PM|LINK
I asked this question in another asp.net group, but I have not seen a reponse for a day. Thus, I thought I would ask the following question in this general C# asp.net forum since I do not know what other forum to ask this question to.
My ultimate goal is to be able to setup IIS as the default web server when I am working within the C# web form 2010.(I basically want to use the url:http://msdn.microsoft.com/en-us/library/ms178108.aspx. This reference is called "How to: Specify the Web Server for Web Projects in Visual Studio".)
I am trying to be able to open a C# 2010 web form using visual studio.net 2010 professional version with the sp1 service pack installed. I am also using the hotfix that can be applied for the vs 2010 sp1 problems that are listed on the internet.
I also want to mention that the code file that I obtained from another company uses team server foundation and my company does does not use team serever foundation.
I have opened the file in the following manner:
1. When I open the solution file, there is a message asking if I should work offline since I do not have access to team server foundation. I say that is ok. The next error message is pointing to a remote name that can not be resolved. I do not have access to the remote name. The projfect folder where I can access the web application is not available.
2. When I open up visual studio.net 2010 and select open web site, I select the proejct folder that I want. I do not see the options listed in the link:http://msdn.microsoft.com/en-us/library/ms178108.aspx. I do see start-->where I can use the default server or change to a custom server.
Thus can you tell me and/or point me to a reference that I can use to solve my problem?
sreejukg
All-Star
27607 Points
4122 Posts
Re: C# web form 2010 problem
Apr 12, 2012 02:46 PM|LINK
In the project folder, are you able to find .csproj file and try to open this in VS 2010, is it opens?
The thing you need to make sure is whether you have the project files available?
My Blog
peggy_girl
Member
33 Points
47 Posts
Re: C# web form 2010 problem
Apr 12, 2012 07:57 PM|LINK
The support.csproj files are NOT available in visual studio.net 2010. I am getting the error message "error : The Web Application Project Support is configured to use IIS. The Web Server "Http://localhost:8080/rpc' could not be found.
I have not completed the steps in the url link that I listed when I originally listed my problem.
Can you tell what you think I should do?
Here is what the csproj files look like when I open them up in notepad:
The following is support C# project type file listed below, If you want me to post more code from this web application, let me
know.
<ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> <UseIIS>True</UseIIS> <AutoAssignPort>False</AutoAssignPort> <DevelopmentServerPort>3358</DevelopmentServerPort> <DevelopmentServerVPath>/SUPPORT</DevelopmentServerVPath> <IISUrl>http://localhost:8080/support</IISUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerUrl> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> </WebProjectProperties> </FlavorProperties> </VisualStudio>
support.csproj user file listed below
<?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> <StartPageUrl>PortalHome.aspx</StartPageUrl> <StartAction>SpecificPage</StartAction> <AspNetDebugging>True</AspNetDebugging> <SilverlightDebugging>False</SilverlightDebugging> <NativeDebugging>False</NativeDebugging> <SQLDebugging>False</SQLDebugging> <ExternalProgram> </ExternalProgram> <StartExternalURL> </StartExternalURL> <StartCmdLineArguments> </StartCmdLineArguments> <StartWorkingDirectory> </StartWorkingDirectory> <EnableENC>False</EnableENC> <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug> </WebProjectProperties> </FlavorProperties> </VisualStudio> </ProjectExtensions> </Project>
support.csproj vspscc file listed below
"" { "FILE_VERSION" = "9237" "ENLISTMENT_CHOICE" = "NEVER" "PROJECT_FILE_RELATIVE_PATH" = "" "NUMBER_OF_EXCLUDED_FILES" = "0" "ORIGINAL_PROJECT_FILE_PATH" = "" "NUMBER_OF_NESTED_PROJECTS" = "0" "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" }