How To Publish .NET MVC Application To A Free Host

Feb 18, 2011

I'm building an ASP.NET MVC application and I'm trying to deploy it on a free host (0000free) which does support ASP.NET. I tried a couple of things, but none of them worked (i.e. I only see the directory structure when I browse to my web site):

Publishing to a local folder and then copying the published files via ftp over to my host (in the public_html directory).
Publishing via ftp to the root folder: ftp.mywebsite.com
Publishing via ftp to the public_html folder: ftp.mywebsite.com/public_html

Usually I would just drop the html files in the public_html folder, but I'm getting the feeling that the deployment process for an MVC application is slightly different. Do I have to modify the Web.config or some other filer? How does one usually deploy an MVC application (on a free host)?

Update:I have learned that the host uses Mono and supports .NET 4.0, but I'm still not able to deploy.

I have Visual Studio 2010 and I used its Publish Feature (i.e. right click on the project name and click publish) and I tried several things:

Publish method: FTP to the root folder.
Publish method: FTP to the publich_html folder.
Publish method: File System to the root folder.
Publish method: File System to the publich_html folder.
Publish method: File System to a local directory on my computer and then FTP to root and also tried the public_html folder.

I went into the cPanel (control panel) to try and see if ASP.NET has to be added/enabled for my web site, but I didn't see anything there.I can't browse to Index.aspx nor can I redirect to it from index.html (as suggested from other posts on the host forum), right now I have a link from index.html to Index.aspx but it's not working either (see http://www.mydevarmy.com)I've also tried renaming Index.aspx to Default.aspx, but that doesn't work either.

The search utility of the forum of the host is somewhat weak, so I use google to search their forum: http://www.google.com/search?q=publish+asp.net+site%3A0000free.com%2Fforum%2F&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

I've been reading Pro ASP.NET MVC Framework and they have a chapter about publishing, but it doesn't provide any specific information with respect to the location of publishing, this is all they say (and it's not very helpful in my case):

Where Should I Put My Application?You can deploy your application to any folder on the server. When IIS first installs, it automatically creates a folder for a web site called Default Web Site at c:Inetpubwwwroot, but you shouldn't feel any obligation to put your application files there. It's very common to host applications on a different physical drive from the operating system (e.g., in e:websites example.com). It's entirely up to you, and may be influenced by concerns such as how you plan to back up the server.


Here is the error I get when I try to view my Index.aspx page:Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)

Description: HTTP 500. Error processing request.

Stack Trace:System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0

View 2 Replies


Similar Messages:

Host .net In Free Hosting Service?

Jan 11, 2011

I am tired of the flase advertise, Only recommand on free host servers that you are using, If you can please also post you site url,I need to host my facebook Ifame application, because I didn't succeed to work in development mode (E.g working against the localhost don't render FB tags)If you used cheap server also recommandion and link we be acceptable

View 3 Replies

Configuration :: How To Publish Project And Put It In Host

Dec 18, 2010

I want to publish my project, and upload it to my host but I don't know how to to do that to convert my codes to .dll to protect it ? to take a copy of my database and upload it to the host and bind it all steps needed to complete that successfully

View 2 Replies

Configuration :: Publish Site To Web Host?

Sep 1, 2010

I have set up a development server (Win Server 2003) with IIS 6.0. I have the .NET Framework 2.0 and 4.0 installed. My web host (where my app will run) has .NET 3.5. Will it work for me to set up my development server with 4.0 in IIS, and then create a new website in Visual Studio (2010) that targets the .NET 3.5 framework (aimed at my development server)? want to be able to publish the site to my web host (with .NET 3.5).

View 2 Replies

Configuration :: Publish Web Pages To Host?

Jun 8, 2010

can u plz tell me how can i publish my web pages to host it on registered website?

View 2 Replies

Configuration :: Publish A Website To Remote Host Server?

Feb 1, 2011

We have a virtual server hosted to the third party which we access through remote desktop. We have Sql server 2008 on Windows 2008. I created a website on my local hard drive and now we are ready to deploy. My question is what are the recommendations for publishing websites? What steps I need to take care of? Is it possible not to deploy the "code-behind" files. Incase of hacking of windows server, I do not want somebody to see my .vb files or Is it possbile that I can convert the whole thing except aspx files in to a strong dll?

View 3 Replies

IIS Configuration :: Host Or Publish Website Using Visual Web Developer

Jan 1, 2013

I have designed a website in microsoft visual web developer and i need to host this website in iis. how to done this.

View 1 Replies

Develop .NET Application For Free Method?

Jul 1, 2010

Are Microsoft “Express” editions free to develop on? s there software available that allows a developer to write .NET applications with SQL Server for free, meaning without buying Visual Studio and SQL Server.s long as you buy Windows web hosting (w/ support for .NET and SQL Server), is there software tools you can use to develop for free (Visual Web Developer? SQL Express?)

View 4 Replies

Web Forms :: How To Send Free SMS From Application To Mobile

Jul 13, 2013

I want to send sms from asp.net application.

View 1 Replies

Social Networking :: How To Send Free Mail Through Application

May 10, 2012

I am using asp.net with c#. I want to send free email through my asp.net application. so how could i develop and implement in my web application ?

View 1 Replies

How To Know Websites That Produce Free Source Code For Famous Web Application

