IIS 8.0 Detailed 500.0 Internal Server Error - The page cannot be displayed because an internal server error has occurred - visual-studio-2017

I have a website that was running on 32 bit IIS 8.0. My website is built under "ANY CPU" configuration. Recently we had an issue where the memory was getting overflown. We wanted to run the website as a 64bit process so more memory becomes available to it.
I turned "Enable 32 bit application" to FALSE in IIS. When running the website I get the following error:
Enabling 32 bit as TRUE resolves the issue. Is there anything I have to do other than setting the app pool to use 64 bit to make the application run as a 64 bit process?
I found something similar here: stack overflow question but the Handler is different so I wanted to get some expert opinion on how to resolve this error.

Related

How to fix "Please ensure that target device has developer mode enabled" error in Hololens Emulator

The problem that I have is that after I have built my Unity project using Microsoft's Mixed Reality Toolkit and the Windows SDK 10.0.18362.0 I try to deploy it using the Hololens 2 emulator (version: 10.0.18362.1019). The result is that even though the emulator opens, my Unity application does not get deployed and the following error is being shown in Visual Studio's error list:
Please ensure that target device has developer mode enabled. Could not
obtain a developer license on 192.168.9.57 due to error 80004005
I found several articles online that had the same problem like me, and they either referred to resetting the HoloLens device (which I do not need to do, since it is an emulator) or enabling the Developer Mode on the host machine (in my case a fully updated Windows 10 Enterprise Edition computer), which I already have. Nevertheless the error persists.
I just hope that there will be a way to get rid of this error and manage to deploy my Unity application onto the HoloLens emulator.
It seems that the solution is very simple. If you actually run Visual Studio as an Administrator the application is successfully deployed onto the emulator.

Web Service is running on local host but showing error on azure cloud

I have created a web service which will do some long string calculation and will return result in json format .
Also written a demo app to test that web service.
I have tested the web service on my local machine.
Its working good when I used 64 bit compiler.
For 32 bit it doesn't work well due to memory constraints.(I am fine with 62 bit compiler)
Issue:
When I tried running my script on azure cloud. Its getting failed for heavy data calculation with error " Response status Code: does not indicate success: 502(Bad Gateway) "
I am unable to find reason for that.
Some Possibilities :
Do I require to turn any option to 64 bit explicitly for azure cloud.
By any chance timeout is happening, If yes then how to remove that
I am working on basic free trial of Microsoft azure version, Does they have some limitation for that.
I am calling the web service through "client.BaseAddress = new Uri("http://featuretracking.azurewebsites.net/");"
and local host through "http://localhost:56411/"
I have deployed as web app on azure.
There is an offical article for troubleshooting http error 502 & 503, which list some reasons below for the issue and how to troubleshoot.
requests taking a long time
application using high memory/CPU
application crashing due to an exception.
Please check eventlog.xml file in the logFiles folder via access the kudu tool https://<your-webapp-name>.scm.azurewebsites.net/ to see what happended at the time of error 502.

How do I find out why I am getting an EOSError code 5 - Access Denied registering a service?

I am getting an EOSError code 5 - Access Denied when the
TServiceApplication attempts to register the service with the
ServiceManager.
I am using XE2 Win7 64 bit. The error occurs for both 32 and 64 bit
targets.
I have a datamodule that uses ADO to connect to a database, and the web
services server code. All the code is used in a WinUI project which
works. I also have an untested ISAPI DLL based on the same core code.
This is the first time I have tried incorporating a Web Services Server
into an NT Service.
I have traced the VCL code that produces the error at line 1027 of
Vcl.SvcMgr but I don't know why I am getting the Access Denied error. I
have written other NT Services that connect to the database through ADO
and have not encountered such an error (although written with XE).
Any pointers would be appreciated.
You are likely encountering a UAC permissions issue that expects you to run the service install process in an elevated state, such as from a cmd.exe instance that was launched via the "Run as administrator" option, but you are not actually doing so. If you are having this problem with only some services and not others, then the affected services likely do not contain a UAC manifest but contain characteristics that are triggering UAC's Installer Detection feature, typically (but not restricted to) having reserved keywords in your service's filename or version resource.

Cannot start server in coldfusion builder 2

I have installed Adobe ColdFusion builder 2 and was able to set it up, using this tutorial
http://www.adobe.com/devnet/coldfusion/articles/setup_dev.html
After I restarted my computer (for some updates to take effect), I am unable start the server I added using ColdFusion Builder (cfserver). I get the following error -
'starting cfusion' has encountered a problem
Ensure that the server is not already running, or another application is not using the WebServer port.
Does anyone know what to do about this? I am completely lost
EDIT: This is the error the console prints out
[cfusion]:07/13 12:50:14 Error [Thread-13] - Platform, Locale, and Platform Name must not be null
If you are using Vista or Windows 7 I used to have a problem with trying to start the ColdFusion server unless I launched CFB with Administrator privileges and ran it in XP Compatability mode.

IIS 7.5 crashes after a few requests (with Django + PyISAPIe)

I managed to run Django using IIS as webserver (using PyISAPIe) and everything goes well in my test server, mounting Windows 2008 Server R2 64bit.
Then I installed the application on another server with the same configuration and it works fine for the first request. Then when I reload the page, I get a "Service not working" page.
On the event log I see an Application error saying that python26.dll had some problems:
Faulting application name: w3wp.exe
Faulting module name: python26.dll
Exception code: 0x40000015
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\system32\python26.dll
Can you give me some hint on how to solve that problem?
UPDATE: "Rapid-Fail Protection" in the Advanced Settings of the Application Pool was set to 5 failures; disabling it, all worked well.
So, now the question is: how can I detect what caused the failures?
UPDATE: I discovered that IIS crashes when there are multiple requests (img, css, js). PyISAPIe is called for each of them, passing them to static server once recognized.
No idea why this happens...
PyISAPIe is not a good choice to run Django on Windows 2008. In this article you can find better solution: Running Django on Windows (with performance tests)
Check the eventlog it should be in there.
You may also find some more detail in the httperror log (C:\Windows\System32\LogFiles\HTTPERR).
I discovered that IIS crashes when there are multiple requests (img,
css, js). PyISAPIe is called for each of them, passing them to static
server once recognized. No idea why this happens...
Do multiple request cause the error on both machines? When there are multiple requests in an ISAPI application, each request runs in its own thread. The Python multi-threading model is GLOBAL - all threads running under that Python process are co-mingled and sharing all global resources, so you must serialize all multi-threaded code running in all applications and processes using your Python engine. This is a serious downside in Python multi-threaded processing and may be the source of your problems. See http://docs.python.org/library/multiprocessing.html and other sources.
But even this only occurs on one machine and not the other, that may still be the cause - it could also depend on many other environmental variables - number of requests, resources of the machine, processors, etc.
Check memory usage on machine (total physical).