TFS 2010 TF30065 An unhandled exception occurred - tfs

I have Install new instance of sql server in the server and Now the TFS2010 not working with error :
TF30065 An unhandled exception occurred
I can't found the real error to fix it, how I know the error detail or how I fix this ! there's many project in it and I have to fix it
edit: I found the error log of the error
Message d'exception : Échec du chargement du fichier Msxmlsql.dll.
L'instruction préparée avec le handle 0 est introuvable.
sp_xml_removedocument : la valeur fournie pour le paramètre numéro 1
n'est pas valide.
WIN-Server\SQLEXPRESS.Tfs_Configuration..prc_QueryCatalogNodes:
Database Statement Failure - Error %error="8179";% executing INSERT
statement for #pathSpec L'instruction a été arrêtée. (type
SqlException)

I have remove the second sql instance but the same error, then I have upgrade the first instnace from 10.0 to 10.50 the same of the new instance installed and it work now

Related

Plugin Jasper repot Jsf null pointer

I have a jsf project, I wanted to integrate the plugin jsf jasperreport : plugin jr-jsf ,
The compilation is going well but when I deployed the application , I get the following error. If anyone can help me find and correct the error.
Thank you in advance
GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) net.sf.jasperreports.jsf.config.ConfigurationStartupListener
java.lang.NullPointerException
at net.sf.jasperreports.jsf.config.XmlHelper.getText(XmlHelper.java:168)
at net.sf.jasperreports.jsf.config.XmlHelper.getChildText(XmlHelper.java:158)
at net.sf.jasperreports.jsf.config.Configuration.loadMappings(Configuration.java:179)
at net.sf.jasperreports.jsf.config.Configuration.loadMappings(Configuration.java:163)
at net.sf.jasperreports.jsf.config.Configuration.<init>(Configuration.java:114)
at net.sf.jasperreports.jsf.config.ConfigurationStartupListener.contextInitialized(ConfigurationStartupListener.java:60)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)

CCSID errors querying a DB2 for IBM i stored procedure through dbExpress

Background
I'm using RAD Studio XE2 with dbExpress, trying to retrieve a result set from a stored procedure residing on a DB2 for IBM i (AS/400).
Has dbExpress driver for AS/400 I use Peter Sawatzki's (seems to be the official one).
The procedure has one smallint parameter. I query it with CALL MYPROC(1) in a TSQLQuery.
My TSQLConnection parameters:
DriverUnit=DbxDynalink
LibraryName=dbexpca400.dll
GetDriverFunc=getSQLDriverCA400
Database=192.168.81.97
User_Name=myusername
Password=mypwd
Role=MYDEFAULTSCHEMA
VendorLib=cwbdb.dll
ErrorResourceFile=
ConnectionString=
HostName=
MaxBlobSize=-1
AS400 TransIsolation=DirtyRead
CommitRetain=True
AutoCommit=True
ServerCharSet=
LocaleCode=0000
RowsetSize=-1
Connection Timeout=-1
Trim Char=False
The error
When I activate the TSQLQuery I get
cwbDB_Execute returned error code 6038.
Server error class 2 code -403
Message id: PWS0011
Si è verificato un errore durante la conversione dei caratteri.
Causa ...: Si è verificato un tipo di errore 2 durante la conversione dal CCSID client 0 nel CCSID del server 1144. [...] 2 -- Il CCSID client o del server è 0 e non è consentito. [...]
In Italian it says server CCSID is 1144, while client CCSID is 0, which is not allowed.
What I tried
So I tried to set it using ServerCharSet parameter, inspired by driver readme file, which uses 424,1255 for Hebrew. I have an Italian system with character set 695 and code page 1144. I tried many combinations for ServerCharSet parameter, but the best I obtained was 2 new errors:
ServerCharSet=695,1144 gives
cwbDB_PrepareDescribe returned error code 6036.
Server error class 1 code -104
Message id: [corrupted chars]
[a message with corrupted chars...]
ServerCharSet=1144,695 gives
cwbDB_StartServer returned error code 6052.
CWBNL0102 - La tabella di conversione C:\Users\Public\Documents\IBM\Client Access\02b734b0.tbl invalida o corrotta
CWBNL0101 - Si Š verificato un errore durante il tentativo di conversione dei dati dalla code page 13488 a 695
CWBNL0101 - Si Š verificato un errore durante il tentativo di conversione dei dati dalla code page 1144 a 695
CWBDB0052 - Si Š verificato un errore durante la conversione dei dati
CWBDB0052 - Si Š verificato un errore durante la conversione dei dati
[...]
Setting LocaleCode parameter (not documented) makes no difference.
The question
How can I properly set client CCSID?
The documentation shows from and a to character set. Just setting ServerCharSet to 37 works for me:
ServerCharSet=37

catch global appcrash on delphi program at leaving