Jul 25, 2010

I need to know websites that produce free source code for famous web application

View 2 Replies

How To Publish Web Application In C#

Mar 4, 2011

How to run ASP.NET C# web application locally???

How to publish web application done on Visual Studio 2010, OS windows-7 and after that how to view it locally.

View 1 Replies

How To Host A Web Application

Jan 22, 2011

I am looking for a nice article that explains how to host a web application.

View 2 Replies

Publish A WPF Application To A Website?

Sep 13, 2010

I'm using Visual Studio (VS) Professional Edition 2010 and IIS 7. I'd like to publish a wpf application for download from a website. But for some reason, when I go to Build > Publish in VS, select a publishing location, select that users will install the application from a website, and then try to browse to a URL on my machine, VS gives me an error message saying:

To access local IIS Web sites, you must install the following IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibility ASP.NET

I'm not really sure why this is happening. I'm running IIS 7 on my computer, and it was my understanding that Metabase has been rendered obsolete in the latest version of IIS..

View 1 Replies

How To Publish Web Application Without Code

Nov 12, 2011

How i can publish web application without code. I mean when i upload page it's be for example: Default.aspx , Default.aspx.cs , the user can download this pages and edit on code , what i need the user can't see the code after publish such .EXE

View 7 Replies

MVC :: Host Mix Silverlight & .net Web Application?

Mar 4, 2010

I am new to asp.net mvc and don't feel too comfortable to diving 100% into silverlight web application. I done some research and found that asp.net mvc can host silverlight application. That is great new since I want to leverage new technologies.

However, silverlight currently does not support printing and SSRS reporting. My question, can asp.net mvc hosts multiple applications like both silverlight and regular asp.net applications. I can design the asp.net application to handle the reporting and printing.

View 2 Replies

Configuration :: Way To Host Wep Application

Mar 26, 2010

I had developed the 3 tire Web application, so i need to deploy the application to the customer public server.The public server has the Windows Server 20003 R2, how can i deploy my application

View 1 Replies

Configuration :: Host Mvc 2 Application In IIS 7.5

Aug 30, 2010

I have searched high and low on the internet for clear instructions on how to host an mvc 2 application in IIS but without luck. It seems to be from my research that it is anything but straightforward to do.

Imagine i create a new mvc 2 project in visual studio 2010. I want to host this locally on my own IIS server.

View 6 Replies

MVC :: Publish P1 Application In Release Mode?

Oct 2, 2010

I am creating a Console Application and in its code I need to Publish a MVC 3 P1 Application in Release mode.

Just like I do when, in VS2010, I right click the project, click Publish and set the folder to which it should be published.

How can I do this?

Basically I am trying to create a Console Application that publishes an MVC Application and copies some other folders to a Release Folder.

View 3 Replies

Configuration :: Publish A Web Application To The Internet?

Feb 10, 2011

how can I publish a web application to the internet

View 2 Replies

Configuration :: How To Publish Site / MVC Application

Dec 30, 2010

I had first build an database and populated it with various information, set some properties related to FTS and other things.

Now, in the asp.net MVC application, I am able to add the database ServerExplorer->Connect To Database-> Data Source= MS SQL SERVER->Server name->OpAmp-pc. Now, I was unable to add the database by copying the file in app data folder.

My doubt it how can I share the website+ database with my fellow batchmate or put the whole website online.

Build->Publish Sirte, didn't solved the pupose.

View 1 Replies

C# - Publish ASPX To Sub Directory Of Application?

Jun 30, 2010

I have published an asp.net application to a sub directory of my IIS application. I know that the web.config must exist at the root for several of the properties to work. So I have moved my web.config to the root of the application. I get the following error:

Could not load type 'ProjectName.myTypeName'.

I suspect that not having the web.config in the same directory as this aspx file is causing the issue. How do I config this so that my web.config can live in the root while the aspx file lives where I need it to?

View 3 Replies

Build An Absolute URL For The Host Currently In Use In An Application?

Mar 27, 2011

I am currently in a dev only phase of development, and am using the VS built-in web server, configured for a fixed port number. I am using the following code, in my MembershipService class, to build an email body with a confirmation link, but obviously this must change when I deploy to our prod host.[URL]How can I build this URL to always reflect the host that the code is running on, e.g. when deployed to prod the URL should be http://our-live-domain.com/Account/..etc.MORE INFO: This URL will is included in an email to a new user busy registering an account, so I cannot use a relative URL.

View 3 Replies

C# - Host A Wcf Service Library In A Web Application?

Aug 11, 2010

I would like to host a Wcf Service, create in a Wcf service Library, in a Web Application.

I've already done the same thing with Web Service asmx :

using System.Reflection;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

namespace WebServiceLibrary
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebService1 : WebService, IHttpHandlerFactory
{
private static WebServiceHandlerFactory wshf = new WebServiceHandlerFactory();
private static MethodInfo coreGetHandlerMethod = typeof(WebServiceHandlerFactory).GetMethod("CoreGetHandler", BindingFlags.Instance | BindingFlags.NonPublic);

[Code]....

View 2 Replies

IIS Configuration :: How To Host Windows Application

May 7, 2015

I running MS-Access desktop application, i would like to host it to web through ASP.Net (Only report purpose). regular data we keying in through desktop. is it possible for host through crystal report?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved