Last post Sep 10, 2019 08:07 AM by PatriceSc
Sep 09, 2019 12:41 PM|jacopoFabbri|LINK
Hi, i have some trouble on publish my ASP .Net Mvc project on a web hosting of aruba, can someone help me?
Sep 09, 2019 12:52 PM|PatriceSc|LINK
Always tell which EXACT problem you have without waiting for someone to ask. If this is general it should be easy to help. If it seems rather particular to their service, it could be best to check their support forum
(for example some hosting services are blocking access to external SMTP servers and you have to use their own SMTP server instead)
So start first by telling which problem you have.
Sep 09, 2019 01:41 PM|PatriceSc|LINK
They don't have any guidance on that? AFAIK most hosting services are using Web Deploy or at least FTP :
It's should be also quite common to be able to download the profile from your hositng service and then use "Import profile..." to populate the proper settings (except maybe the password).
Esdit: according to https://support.aruba.it/kb/c352/01_-uploading.aspx it seems you have to use FTP.
Sep 09, 2019 01:44 PM|jacopoFabbri|LINK
Sorry, I badly explained myself, I don't have an error. I load all my file with the publish of visual studio and go perfect. But when I try to go on the site he gives me an error on conf file of a security problem. On some forum, I read that Aruba
does not support asp.net MVC but only asp. net.
So the question was if someone has hosted on Aruba and if they can say me the procedure.
Sep 09, 2019 01:54 PM|jacopoFabbri|LINK
thanks for the answer, I already follow that guide, the publish of itself don't fail but it presents an error when I try to open it from browser
Sep 09, 2019 02:15 PM|jacopoFabbri|LINK
I think that I make an error because the file of the deploy are only .dll not page Html or asp.
This is the files
Sep 09, 2019 02:23 PM|PatriceSc|LINK
Seems ASP.NET Core and having DLLs is fine. Are you sure your hosting service supports ASP.NET Core 2.x rather than ASP.NET 4.x ?
Once again it's best to just start from what actually happens. I assume the browser does show some error message when you try to access this site ?
Edit : "Aruba does not support asp.net MVC but only asp. net". ASP.NET MVC is part of ASP.NET. My guess is that they have support for ASP.NET 4.x (including ASP.NET MVC 5) but not for ASP.NET Core which is what you are using.
Edit 2: according to https://hosting.aruba.it/en/hosting/windows-basic.aspx it seems they have support for ASP.NET 4.7 but not for ASP.NET Core 2.x
Sep 09, 2019 02:38 PM|jacopoFabbri|LINK
so the project that I have to create is the one underlined in red, not the other one? or are there other settings inside to be changed? Do you know hosting that supports the app I'm creating?
Sep 09, 2019 02:43 PM|PatriceSc|LINK
IMO yes. If you are just at the very beginning you could try to create a simple page and deplot that to Aruba to see if it now works.
Else you have for example
https://dotnet.microsoft.com/apps/aspnet/hosting and make sure they do have support for ASP.NET Core or if for testing try perhaps just
https://azure.microsoft.com/en-us/services/app-service/web/ ? (as it is handled by MS they even have often support for preview versions).
Sep 09, 2019 02:49 PM|jacopoFabbri|LINK
unfortunately even if I'm at the beginning on asp.net I still have to get this project out, but what is the difference between core 2x and the previous? can I also program the previous ones? (I have now purchased the hosting I would like to use) do
I have other options for making a web application written in c #?
Sep 10, 2019 01:49 AM|Fei Han - MSFT|LINK
In following document, we can find both MVC 4, MVC 5 and MVC 6 are supported.
Besides, hosting service of Aruba is out of scope in this forum, you can try to contact Aruba support to report the problem about publishing ASP.Net MVC project on a web hosting of Aruba.
Thanks for your understanding.
Sep 10, 2019 08:07 AM|PatriceSc|LINK
Could you post a link to the hosting provider plan you bought so that we are 100% sure about what you are using?
ASP.NET Core 2.x is basically a full rewrite of ASP.NET 4.x : https://docs.microsoft.com/en-us/aspnet/core/fundamentals/choose-aspnet-framework?view=aspnetcore-2.2
Make sure first which one(s) are supported for the plan you bought. Their support forum could be better.