tag:blogger.com,1999:blog-5704450.post7081120603683676706..comments2024-03-16T05:52:16.120-07:00Comments on Vishal Joshi's Tangent: Web 1-Click Publish with VS 2010Vishal R Joshihttp://www.blogger.com/profile/05217117734084631137noreply@blogger.comBlogger74125tag:blogger.com,1999:blog-5704450.post-10226782251830072332011-10-06T07:18:58.865-07:002011-10-06T07:18:58.865-07:00Used a lot of this in my final year IS Project.......Used a lot of this in my final year IS Project....complete lifesaver!<br />Thank you so much Vishal :)<br /><br />Minal<br />(South Africa)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-78468705017018607552011-09-23T05:12:35.517-07:002011-09-23T05:12:35.517-07:00Yes, i agree that Visual Studio 2010 has great fea...Yes, i agree that Visual Studio 2010 has great features to make web deployment easier….. It has great features.. thanks!domain registerhttp://www.register-web-domain.innoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-43492770621975443862011-06-28T12:54:27.059-07:002011-06-28T12:54:27.059-07:00Hi Vishal,
Thanks for this post.Really really help...Hi Vishal,<br />Thanks for this post.Really really helpful.<br />I am using this method to publish my web application to a diferent directory in the same way you have mentioned in this post.<br /><br />But I am facing following major issues -<br />1) I have app_code folder in my project.But after publishing I am not getting all files in the destination 'app_code' folder and thats why I am getting error "class not defined" when I execute my application. I think app_code folder should compile completely??<br /><br />2)I want to use Web.Release.Config while publishing and I have already made all required chnages as per you told in your post. But When I run my applicationon that server I am getting error related to Web.config(I have error in my project as I haev mentioned in above point 1). Its asking to include in root web.config. I know that there is some error on my page but why it is asking to include even if I used release mode?<br /><br />Please help me.<br /><br />Thanks,<br />PriyaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-75903168143608420322011-06-09T10:49:55.609-07:002011-06-09T10:49:55.609-07:00Hi Anonymous,
I am really sorry to hear that y...Hi Anonymous,<br /> I am really sorry to hear that you are facing these problem. Do you want to send out an email at Vishal.Joshi@Microsoft.com with the errors that you are facing and I will be happy to help.<br /> Also if you would like to get on a phone to sort this out then please do let me know.<br />thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-52062973077027558582011-06-09T03:36:01.021-07:002011-06-09T03:36:01.021-07:00My god and they said this is supposed to make our ...My god and they said this is supposed to make our life easier...<br />Right now it is a hell<br />For more than two days I am struggling with this and whatever I did I still get an error<br />I nearly read everything about the subject I could find with google<br /><br />I have a very common architecture<br />VS2010 and a remote SQL Server 2008R2 Web server<br />The Web Server is not in a domain but in its one workgroup and it is running only one MVC application as default siteAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-3666778003856184572011-03-25T11:12:59.007-07:002011-03-25T11:12:59.007-07:00Vishal:
Thanks much. I've looked over the pa...Vishal:<br /><br />Thanks much. I've looked over the page, and can see that there is some considerably configuration in front of me still, but at least it's nice to know what the problem is.<br /><br />Best,<br />JohnAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-72731661750488855172011-03-24T14:48:05.401-07:002011-03-24T14:48:05.401-07:00Hi John,
When you set up the remote agent you ...Hi John,<br /> When you set up the remote agent you either set it up for http OR https, it seems like you set it up for http hence the https:// is not working. Check out the technet article at http://technet.microsoft.com/en-us/library/ee461175(WS.10).aspx which should help you on this better.<br />Thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-67623190927713265862011-03-24T14:37:34.010-07:002011-03-24T14:37:34.010-07:00Vishal:
I have a deployment that works great to m...Vishal:<br /><br />I have a deployment that works great to my web server with http, but that fails with https. With https I get a 403 that suggests I check that the remote deployment agent is running. (It clearly is, since it works with http.)<br /><br />Any ideas?<br /><br />Thanks,<br />JohnAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-73065198466397282412011-03-21T11:03:53.509-07:002011-03-21T11:03:53.509-07:00Jyoti,
Can you please send me an email at Vish...Jyoti,<br /> Can you please send me an email at Vishal.Joshi@Microsoft.com and I will connect you with the correct people to discuss Sharepoint deployment more.<br />thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-880171899007576432011-03-21T07:24:40.572-07:002011-03-21T07:24:40.572-07:00Hi,
I am new to sharepoint and TFS. I am using TF...Hi,<br /><br />I am new to sharepoint and TFS. I am using TFS2010, How could i deploy my sharepoint site using TFS.Jyothinoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-17394390659193420252011-03-16T08:06:43.359-07:002011-03-16T08:06:43.359-07:00Hi Sheila,
That setup is described at http://bl...Hi Sheila,<br /> That setup is described at http://blogs.msdn.com/b/webdevtools/archive/2009/06/05/basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx<br />Thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-50442299676756792862011-03-14T14:18:50.691-07:002011-03-14T14:18:50.691-07:00Can you tell me where your blog on how to configur...Can you tell me where your blog on how to configure for an inhouse webserver and database rather than an offsite hosting company is?<br />Thanks,<br />FinnsSheilahttps://www.blogger.com/profile/16698483932131305638noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-86799126983985977322010-12-10T11:50:56.216-08:002010-12-10T11:50:56.216-08:00Hi Hnieef,
This option is available for Web Ap...Hi Hnieef,<br /> This option is available for Web Application Projects i.e. when you do File --> New --> Project --> Web Application Project...<br /> Can you check if you are getting this on VS 2010<br />Thanks<br />vishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-89741427159687091662010-12-10T11:32:07.680-08:002010-12-10T11:32:07.680-08:00really confius. i use vs.net premium and when i cl...really confius. i use vs.net premium and when i click publish web why i dont get same screen with ur publish web. advise me plsssshnieefhttp://hnieef.live.spaces.comnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-85100399175610919412010-12-01T19:26:18.709-08:002010-12-01T19:26:18.709-08:00Q. One issue we've come up against is how to c...Q. One issue we've come up against is how to centralize or distribute the settings. We are three developers working on an app, and if we modify the 1-Click settings for one developer it would be great if we could then copy the settings to the other two developers<br />A. Hi Solomon, sorry for the delay in response. Please click on solution explorer icon to "Show all files" this will show the file ending with Publish.xml. this file contains the Publish profile settings. You can share this file across users and share the settings although that is not an official solution. Longer term we will look into fixing this.<br />thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-10946761555333639272010-12-01T19:14:19.093-08:002010-12-01T19:14:19.093-08:00Hi Lou,
If the certificate is not trusted you ...Hi Lou,<br /> If the certificate is not trusted you will have to click "Allow untrusted certificates"<br />Thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-78101965975255774622010-11-04T00:46:46.241-07:002010-11-04T00:46:46.241-07:00Hi Salomon,
sorry for the delay in response, yo...Hi Salomon,<br /> sorry for the delay in response, you can go to Solution Explorer and click "Show All Files" button then you should find a file called ProjectName.Publish.xml this file contains all the settings which you can eventually check into source code control (not recommended but it is a back door way) and then that can be shared with your team.. <br /> the password will not be saved correctly so the only thing which you will have to manually type after every sync would be the password...<br />Hope this helps<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-63426064197255769622010-11-03T14:35:03.572-07:002010-11-03T14:35:03.572-07:00I don't know why the serverIP has been removed...I don't know why the serverIP has been removed from the post but it should be read as https://serverIP:8172/MsDeploy.axd? on the Service URL box.<br /><br />Thanks,<br />LouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-10338083642103956052010-11-03T07:24:27.590-07:002010-11-03T07:24:27.590-07:00Hi Vishal,
I finally got Windows Server 2008 for ...Hi Vishal,<br /><br />I finally got Windows Server 2008 for the test server so now I could follow closely to your instruction, and IIS7 has been installed. I still, however, got this error when publishing:<br /><br />Web deployment task failed.(Could not complete the request to remote agent URL 'https://:8172/MsDeploy.axd?site=test.mysite.com'.)<br />This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.<br />Error details:<br />Could not complete the request to remote agent URL 'https://:8172/MsDeploy.axd?site=test.mysite.com'.<br />Unable to connect to the remote server<br />No connection could be made because the target machine actively refused it :8172<br /><br />The following have been done in the server:<br /><br />- Web Deploy is installed <br />- net start msdepsvc is started<br />- Port 80 is open<br /><br />I don't nkow what else that I missed? Should I install SSL (Certificate) as well?<br /><br />Thanks,<br />LouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-76256123223596791852010-10-29T09:07:25.763-07:002010-10-29T09:07:25.763-07:00Sorry, the error for applying certificate saying &...Sorry, the error for applying certificate saying 'This request may be canceled' even though I've just created one (certreq.cer).<br /><br />Thanks, LouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-69158445506065623722010-10-29T08:47:25.618-07:002010-10-29T08:47:25.618-07:00Hi Vishal, thanks for the info. I have a short sch...Hi Vishal, thanks for the info. I have a short schedule to get my website published for my company internally, and I actually did try some, but got some errors:<br /><br />1/ Everytime I create a certificate then apply it, it said it is expired. Just curious, for windows server 2008 does it need a certificate as well?<br /><br />2/ When I type mysite.mycompany.com, it gives http 403 error with 'This website requires you to log in' even though I added Login.aspx in the 'Documents' tab.<br /><br />3/ In 'Home Directory' tab, would the 'Local Path' be pointed to the bin directory?<br /><br />4/ I didn't see the mdf file in the server, how would I do that?<br /><br />5/ Do I need to copy web.config manually to the bin directory?<br /><br />6/ How would I configure when one of my connectionString points to MySql database?<br /><br />Thanks very much for your help.<br />LouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-10367228262426688212010-10-26T14:28:10.337-07:002010-10-26T14:28:10.337-07:00Hi Lou,
On Win 2k3 it is not possible to use M...Hi Lou,<br /> On Win 2k3 it is not possible to use Msdeploy.axd... It is possible only on IIS 7 and above... For Win2k3 you have to use Remote Agent style URLs and you have to be an admin on the server. You can look at the URL format by hitting the blue "?" button next to Service URL on Publish dialog.<br /> I will try to write a blog post on when to use which type of publishing but before I get to it do note the https://server:8172/msdeploy.axd?site=xyz format can be used only with IIS7 and above.<br />Thanks<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-91688037919417211682010-10-26T11:36:45.117-07:002010-10-26T11:36:45.117-07:00Hi Vishal, below is the error message that I got. ...Hi Vishal, below is the error message that I got. I used the default port 443 for https; Web Deployment Tool already installed in the Server, and Web Deployment Agent Service is running on the Server.<br /><br />Can you help please since it's my first time to publish the website on Windows Server 2003.<br /><br />Thanks,<br />Lou<br /><br /><br />Web deployment task failed.(Could not complete the request to remote agent URL 'https:///MsDeploy.axd?site=aptest.mitel.com'.)<br />This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.<br />Error details:<br />Could not complete the request to remote agent URL 'https:///MsDeploy.axd?site=aptest.mitel.com'.<br />Unable to connect to the remote server<br />No connection could be made because the target machine actively refused it :443Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-14932178169067049682010-10-26T09:12:29.344-07:002010-10-26T09:12:29.344-07:00Hi Vishal, I've got the domain name and have i...Hi Vishal, I've got the domain name and have installed Web Deployment Tool on the server. <br /><br />Publishing still failed however, with the same error as before. The link you sent (.../basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx) is for Windows Server 2008 only, and I can't find it for Windows Server 2003.<br /><br />Web Deployment Agent Service is running on the server.<br /><br />I'm not sure what else that I missed...<br />Thanks,<br />LouAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-65281580389379481792010-10-20T13:41:39.071-07:002010-10-20T13:41:39.071-07:00Hi Lou,
Is your server setup with MsDeploy Serv...Hi Lou,<br /> Is your server setup with MsDeploy Server side configuration... Check http://blogs.msdn.com/webdevtools/archive/2009/06/05/basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx to make sure that step is enabled... Also you need to provide port number in your URL i.e. https://ServerIP:8172/MsDeploy.axd?site=Default Web Site/myApp...<br /><br />think about the URL in the following way:<br /><br />https://ServerIP:8172/MsDeploy.axd?site=Default Web Site/myApp<br /><br />ServerIP - This is the IP address that you might have for your server<br />:8172 - This is the portnumber on which IIS Remote management service will be listening...<br />/MsDeploy.axd - This the handler which will be called by IIS Remote management service and will be passed your site name...<br />site=Default Web Site/myapp - This is the actual site/application on the server that you are publishing it... IP address just gives you the pointer of the server not the site under it... The site name has to be something like "Default Web Site/App1"... If you do not have a sub app under "Default Web Site" and want to publish directly to the root of the site then you can ignore /App1...<br />Hope this helps<br />VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.com