I deployed an application on IIS a couple weeks ago, and now when I'm trying to update it it shows me an error:
Connected to the remote computer ... using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permission to access the site. ... . The remote server returned an error: (401) Unauthorized.
When i clicked on publish first it showed me an warning about a certificate that i was using, and I clicked yes to continue, and then when i wrote the Username and Password suddenly stopped while showing me this error.
Why is this happening> Thought I'm using the same user as i published a couple weeks ago.
Related
I have a Sharepoint site (with Anonymous access enabled) hosted on the Azure server. Whenever I access the backend Site contents page(or any CMS admin pages), it keeps prompting for credentials even though I enter the correct username and password. This issue is happening only outside the server. Inside the server, if I supply credentials once for the same site; it accepts and I am able to view the site contents page. It's an internet-based Sharepoint site hosted in AZURE. The issue started appearing 2 days back. Before that, it was fine and used to take the login details. Could anyone guide me what could be the root cause of this issue? I checked the log file, and no error messages were captured related to this issue.
Regards,
RPC
Tried adding the site to Trusted Site, but it didn't help. This issue started appearing suddenly 2 days back. The site was hosted and running for 5 years.
I am getting this issue while publishing my .net core 3.1 app to azure app service.
I am able to publish the application but while hitting a url i am getting this error
Below are error details that i have found out in Event Viewer
" Login failed for user 'NT Service\SSISScaleOutMaster150'. Reason: Could not find a login matching the name provided. [CLIENT: ]"
NT Service\SSISScaleOutMaster150
Reason: Could not find a login matching the name provided.
[CLIENT: ]
I am also getting this icon when i am trying to publish it
denoting there are some warning in this section : Dependencies remote.
Other Details:
I am able to run application locally, I have a azure sql database which is connected to this, angular app as frontend and .net core 3.1 app as backend.
I have also tried creating a simple hello world app in .net core 3.1 and tried to deployed it. I am able to publish it and also able to run the url.
Kindly help me in this.
" Login failed for user 'NT Service\SSISScaleOutMaster150'. Reason: Could not find a login matching the name provided. [CLIENT: ]"
Judging from your error message, I think that when connecting to azure sql database, it may be filled in some places incorrectly.
Generally speaking, as long as the azure sql server can be used, the connection information is correct, and the yellow exclamation mark will not appear when adding Service Dependencies.
Troubleshooting steps:
1. Check login user NT Service\SSISScaleOutMaster150, whether you have the permission to log in to the database.
(I think there is a problem with this login user name, please check carefully. In Azure SQL, it is generally not in this format.)
① Use other tools such as SSMS to see if you can log in.
② If not, use the administrator to log in to azure sql server to check if the user name NT Service\SSISScaleOutMaster150 is in the user group.
2. Please check the azure sql server connection information, string, etc. To be consistent with the portal, local user name and password cannot be used, and the login information of azure sql server must be used.
we got to work MFA on Windows Server 2016, with NPS, IIS, MFA, Azure etc. and the verification via phone call works great. Now we have problem with Mobile phone authentication.
When I log in to the appropriate web site with my domain\login and password (which is synchronized to Azure), I authenticate via phone call and in the next step I click on "Activate Mobile App" and then "Generate authentication code". I get a QR code, which I scan with MFA mobile application. After few seconds I get an error message "Unable to add the account" - Unexpected error. Please contact your local IT administrator to resolve the problem."
In the MultiFactorAuthSvc log is this message:
WMI error: -2147217394
Couldn't read credential identified by 'PfSmtp'. Element not found.
The time in log is 1 hour late. I don't know if this could be the problem.
We used this tutorial to install MFA:
https://learn.microsoft.com/en-us/azure/multi-factor-authentication/multi-factor-authentication-get-started-server-webservice
Thank you for any advice.
Ok, after many hours of trying, here is the solution:
As next troubleshooting made sure the Mobile App Web Service site host name on the MFA server resolves to internal MFA server IP.
And here is the link to the article:
https://s4erka.wordpress.com/2018/01/24/mobile-app-authentication-with-azure-multi-factor-authentication-server-error-calling-the-local-authentication-service-troubleshooting/
Click the Connect button to download the RDP file for a VM in Azure Portal results in...
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required
to serve this request. This may have been caused by an incorrect user
name and/or password.
Error message 401.1: Logon credentials were not recognized. Make sure
you are providing the correct user name and password. Otherwise,
contact the Web server's administrator for help.
Tracing this I think I understand why as I see no creds are passed in any header.
The Request is a POST to
https://portal.azure.com/api/FileDownload?filename=<myVMfilename>.rdp&mimeType=application%2Frdp&dataType=text
This is on a Mac using Safari.
It seems Safari can't download Azure VM RDP file, please try to use other browser to download the RDP file, ex. Chrome.
We have created a dns for external and internal employees to visit an application website. They can both reach the website hosted in iis. they can both download the application that has been deployed using clickonce.
Issue is we want to password protect for external employees.. Internally its ok because we use windows authentication and have a group of users for specific applications.
we created an ad account and password. when i setup windows auth and restrict to this one ad account. i enter in username and password when going to the external dns. thats fine.. i click on the application to install.. and when its trying to install i get + The remote server returned an error: (401) Unauthorized.i'm getting a security error even after i put in the credentials , it somehow still fails when going to install.. what can i do to better password protect applications that will be accessed from the outside using clickonce.. or fix this issue thanks