My delphi program sometimes crashes when closing.
(he's designed to close itself with an instruction)
My goal is simply to bypass that Crash error (so the program closes itself WITHOUT displaying the nasty error message box that prevents the application to close).
I guess I need a global exception handler for that.
I know I should track the bug that raises that error, but I need to make something quick&dirty so just preventing that error message box is a valid solution for now.
Any clue is welcome.
Nom d’événement de problème: APPCRASH
Nom de l’application: AutomateBuilder.exe
Version de l’application: 1.0.0.0
Horodatage de l’application: 2a425e19
Nom du module par défaut: KERNELBASE.dll
Version du module par défaut: 6.1.7601.17965
Horodateur du module par défaut: 506dbe50
Code de l’exception: 0eedfade
Décalage de l’exception: 0000c41f
Version du système: 6.1.7601.2.1.0.1296.17
Identificateur de paramètres régionaux: 1036
Information supplémentaire n° 1: c360
Information supplémentaire n° 2: c3603bb720f34381cd4463c13e515373
Information supplémentaire n° 3: 04ba
Information supplémentaire n° 4: 04ba20d4fba8ec9ad3a49cccf38783e
see SetErrorMode
Controls whether the system will handle the specified types of serious
errors or whether the process will handle them.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680621%28v=vs.85%29.aspx

How do you know where you YAML file is breaking?

I want my YAML parser in my Rails app to tell me where it trips up.
Often, after adding a lot of content to a YAML file I get this error in my rails app:
Can not load translation from /path/to/rails/app/config/locales/en.yml, expected it to return a hash, but does not
I want to know how I can debug this error so that it might tell me a line as to where I am failing. Right now my strategy consists of looking at the file and trying to find the mistake.
The trace through the application is no more descriptive and only tells me that the YAML parser was running.
Is it possible for the parser to tell where it is choking?
(I'm new to this so I am going to post a sample of what my YAML file looks like)
sp:
static_pages:
ship_agency_title: Agenciamiento de Barco
ship_agency_summary: |
Mardom ofrece servicios de agenciamiento a diferentes líneas marítimas, entre las cuales están líneas con servicios especializados en el transporte de carga contenerizada.
project_cargo_handling_title: Manejo de Proyectos
project_cargo_hangling_description: |
Mardom ofrece un servicio especializado en el manejo de cargas con sobre-dimensión y/o sobrepeso (carga de proyectos).
ship_and_cargo_brokerage_title: Fletamento de Buques y Carga
ship_and_cargo_brokerage_description: |
Marítima Dominicana S.A.S. cuenta con un equipo especializado en el servicio de fletamento de buques.
storage_and_warehousing_title: Almacenaje
You could try out a few online validators. Here's one:
http://yamllint.com/
Here's a previous question on how to validate yaml:
https://stackoverflow.com/questions/287346/yaml-validation

SideBySide error (Syst Log), executing a WindowsService devlopped with Delphi 2010, (using CoInitialize), on Windows Server 2003

I've developed a Windows Service coded in Delphi 2010, using ADO component. (with CoInitialize/CoUnintialize).
On my station (OS:Windows 7) , the service works fine.
(executing a sql requests on a database every minute (using a Timer) and sending text files by ftp)
But on the server (OS Windows server 2003), the service excutes the actions only one time, and then nothing more append, the service is apparently and correctly "Starded" in the service manager, but it don't do anything...It generates every minute this error in the
Syst Log : (in french...)
*Type de l'événement : Erreur
Source de l'événement : SideBySide
Catégorie de l'événement : Aucun
ID de l'événement : 59
Date : 11/06/2011
Heure : 15:50:18
Utilisateur : N/A
Ordinateur : VOR-WWW01
Description :
Generate Activation Context a échoué pour C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5800aeb6\582cb976\assembly\dl3\318d7bb4\000e1f5f_a790cb01\WS100Sync.DLL. Message d'erreur de référence : L'assemblage référencé n'est pas installé sur votre système.*
and in the App Log :
*Type de l'événement : Erreur
Source de l'événement : Vertaris_Suivi_Tiers.exe
Catégorie de l'événement : Aucun
ID de l'événement : 0
Date : 11/06/2011
Heure : 00:55:38
Utilisateur : N/A
Ordinateur : VOR-WWW01
Description :
La description pour l'ID d'événement ( 0 ) dans la source (Vertaris_Suivi_Tiers.exe) est introuvable. L'ordinateur local n'a peut-être pas les informations de Registre ou les librairies requises pour afficher les messages émanant d'un ordinateur distant. Vous pourrez peut-être utiliser l'option /AUXSOURCE= pour récupérer cette description. Reportez-vous aux rubriques Aide et support pour plus de détails. Les informations suivantes font partie de l'événement : Erreur E/S 32.*
I've search on the web, and many SideBySide errors seem being fixed installing :
Windows Visual C++ 2005 Redistribuable
So I've installed this package but nothing changed...
Do you have any ideas or informations to help me ?...
you can maybe try to run the core of your code: (timer + query), as a non Windows service, on win 2003.
You will check if the error is due to win 2003 compatibility or rights on services.
Are you sure the DataSource (ODBC DSN or somehing else?) is OK in your w2003 machine?
you can maybe test it in a non win service too.
best
se

Resources