HI Rick,
Trying to set up windows 2012 Server and got this 401.2 error Is permissions the culprit?
Any ideas. Thanks, Joy
Detailed Error Information:
Module IIS Web Core
Notification AuthenticateRequest
Handler .bw_wconnect-module
Error Code 0x80070005
Requested URL http://127.0.0.1:8080/bw2005/HelloWorld.BW
Physical Path c:\websites\bw2005\HelloWorld.BW
Logon Method Not yet determined
Logon User Not yet determined
See if this is helpful: https://weblog.west-wind.com/posts/2015/Oct/29/Mysteriously-stubborn-IIS-4012-Errors
Also make sure the IIS Rewrite Module is installed if you are using it.
choco install UrlRewrite
+++ Rick ---
Hi Rick,
Where do you think I can look to resolve this?
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Thanks, Joy
Few additional suggestions here:
These all deal with making sure the Anonomymous user is set up properly and maps to an a valid account on your machine.
Also make sure all the proper IIS PreRequisites (especially the security options) are installed and that the folder you're accessing has read/execute access for the IUSR account.
+++ Rick ---
Hi Rick,
I re-checked the permissions, reconfigured the scriptmap and now I am getting this error
with helloworld.bw Any ideas? Joy
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Hi Rick,
On doing more test, this one works. http://.../bw2005/wconnect/wc.dll?bwprocess~helloworld
But the scriptmap http://.../bw2005/helloworld.bw
gets me Server Error in '/bw2005' Application.
and the webconnection console shows the first one above, but not the scriptmap.
If you can point me on where to look, that would be great.
Thanks, Joy