I'm attempting to run the Office 365 Starter Project for ASP.NET MVC and following the readme here...
https://github.com/OfficeDev/O365-ASPNETMVC-Start/blob/master/README.md
I'm click the "Register your app" link in the add connected service dialog. I sign in and see the message "Registering the directory application..." Then after about a minute, I get the error message "Office 365 GatewayTimeout".
After a search turned up nothing, I restarted Visual Studio as admin and after the same process got the error "the preferred replica is unavailable"
Has anyone come across/resolved this error?
I was able to resolve this by moving the directory to my drive root. It turns out that some names in this particular project were too long for Visual Studio.
Related
I am running Azure DevOps Server 2019 cu7. When I click on the Access Levels link at the Project Collection level, I get a page not found error for ../_admin/_licenses. I then upgraded my development farm to ADO Server 2020, and still have the same issue.
The app pool accounts are both System and I have added the System account to the iis_iusrs group.
Also, i get a page not found error when trying to hit the/_api/licenses/export api to try to get around the page not found error when using a browser.
It seems that you do not have the permission Edit Instance-level information
Steps:
Open Azure DevOps Server Administration Console->click the option Application Tier->click the button Administer Security->select [Team Foundation]\Team Foundation Valid Users and ensure the permission Edit instance-level information is set the allow. Then we could check the Access Levels page.
Result:
The permission is set to Deny
The permission is set to Allow
Apparently we have a configuration issue with TFS 2017 11.0.60315.1
The team project collection(s) are online, but I get TF31002 error when I try to connect from my client AND the server. e.g. click "Change URLs" and "Test"
I also get HTTP code 404: Not Found when I click "Group Membership" or "Administer Security" from the Application Tier.
I cannot add a picture so... here is a transcript:
Error Encountered
TF31002: Unable to connect to this Team Foundation Server:
http://myserver:8080/tfs
Team Foundation Server Url: http://myserver:8080/tfs.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline
- The password has expired or is incorrect
Technical information (for administrator):
The remote server returned an error: (404) Not Found.
I have tried changing the Service Account & password
I have clicked Reapply Account
I have tried changing the Authentication Settings
When I click Group Membership or Administer Security, I get the 404 error
I have tried changing the URL
a. http://myserver:8080/tfs/defaultcollection
b. http://myserver:80//
c. http://myserver:8080
d. http://(ipaddress):8080/tfs
e. http://localhost:8080/tfs
The remote server returned an error: (404) Not Found.
If you are using http://localhost:8080/tfs url and still get (404) Not Found. Then this kind of issue may related to IIS side.
First check IIS logs, if there are some useful information.
Go to IIS manager to check the TFS bindings should be such as below:
If you look into IIS manager, application pools, under TFS app pool, what identity TFS appPool is using? If you see it is set as “ApplicationPoolIdentity” instead of networkService or a domain account for TFSservice,
Try below cause and resolution and see if that could solve the issue:
Cause:
The ApplicationPoolIdentity account did not have permissions on the content folder.
Resolution:
Set the permission for the Application Pool Identity (which is a virtual account) on the folder where the content is located.
The steps to do so are:
Right click on your Site/Application in IIS Manager and select Edit
Permissions.
Under Security tab click Edit, then Add. Enter "IIS AppPool\", ensure that location is set to the local computer, and
select Check Names.
Allow this user to have modify permissions.
http://learn.iis.net/page.aspx/624/application-pool-identities/
Besides, you could also take a look at this similar issue here: TFS 2010 RC, getting 404 on http://localhost:8080/tfs
Check if it's also UrlScan installed and that blocked your tfs site.
I am getting an Authorization_IdentityNotFound error when I try to run the Microsoft Contoso Airlines Team Example.
I registered my App at apps.dev.microsoft.com, added in all the Graph permissions (as well as Admin Consent) and added the Web.config.secrets file as described in the ReadMe.
Do I have to do something with an authentication token? I am using an Office 365 Developer Account.
Here are my permissions:
I am able to log in when running the app in Visual Studio, and I am able to get to the screen where you can select the airlines and crew members, but the error pops up when I click on 'Create Team'.
Here is the error:
I have downloaded the fall update of VS2012, I have a windows Azure active directory account and an Office 365 account
If I create a standard MVC 4.5 internet project, remove [InitializeSimpleMembership] from the Account controller and enable Windows Azure Authentication I go through the registration process but when I run the solution I get an error on the login page because user.identity.name is null.
Can any tell me how to create an initial MVC project and enable Windows Azure Authentication.
In Visual Studio, go to Tools -> click on Extensions and Updates -> Click on Online in the left pane -> Search for Identity and Access Tool and install it. OR go to this link http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1-4d81-b3d3-795cb104066e?SRC=VSIDE.
After you install the extension, you'll see a link called "Identity and Access..." when you right click on your MVC project in VS. Click on it and it will walk you through setting up your project.
I developed an application in Delphi 2010 that reads XML data from a transactional queue. It works fine if the queue is local or remote and I don't have to set permissions in both cases.
Now I have to convert that application into a Windows Service. I copied and pasted the same application into the service code, but when I try to read the queue I get the "Access denied" error. I'm doing the tests on my local machine.
Some people say that it's a matter of permissions. I found here in Stack Overflow some posts to the same problem but I didn't find the solution.
Any ideas? I'm using Windows 7 as well.
If you are running the application locally, you are running it under your Windows logon credentials. Services by default are launched under a different user account which may not have the same rights as your account does.
Bring up the service manager (start->services.msc), find your service in the list, right click it and select Properties. Then select the Log On tab and change it to a specific account name/password. (Use your account name / password.) You'll then be executing the code using the same credentials so your Access Denied error should go away.