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?
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
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!
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.
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.
avinash_btbp...
Member
10 Points
8 Posts
Hosting asp.net web site on ftp server
Mar 02, 2012 02:55 AM|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?
Regards,
Avinash
shwetamber
Participant
1252 Points
294 Posts
Re: Hosting asp.net web site on ftp server
Mar 02, 2012 03:24 AM|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
Regards
Shwetamber
necro_mancer
Star
8169 Points
1595 Posts
Re: Hosting asp.net web site on ftp server
Mar 02, 2012 05:14 AM|LINK
hi avinash.
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!
Professional SQL 2008 R2 Service
HostingASPNe...
All-Star
15922 Points
2982 Posts
Re: Hosting asp.net web site on ftp server
Mar 02, 2012 06:44 AM|LINK
Hello,
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.
Regards
Free ASP.NET Examples and source code.
Topspy
Contributor
3923 Points
836 Posts
Re: Hosting asp.net web site on ftp server
Mar 04, 2012 02:20 AM|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.
Asp.net Hosting | Windows Hosting | SQL Server Hosting
kattyjems
Member
120 Points
50 Posts
Re: Hosting asp.net web site on ftp server
Mar 04, 2012 08:15 AM|LINK
Hi,
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.