The remote server returned an error 401 unauthorized. windows authentication




















I have already seen the items you listed. None of them seem to apply in my case. There are only a few users using Vista who get the error. All the others using Vista or W2K are working. They all belong to the same NT group which gives them access to the web site where the app is published. So I think there must be a problem with the security of the few users getting the error. Do you have any ideas on what I can check? Windows Vista has a new security feature called User Account Control UAC which requires all users to log on and run in standard user privileges mode.

Do the users for whom it is working have administrative accounts on their computers, and the others do not? The users getting the error were given administrator rights, but that did not help. The other users are mixed. I agree; I don't ever turn off UAC. I don't think your solution will work. Did you try it?

You said that giving the user administrative rights did not fix the problem. If that is the case, then running it as an admin won't fix it either. The user does not have access to the deployment files on the server. This is a permission problem on the server side.

Also, I've updated older projects to work with integrated mode. Also, modifying my connection string has also been helpful:. Also, I see a "Mailer" reference in your custom code. This might not be related to actually sending an email, but if it is, I have had allot of trouble with some servers because the firewall did not have a proper port open. Hi polymorphic. I have tried changing from "Managed Pipeline Mode" to integrated to classic or vice versa without success.

IT works fine on my local machine but when i tried to run from my server it gives me :. What is the sub-code? Turn on IIS Logging and find sub-code. IIS 7. Open Windows Explorer.

Right click the file, and then select "Properties". Click the "Security" tab. Verify that you have permission to view this directory or page based on the credentials you supplied. From the pop-up menu, select Properties, and then in the Properties dialog box click the Security tab. In the Name list box, select the user, contact, computer, or group whose permissions you want to view.

If the permissions are dimmed, it means the permissions are inherited from a parent object. I can access the web api using windows authentication that works fine but only if I use through wep app passing the credential it gives.

The content you requested has been removed. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Service Manager - General. Sign in to vote. I am getting no where with an issue so hopefully someone here can assist.

When my users click on knowledge articles via the web portal they get the following error message, the rest of the site work perfectly: The remote server returned an error: Unauthorized.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System. WebException: The remote server returned an error: Unauthorized. Ask Question. Asked 1 month ago. Active 1 month ago. Viewed 82 times. I attempted to use a non-administrative user created in IIS, not Windows. Added a new user with a password the password only contains letters and numbers.

Any idea how to fix the "unauthorized" error? Greg Burghardt. Greg Burghardt Greg Burghardt Unless using feature delegation to allow other user can set specific site.



0コメント

  • 1000 / 1000