I have a website which was programmed by C# (ASP.net). The programmer uploaded the website to the host after a time the web hosting company migrated their servers then my website went down. The hosting company said it is not from their side and I know that the code does not change and the same code was working on the old servers. When trying to open the webpage it gave an empty page.
I hope that someone can give what the problem might be.
Thanks
Related
I have developed an ASP.NET C# Web application with 2 web forms and I have purchased a domain from Fasthosts in order to host my site. I have changed the server to be Windows-based and used the correct ftp details to upload my app to the site. The only problem I am having is that when the site is published I am receiving this error.
I am hoping that this issue is fairly easy to resolve. Any help on what I can do to get around this issue would be much appreciated. Thanks:)
Since you have not provided details of any set up using IIS, I would imagine that your issue is that you have simply deployed the file and gone to the URL expecting the site to be there. Normally you'd have some setup to do, unless they are handling that for you?
Have you make sure that you have setup your default page? Do they support .net core? Maybe this post https://windowswebhostingreview.com/troubleshoot-403-error-when-publishing-asp-net-core/ can help you.
Ok. I made website (in VS 2012 ASP.NET MVC 4) and I have database on my local sql server that website uses.
Now, what do I have to do to put it online.
Is there any good tutorial that shows how to do this from scratch (there must be but I can't seem to find any).
So I want to know things like:
- what are the best hosting sites
- do they offer space for my database and how can I connect to this database from sql server or do I have to buy space for my database somewhere else...
-where to put files I get from publishing my website from VS
-etc..
Scott Hanselman has an article here to Bin deploy your MVC project to your server via FTP.
Follow next steps:
you would buy a space on Windows server via a host. Once you do this, you will get the FTP server address, username & password that you would use when Bin deploying.
Buy a domain via services like godaddy.
Link your domain to your server by changing the name server address through godaddy's control panel.
That's it. This is in short assuming you understand the basics of hosting, domain etc.
I would recommend you to check out Windows Azure. That is one of the best and easiest hosting services I have tried at least. For instance, when you create a website, you can just download the piblish profile and right click at the project in VS and choose publish. Select the publish profile that you downloaded and most of the time you are done.
Check out Troy Hunt's: worldsgreatestazuredemo and Azure Friday to get a feeling for what Windows Azure is.
I have a ASP.Net page for our company and we are running a parallel testing to the new web site. Now, the I attached a clickable image on the old website which redirects to the new web site.
My problem is the old website can be browsed in any web browser while the new web site must only be opened using a specific web browser (due to the developers of the new web site said that it only works properly on google chrome).
All I need is when when they browse the old web site using whatever browser they have, and then click the image, it will open the new website using google chrome.
These web sites are published on the company's windows server, and all clients that connects to it has google chrome installed with them.
If there is something like:
System.Diagnostics.Process.Start("chrome.exe", <url>);
that will be executed on the client side (not on the server side), kindly advise.
This is not possible unless you have some client software that can receive a call from the website to launch Chrome. My answer can be backed by this question about IE redirection to other browser. The accepted answer is absolutely correct.
The security risk would be too great and besides windows doesn't support that kind of linking. You could write a "client" program that runs in the background waiting for a call from your website. Then the client program could launch Chrome.
Hope this helps you!
Is it your problem ? : you want to open your link via Google chrome .
if yes , you cant do it !
because ASP.net , PHP and etc .. a server side language and cant do it ! , its not possible without have any application on clients .
On the ASP.NET server (production), I am told to use the web service that is written by some other person.
Question is how do I find out what webservices were deployed on the production server. All I am told is to make a call using "CheckFile" (which I believe is a part of the web service). I went to the Inetpub folder to see if there is any folder that has these webservices but there is none?
Sorry I am doing this first time and hence many questions,
My end goal is to use these webservices in my ASP.NET application and call those functions such as "CheckFile" and others from this webservice.
Thanks.
I agree ask your co-worker if you have one.Else if you have access to old asp.net app then right clik on project and click on service reference tab it will show web services in that .net app.
I am having a problem with a small website that I am creating in visual studio 2008, using asp.net mvc 2, and the hosting server 1and1.co.uk. I have no database within the website yet, as it is a work in progress, just need the site up and running properly.
The problem is that I even after uploading the published website to the account on 1and1, I still get the error:
"error in '/' application"
Im not too sure if it is the web.config file or not. From what I have seen on some forums and websites I can not seem to sort this problem out.
Can someone please help me out with this problem
Many thanks.
Then its better to find out what you can run on your hosting, try first to run an empty web application without mvc and see if it runs.