TFS Email templates - view XSLT errors - tfs

I'm using TFS2015.
I made a change to C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\TFSJobAgent\Transforms\1033\BuildCompletedEvent.xsl and now I'm no longer getting email alerts. So presumably, an error in my .xsl, but I can't seem to find any documentation on where such errors would get logged to.
I looked in the database at [Tfs_Configuration].[dbo].[tbl_JobHistory] but I see nothing relevant.
Worse, I reverted my changes and I'm still not getting email alerts. Unclear how to figure out what I did wrong and how to fix it.

There is a way to diagnose Email Alert logs with below command:
-diagnosing-email-and-soap-subscription-failures/
More detail steps and info please refer this blog from MSDN: TFS2010: Diagnosing Email and SOAP subscription failures

Figured it out. If there's an XSL transform error, it gets mailed to you as the notification. I had another notification issue which was preventing emails from getting to me at all.

Related

Kiwi reporting to JIRA issue

I want Kiwi to report bugs to JIRA. I have configured the JIRA bugtracker in the config page. I go to my test run an click on report. I select my JIRA issue tracker and click on report. Then I get no response. I check the Chrome's console, it shows JS error "Uncaught TypeError: Cannot read property 'rc' of undefined testrun_actions.js:460 ". Kiwi is 7.2 runnig in a docker conrainer.
How can I make this working?
This is definitely a bug. Maybe a couple of them. The UI should be more tolerant to these errors and inform the user what's going on.
As to why this happens I can't tell. This appears to be reported in
https://github.com/kiwitcms/Kiwi/issues/1333 which speaks about a TC text with 3.5KB size. This is quite a lot of text and depending on what JIRA accepts there may not be anything we can do about it.
Will follow up on the GitHub issue. If the original question isn't related please leave a comment indicating so.

Failing Unit-Test. Detailes not displayed

I am using TFS2018.3 and the recent build Agent.
if Tests fail, I don't get the Details displayed any more.
Instead I see error message:
We can't reach the server to fetch test results. Please refresh the page to try again.
Following the advise to refresh the page does not help.
What is the cause for this Issue?
I think I've found the cause. If I switch the Locale Language Settings back to German in my user profile the test results are shown correctly.
It's probably a TFS bug. Reported here: https://developercommunity.visualstudio.com/content/problem/556349/tests-tab-does-not-show-test-results.html

TF31001: Cannot Connect to Team Foundation Server

This error occurs after restoring database on TFS
Please guide if anyone resolve this error.
Thanks in Advance
Firstly please make sure you have correctly restored the database, see Back up and restore TFS, then check it again.
If the issue still exists, just try to check below things to narrow down the issue:
Make sure the SQL Server is stated and available, and the network
connectivity is OK.
Check the Service Account, make sure the Service Account has been
added in SQL Server.
Trying refer to the solution in below link to fix the issue:
http://www.ganshani.com/blog/2014/04/solved-tf246017-team-foundation-server-could-not-connect-to-the-database/
If above solution can not resolve the problem, please check the Event log. The Windows Event Log is a good candidate where to look for the potential cause.

TFS 2010: Project dashboard reporting service error

I have configured TFS 2010, but when I try to load the project dashboard for a team project, it returns a reporting service error so I am not able to see the "Task Burndown (hours)" and " Burn Rate (hours/day)". Other parts of the page are working fine.
The error is as:
An error has occurred during report processing. (rsProcessingAborted) Get Online Help
Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Get Online Help
Log on failed. (rsLogonFailed) Get Online Help
For more information about this error navigate to the report server on the local server machine, or enable remote errors
I got resolution finally....
Go to analysis service.
You will see database named as TFS_Analysis.
Go to Roles node.
View properties of "TfsWarehouseDataReader".
Click on Data Sources.
Now you will see Tfs_AnalysisDataSource.
Change access to "Read" and check "Read Definition" box. Now Click OK and You are Done.
The main problem was with SCHEMA CONFLICTS.
First identify which fields are causing schema conflicts, invoke GetWarehouseStatus and observe the XML which fields got conflicted, and in which collection. once you found the filed names then rename the fields with the help of below link.
geekswithblogs.net/Natalia/Default.aspx
msdn.microsoft.com/en-us/library/ee921480(v=VS.100).aspx
then rebuild your warehouse from tfs admin console, take a back up of old database in sql database and delete it .wait for some time (depends on warehouse time to refresh the cube or check the GetWarehouseStatus next day and check the xml ). to check this use below link
type //localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx?op=GetProcessingStatus
I spend lot of time to resolve this issue, that's why posting the solution here, this may help some one... any queries related schema conflicts and Reporting services feel free to post me... iam not a expert but for sure i can help you out in this issues....
Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

When i used SMS plugin in grails i am getting error

i have service to send sms to the mobile through Application. I am getting the follwing error.
2011-06-06 19:37:35,729 [http-8080-2] ERROR sipgate.SipgateService - Server returned HTTP response code: 401 for URL: https://samurai.sipgate.net/RPC2
This probably means you are using an invalid username or password
Have you set up the config as explained on the plugin page (at the top of the documentation)?
I also assume that this means your earlier problem was solved... Can you accept the answer if my answer helped, or explain what you did to fix it if it did not?
I agree with Tim. You can only log in, if your Sipgate-Registration was verified by Sipgate.
Points, which you can check to see if your account is not working:
Try to log in on the sipgate.de webpage
Use the Perl-Client given here: http://www.sipgate.de/basic/api
The client can be downloaded at this location:http://www.sipgate.de/beta/public/static/downloads/basic/api/sipgate_api_perl_examples.zip
Hopefully you should not be able to do at least one of these things. Then you know you have to talk to the support # sipgate
The documentation on the plugin-page says, you have to have a 'conf/Config.groovy'-file. This means that you should have the basic Config.groovy file in the folder 'grails-app/conf/', which ships with every Grails installation. So my guess is that you might have created a different Config.groovy-file. So better check on the Config.groovy-file. The SMS-plugin should have generated some placeholders for you, where you need to enter your sipgate-account-data.

Resources