Bad Gateway(502.3) for a single view page and other pages are working fine in same localhost Asp.net Core 2.0 - asp.net-core-2.0

It was working fine.
but now bad gate way error only for Home page and still other pages are working fine. Db connection working fine.
it was happening when i create home view page. i cannot figure out what is happened.
what should i do for it .
VS2017 & SQL Server 2014.

Related

Web page displays on Host ie11 but not on another machine, have I missed something?

i have an asp.net web site made to simply allow people to update some sqlserver tables.
The website works perfectly on the host server in Edge and IE11.
On other machines when accessing the server like so :
http://server.net/8081/homepage.aspx
It works in Chrome and Edge.
however in IE11 it displays wrong. Some colours come across, all gridviews appear correctly but layout is literally bonkers.
Is there something simple i am missing? This is my first time publishing a site in asp.net. all help appreciated.

ASP.NET website displaying Windows Server IIS welcome page

I have created a new asp.net website and hosted it in IIS in a web server and its opening correctly in the webserver in IE but when I open it in my local windows computer I am getting the IIS welcome page. I am not able to understand how to fix this issue. Can anyone give me some suggestions. Other websites from the same server are working correctly as expected.
similar problem:
http://techspeeder.com/2016/10/28/server-2016-anywhere-access-shows-iis-instead-of-login-page/

Sites within a SharePoint 2013 HNSC web application not working on one server

We have two servers on a cluster, say server1 and server2. We have these for load sharing and backup if one server is down.
We have many HNSC web Apps each containing a bunch of sites.
One particular HNSC web application is not working on one server (server2) but only works on server1. It was working fine till 2 days ago !
Other HNSC web Apps are working fine on both servers. If SharePoint architecture or software updates were the case, then no other web app or site collection would be working on the faulty server, but others are working fine.
The sites within this particular web App are giving the following error in browser window when they hit server2:
Server error: http://go.microsoft.com/fwlink?LinkID=177673
When they hit server 1, they run fine.
Please help.
Looks like it was a problem with sharepoint software updates on one server. The IT Team had installed updates on one server but not the other.
Reason why only 1 webApp (and Hnsc site collections inside it) were giving error is because they were created after the updates were done on one server.
Solution: IT Team did the updates on the other server as well, and all worked fine.

active server page error 'ASP 0131'

I have an old ASP classic application that gives the following error when accessed by some browsers.
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
We confirmed that the checkbox for accessing parent directories using ".." had been checked for this IIS site/application. There is no problem accessing the pages on my desktop using Chrome; however on my laptop, using the same version of Chrome, I get the above message from the server.
From the same Windows 10 laptop, I can navigate the site fine using the Microsoft browser. Ultimately, I may have to edit the pages to get rid of the ".." in the application but would like a fix in the meantime.

custom ascx control not working with Umbraco 7

I have a simple ascx contact us control that sends an email.
I have been using it over time to various umbraco websites running versions from 4 up to 6.1.5 and it has always worked fine. I have been also tried it with various versions of .NET without problems.
This time I updated it to .NET 4.5 and tested it and then added it in an Umbraco 7 project. It renders fine but when the submit button is pressed the page reloads without a postback and nothing happens.
There is no error message in the logs, there is no activity from the form.
The code is such that if there is an error that would be handled and shown on the screen after a postback but the form simply reloads.
I have tried all the usual checks and I can't find absolutely nothing wrong with it. Can anyone suggest why the control wouldn't work on Umbraco 7 or how to find the error that causes a full page refresh?
Thank you
You can't use usercontrols in MVC views. If you want to use usercontrols still then switch the render engine back to Webforms in umbracoSettings.config, recycle your app pool and recreate all your templates as masterpages. However, I'd advise you to redo the form in MVC. Google: SurfaceController contact form

Resources