How to fix there is a problem with the resource you are looking for and it cannot be displayed?

Hi,

I'm getting this issue
Displayed Error in Page : 500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.

Displayed Error in URL : Exception has been thrown by the target of an invocation

I have two DNN project , One project has been Used normal login and Another has both Active Directory and Direct DNN User login.
Now I have moved both application from SQL SERVER 2008 R2 to Azure Server.
My Both Application has been setup there and loading home page for both but
1. Without Active Directory Login integrated website is working fine with all the users and login functionality , Host as well able to login.
2. With Active Directory Login Integrated website is working with AD user only but now login with Host User (Super Admin) and Above Error is showing.
Now I am wondering what is the problem on the second website at the same time first website working fine in same environment .
Let me clear you scenario :
1. I have those both website in same server before
2. After merging both website in same server placed
3. All the permission has bee assign
4. Database in same server

Please help me out what is the issue? How and I find the problem and can fix it.

Thank you in Advance

Regards
Kalpesh Pandya
CouriersPlease

An error response with the HTTP status code 500 is a general one. It denotes that the server was unable to process the request because of an unforeseen circumstance. When no other error code is appropriate, the server will often return this error. In my opinion, the ‘500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed’ when the server is unable to respond to the user's request. 

How to fix there is a problem with the resource you are looking for and it cannot be displayed?

Photo by Brennan Tolman

Explanation: there is a problem with the resource you are looking for, and it cannot be displayed.

Solving a riddle is similar to troubleshooting an HTTP 500 internal server error. All you know is that something went wrong with the server or website and needs to be fixed; you have no idea what specifically occurred or why it occurred. Your web server is having issues, but it is unable to identify the precise error or its underlying causes (HTTP 500 internal server error). The visitors to your website will then be presented with a general internal server error web page. In response to API requests, the client application receives an HTTP status code of 500 along with the text "Internal Server Error". Any policy within Edge that is being executed incorrectly or a mistake on the target/backend server both have the potential to result in the 500 Internal Server error.

An internal server error (code 500) refers to a general issue with the server that hosts the website. This indicates that there is most likely a programming problem or short-term error on the website.

As per my personal experience, whenever I encountered the error 500 with different scenarios and names one common thing is HTTPS code 500, it implies that the issue is with the hosting server and rectified after some time. As per my personal experience, whenever I encountered the error 500 with different scenarios and names I observed one common thing that was HTTPS code 500, it implies that the issue is with the hosting server and rectified after some time. In the beginning, I contacted the support team and received the same answer every time, the server is down and we are working on it. This means it is an issue on the server side. Let's have a brief look at the root causes.

The issue behind that can cause the error.

A 500 internal server error may have several possible causes, such as:

Note: There are numerous causes for the 500 Internal Server error. For instance, a 500 error may appear during the execution of a policy or may come from the backend target server.

“htaccess files” (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. When one or more configuration directives are inserted in a file and placed in a certain document directory, both that directory and all of its subdirectories are affected. If the htaccess file is corrupted and broken then it also may cause the ‘500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed’

Another scenario that may cause this error is the user does not have permission to access the website or the permission policy is corrupted so the server will confuse and produce this error message. It is also called permission error.

Another scenario that may cause the error specifically those platforms that used themes and plugins may face the error code 500 – internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. Faulty themes or plugins from a third party may cause the error.

PHP memory default limit as per documents is 128MB, it is set to avoid unnecessary use of memory, if the limit is exceeded then also the error 500 – internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

These are a few reasons that may cause this internal server error. It is not absolute because there is always a chance that something may happen out of the box.

The best possible solutions.

Two things should be applied before applying any solution. First is to refresh the page and if the issue occurred temporarily it will be solved by refreshing the page, secondly, ask your friend to visit that specific website to check either it was on your machine or other users also facing the same 500 – internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. It will also confirm that the issue is not a temporary thing and not only for you as your friend confirmed the same issue.

After applying these two steps switch to the solutions that are available below although these are not the solution because the error is from the server side and with a specific website. As a server owner, you can ask the website owner to rectify the issue as soon as possible. In this case, leave it as it is and give time to the website owner, to visit the site after a certain time, hopefully, the issue would be resolved during that time.

The only thing that you can perform on your end is, just clear your browser cookies as a visitor, this is the only job that you can do with your machine.

As a website owner, you can check your theme, plugin, and memory size, increasing the memory size is not a good practice, I also will not recommend this. Find the appropriate theme and plugin to solve the issue from your website.

The Conclusion.

We discussed the error code 500 – internal server error. There is a problem with the resource you are looking for, it cannot be displayed, it is an internal server issue and server is not able to handle the request so it is confused, reasons are many a few are broken or corrupted htaccess file, PHP memory limit exceeded and permission error. Solution is to refresh the browser and delete the cookies of the browser.

What causes server error in '/' Application?

The “Server error in '/' application” can occur when a file extension does not have permission to run on the server. When exploring a solution to a “Server error in '/' application”, first ensure that you are using the correct file name.

How to fix 500 internal server error in C#?

HTTP:/1.1 500 Internal Server Error.
Remove web.config file from inetpub/wwwroot directory..
Go to IIS, Right click on Default web site / All tasks / Check server extensions and let it run..
Reset IIS by right click on IIS or call iisreset from Run command..

What does this mean 500 Internal server error There is a problem with the resource you are looking for and it Cannot be displayed?

Potential Causes of a 500 Internal Server Error A 500 internal server error is, as the name implies, a general problem with the website's server. More than likely, this means there's an issue or temporary glitch with the website's programming.

What does the page Cannot be displayed because an internal server error has occurred mean?

Description of HRESULT The page cannot be displayed because an internal server error has occurred. This problem occurs because the server that is running IIS 7.0 cannot access the configured root directory of the requested location.