How do I fix this Azure publishing error? - visual-studio-2012

Problem
Up until this week I have been successfully publishing services to Azure.
But this morning, when I went to do a publish, I was greeted with the following screen:
http://postimg.org/image/fyno8sxpl/. If I mouse over the red crosses, the hint says: "One or more errors occurred".
If I click 'Publish' it shows the following message but nothing else happens:
http://postimg.org/image/jwb7onbdv/
My colleagues have (what appears to be) exactly the same setup but they do not see any errors. I suspect it is something to do with certificates, but I cannot find any invalid or out of date certificates.
Has anyone here encountered a similar issue and are able to point me in the right direction?
Thank you for any help you can provide.
Extra info:
I am using Windows7 / VS Professional 2012 / C#.
I have found the solution...
Solution
Select 'Publish' in your project.
Select 'Previous' until you are at the first tab.
Select <Manage...> from the 'Choose your subscription' dropdown.
Click 'Sign out'.
Click 'Sign in'.
Select 'Sign out and sign in with another account'
Finally, sign in with your usual account.

If you are getting this error you may need to re enter your credentials for Azure.
If you go to Server Explorer there will be a yellow warning sign on the top menu item.
You can right click on it and reenter your credentials.
Reference:
http://www.anujchaudhary.com/2015/09/one-or-more-errors-occurred-while.html

Related

https://language.cognitive.azure.com/clu/projects - get *A server error occurred. Please refresh the page...* every time when creating new project

I am new to Cognitive Services Language Studio and I'm a novice at best with Azure. I was trying to set up LUIS but the site said it was being discontinued and to use CLU instead. I have an Azure account with a new language resource group setup. It's all showing up in the CLU create new project form correctly. However, when I hit CREATE from the second page of the project creation modal I get the error message "UNKNOWN [current time] A server error occurred. Please refresh the page and try again."
Is this an Azure server issue or bug or is there something that I can do on my end to fix this?
Thanks in advance for any help!
I filled out the Create New Project modal and and when I pressed Create I got the above error. Every single time. It is accessing my Azure correctly including the language resource. Everything that has an asterisk next to it is filled out or correctly selected. I don't know if it's because it's a new Azure feature and it's still buggy, or maybe there's late night maintenance, or is there something I can fix on my end and the error message just isn't giving me that information.
I am able to create a project right now, I am in S0 tier and southcentralus region. Please share your region so that I can check with your region as well. I don't see any bug in the backend as well.

Using gitlab interface

