Last post Mar 04, 2012 09:15 AM by kattyjems
Mar 02, 2012 03:55 AM|avinash_btbp.org|LINK
I have created a asp.net web application,I want to update these pages on ftp server. Previously the site is running on ftp server. But all are html pages and flash. first time i m trying for hosting asp.net pages on ftp server.
When I am uploading the .aspx and .aspx.cs pages on server (using filezilla) and trying to access the pages it gives an error (runtime exception, permission exception).
I have used wcf references in application. so where to keep this references on ftp server?
How to host a asp.net site to ftp server?
Which steps I need to follow to make it working?
Mar 02, 2012 04:24 AM|shwetamber|LINK
First Publish your website on Local . Then All Classes will move to bin folder in dll . Then Upload . Remove all Breakpoints before publish and contact your hosting provider if still gettting error . Make sure there is no compiletion error in your website.
For Publish - Build --> Publish Website --> browse folder where to Publish --> OK
Mar 02, 2012 06:14 AM|necro_mancer|LINK
may I please know how did you host your site? Is that on a shared server or do you run your own server?
Please be advised that in order to host your ASP.NET website properly, you need to "publish" your asp.net project properly. You can either use WebDeploy or FTP to publish your project.
Please mark this response as an "answer" if it helps you. Thanks heaps!
Mar 02, 2012 07:44 AM|HostingASPNet|LINK
FTP is for File Transfer Protocol, and it could be used to copy/deploy your website on some hosting server. To host your ASP.NET website you will need a web server (IIS) and the properly .NET Framework installed. You could start with hosting your site on shared
ASP.NET hosting and upgrade later if needed.
Mar 04, 2012 03:20 AM|Topspy|LINK
if it's from hosting space, make sure asp.net is supported and configured with the correct .net version. Just live all explanation above, there're many factors to concern about. You might contact hosting support for further fix if no luck on your end.
Mar 04, 2012 09:15 AM|kattyjems|LINK
First of all build your web site then all the classes will be get converted into the dll.
Then open the build folder and copy that folder into the FTP that you have.
You may use FileZilla for FTP transactions.