Hello I have a problem with a web setup when ran on Server 2012 Essentials.
The setup is built with VS2010 (TargetPlatform is set to x86 in deployment project properties).
Web site files are correctly copied to 'C:\Program Files (x86)\Windows Server\Bin\webapps\site\MyWebSite', but the application physical path ends with 'C:\Program Files\Windows Server\Bin\webapps\site\MyWebSite'.
Of course this last path is wrong and the application won't work.
The custom action that creates the application obviously receives incorrect information. What is the name of the custom action that does that?
Web site files are correctly copied to 'C:\Program Files (x86)\Windows Server\Bin\webapps\site\MyWebSite', but the application physical path ends with 'C:\Program Files\Windows Server\Bin\webapps\site\MyWebSite'.
To deploy a Web application to a Web server, you need create a Web Setup project,
build it, copy it to the Web server computer, and run the installer to install the application on the server using the settings defined in your Web Setup project.
If you create your setup project using 64 bit computer, I think it's ok when you copy it to 'C:\Program Files (x86)\Windows Server\Bin\webapps\site\MyWebSite'.
hope it helps you,
Kind regards
Please mark the replies as answers if they help or unmark if not.
Feedback to us
team7e_focal...
0 Points
1 Post
VS2010 Web Setup Project set Web Application physical path incorrectly on Server 2012 Essentials
Jan 29, 2013 01:15 PM|LINK
Hello I have a problem with a web setup when ran on Server 2012 Essentials.
The setup is built with VS2010 (TargetPlatform is set to x86 in deployment project properties).
Web site files are correctly copied to 'C:\Program Files (x86)\Windows Server\Bin\webapps\site\MyWebSite', but the application physical path ends with 'C:\Program Files\Windows Server\Bin\webapps\site\MyWebSite'.
Of course this last path is wrong and the application won't work.
The custom action that creates the application obviously receives incorrect information. What is the name of the custom action that does that?
Angie xu - M...
All-Star
20267 Points
1726 Posts
Microsoft
Re: VS2010 Web Setup Project set Web Application physical path incorrectly on Server 2012 Essenti...
Feb 04, 2013 06:25 AM|LINK
Hi
To deploy a Web application to a Web server, you need create a Web Setup project, build it, copy it to the Web server computer, and run the installer to install the application on the server using the settings defined in your Web Setup project.
If you create your setup project using 64 bit computer, I think it's ok when you copy it to 'C:\Program Files (x86)\Windows Server\Bin\webapps\site\MyWebSite'.
hope it helps you,
Kind regards
Feedback to us
Develop and promote your apps in Windows Store