I am in a process of learning gitlab and have created some test projects.
But I just cannot figure out how to delete these projects. I do not see any "Dangerous Settings " options on my page/project as some forums suggest.
(Please see attached picture of my gitlab page to see what I see)
Please note : when I click on my projects I get "404 Page not found" but the activity log shows that I have pushed files.
Thank you
I depends on the version of GitLab you are using.
Issue 9890 mentions:
When you want to remove a project in its settings (/<owner>/<project>/edit) and confirm the pop-up (where you have to enter the project's name), the project is deleted..
But you're not redirected to a different site automatically. Since the project is gone, the current site /<owner>/<project>/edit does not exist anymore so you're getting a 404.
This was fixed in 8.2.3 (commit 2497d3d)
You can delete those projects from admin area.
Login with the admin account
Go to Admin area (the wrench icon on the top right corner)
Click on Projects on the left side bar
There is a list of your projects, then just delete what you want.
(I am using GitLab 8.2.1)
I realized I wasn't enrolled as admin . That is why I wasn't seeing the gear tool to modify my projects.
Thank you Van and Issue 9890 for your response.

SSRS DataSource Windows Authentication fails

I have a project which uses SharePoint lists as data sources to create the reports. I'm using Visual Studio 2013 for this.
I have this real annoying issue at this moment, ie. when I want to edit a dataset I created a while ago and I press 'Query Designer...' in the dataset properties to see all fields from my list I get an error which says that I am unauthorized.
My DataSource is configured to link to the SharePoint Site Url with Windows Credentials. I have also tried this out for multiple datasets on multiple reports but the error is everywhere.
Because of this I'm also not able to run my reports. They just say "An error occurred during local report processing.".
I have been working on this project since March and this is the first time this has occurred so I have no idea what might have gone wrong nor how to solve it.
Does anyone know what might cause this error and how to solve it please?
If you have any questions or remarks about my question/problem, please, don't hesitate to leave a comment.
Kind regards
EDIT 1:
I have just tried deploying a report that I finished last week and for the first time I got a prompt that asked for my credentials. I haven't even put my credentials anywhere in the project for past authorisation so I have no idea why the project would suddenly need it now...
EDIT 2:
I have just tried changing the DataSource credentials to my own login for the SharePoint Site. If I run the report I get the same error as before but when I go to Query Designer for one of the datasets I get following error:
EDIT 3:
I just restored a back-up I made a couple of weeks ago. I can now run my reports but I still get the Unauthorized error when I try to open a dataset's query designer and the prompt for my credentials when I try to deploy a report.
So, the solution has been found!
Apparently something has gone wrong with my PC and I had to reconfigure my user accounts.
To do this go to Control Panel -> User Accounts
Then click on 'Manage User Accounts'. Go to the 'Advanced' tab and click on 'Manage Passwords'
Next, go to 'Windows Credentials' and change the credentials for your site or recreate them.

Windows Azure 'Design Your SQL Database' link not working

I'm following the example in chapter 13 of Adam Freeman's book Pro ASP.NET MVC5 where he uploads the sample application to the Windows Azure cloud. In the example he show that the database is set up by clicking the 'Design Your SQL Database' link in the 'Connect To Your Database' section.
When I click this link, the spinning wheel is activated to show that the click has been registered, but then nothing happens. This is the first time that I've used Azure and I was wondering if anyone had any ideas why the link doesn't work. I have Silverlight 5 installed and the I've followed the tutorial to the letter.
Any help would be greatly appreciated.
I was having this problem using Chrome, and spent hours trying to find a solution.
I finally tried using IE instead, and was prompted to allow popups. Once I selected "always allow" the database form displayed as shown in the book.

"Error: cs0016 could not write to output file ... access is denied"

How can I fix the following error?
error: cs0016 could not write to output file...c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\sitename\6c57f9d2\bb09b49d\App_global.asax.5odzsyz5.dll' access is denied
After spending hours on this issue myself below is the solution that worked for me on Windows 7 running IIS 7.5:
The application pool identity associated with the site was not a member of the IIS_IUSRS group. To add the app pool identity to the group I used the following steps:
From the start menu select Run… enter lusrmgr.msc and click OK.
Select Groups.
Double click the IIS_IUSRS group.
Click the Add... button.
Click the Locations... button.
Select your computer name (it should be at the top of the list) and click OK.
In the text box below "Enter the object names to select" enter:
iis apppool\<app pool identity> e.g. iis apppool\dev
Click the Check Names button. If a Name Not Found dialog box appears then verify that the app pool identity entered matches the app pool identity associated with the site. If a dialog box did not appear then click OK.
Repeat steps 7 through 8 for each app pool identity you wish to add.
Click OK.
Now the app pool identity is a member of the IIS_IUSRS group which should already have access to the Temporary ASP.NET Files directory. After all that I was still receiving the error and I found (thanks to process monitor) it was because the app pool identity could not write to the windows temp directory. To resolve this I added the IIS_IUSRS group to the windows temp directory with read/write permissions.
From the start menu select Run… enter %windir% and click OK.
Right click on the Temp directory and select Properties.
Click on the Security tab.
Click the Edit... button.
Click the Add.. button.
Click the Locations... button.
Select your computer name (it should be at the top of the list) and click OK.
In the text box below "Enter the object names to select" enter: iis_iusrs
Click the Check Names button. If a Name Not Found dialog box appears then check for typos. If a dialog box did not appear then click OK.
Select the added IIS_IUSRS group and in the Permissions for Everyone box below select:
Allow Read and Allow Write
Click OK. A dialog box will be displayed stating that "You are about to change the
permission settings on system folders, which can result in unexpected access problems
and reduce security. Do you want to continue?"
Click Yes
Click OK
I've fixed this issue setting full control for 'NETWORK SERVICE' to the system temp:
C:\Windows\temp
The error message reported by the web server is a bit misleading.
Hope this helps.
I was struggling with this problem for a while.
Found some solutions on the web that involved setting permissions on the "Temporary ASP.NET Files" directory in the error message. But even opening it up to "Everyone" didn't work.
Then eventually the following steps fixed it:
Go to the IIS AppPool for this site
Right-click the app pool and go to Advanced Settings
Change Identity from "ApplicationPoolIdentity" to "NetworkService"
There may also be some other necessary steps, which I did while troubleshooting, but this is the key step. For some reason the App Pool Identity (such as IIS_APPPOOL\SiteName) isn't granted access when "Everyone" is. I'm sure someone else can shed some light on why this is the case... Hopefully this helps others resolve this frustrating issue.
I had the same problem.
Found an easy way to resolve: Set "Load user profile" to true in app pool's advanced settings.
I found the accepted answer on this post to be correct in process. I tried "NetworkService" and it did not work. However "LocalSystem" did!
For Windows 7 Set Full Control Permissions on folder C:\Windows\Temp for user IIS_IUSRS
Network Service user usually only applies on servers
Go
C:\Windows\Temp
Right Click on Temp Folder > go To Security Click on Edit
Add New User [IIS_IUSRS] AND GIVE IT FULL PERMISSION. Then Press Ok,
Just just need to set permissions for "Temp" folder.
Go to "C:\Windows\Temp"
Right click on it, and go to security.
Set permission for [IIS_IUSRS] user to Full control
Press OK
All done.
I Had tried like give the permissions and change in IIS regarding the identity but I was getting same error.
I just keep the following files underneath the path "C:\Windows\Microsoft.NET\Framework\v4.0.30319" and problem is gone.
give the full control permission to recent folder.
cvtres.exe (XML configuration File)
cvtres (application).
I tried all the options here without any luck.
What worked for me was to simply remove the application pool and recreate it.
No need for extra permissions on any folder.
I have all permissions about writing and reading but I'm starting to get that error.
I can suggest "restart machine"
At least, it works for me

Resources