Hallo zusammen,<\/P>
<\/P>
ich erhalte die folgende Fehlermeldung. Ich bekomme diesen Fehler jedes Mal, wenn ich eine WAB\/ASP.net-Anwendung bereitstelle. Früher konnte ich das Problem beheben, aber jetzt habe ich Schwierigkeiten, den Grund zu finden, warum es nicht funktioniert.<\/P>
Fehler: Ungültige redirect_uri<\/P>
- Wenn ich mich am Staging-Server anmelde und die Anwendung
Ich habe auch einen weiteren Test durchgeführt, indem ich ein IIS-Virtualverzeichnis und eine Anwendung erstellt habe, die auf den Server \/\/[stagingserver] \/myapplication zeigt, und es schlägt ebenfalls fehl.<\/P>
Hat jemand eine Idee, was ich überprüfen muss, um dieses Problem zu beheben? <\/P>
PS: Einige zusätzliche Informationen, die hilfreich sein könnten.<\/P>
Der Web Adaptor, der bei mir installiert ist, befindet sich auf einem anderen Server
FOUND IT!!!!!!!
I spend several days trying to figure out why I was getting this error. First I focused on the IIS Web application that was deployed to a staging server. In this application I changed several parameters related to IIS, authentication and security permits, but it did not work. Then I copied the application into another server and I was getting the same error.
Finally the issue was in the web mapping application located in our [http://[MyCompany].maps.arcgis.com ] and used by the application in the config.json "appId" . It was referencing another server, not the one I am currently deploying.
To correct this issues this is what I did:
- select the tab "Settings" and verify that the value URL in
- Also please check the
App Registration
Registered Info
and add your new server in the list of servers.
See attached jpg images for additional information.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.