Instalacija WinService SloTax

Podatki o programski kodi povezani z izdajo davčnih računov v SLO
Odgovori
mips
Prispevkov: 13
Pridružen: Če Dec 03, 2015 9:58 am

Instalacija WinService SloTax

Odgovor Napisal/-a mips »

Ob instalaciji WinService se mi service pojavi, nastavim ga na avtomatsko, ko ga pa startam mi javi

SloTax... service on Local Computer started and stopped. Some services stop automatically if they are not in use by other services or programs.

Katere certifikate je treba naložiti v katere skupine certifikatov?

Hvala za odgovor
Miloš
mips
Prispevkov: 13
Pridružen: Če Dec 03, 2015 9:58 am

Re: Instalacija WinService SloTax

Odgovor Napisal/-a mips »

V Event viewerju za SloTaxWinservice piše:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="SloTaxWinService" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-12-03T12:39:25.000000000Z" />
<EventRecordID>5856</EventRecordID>
<Channel>Application</Channel>
<Computer>Milos-PC</Computer>
<Security />
</System>
- <EventData>
<Data>SloTaxWinService Start</Data>
</EventData>
</Event>

lp Miloš
admin
Site Admin
Prispevkov: 3699
Pridružen: Sr Jul 20, 2005 10:06 pm

Re: Instalacija WinService SloTax

Odgovor Napisal/-a admin »

Pozdravljeni,

To kar ste poslali vi je informacija, to ni napaka. To je pač informacija, da je program SloTaxWinService začel z zagonom.

Če se ni uspel zagnati pa je med dogodki takoj naslednji dogodek napaka (Error) in tisto morate izpisati.

Npr; tole je primer napake, kjer je digitalni ključ napačno nastavljen (spodaj se lepo vidi napaka - Can't find certificate)

Koda: Izberi vse

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
	<System>
		<Provider Name="SloTaxWinService" /> 
		<EventID Qualifiers="0">0</EventID> 
		<Level>2</Level> 
		<Task>0</Task> 
		<Keywords>0x80000000000000</Keywords> 
		<TimeCreated SystemTime="2015-12-03T13:53:34.574377900Z" /> 
		<EventRecordID>4049</EventRecordID> 
		<Channel>Application</Channel> 
		<Computer>MNET2002</Computer> 
		<Security /> 
	</System>
	<EventData>
		<Data>System.Exception: Ne najdem digitalnega potrdila / Can't find certificate at MNet.SLOTaxService.Services.Certificates.getSingleCertificate(X509Certificate2Collection certificates) at MNet.SLOTaxService.Services.Certificates.GetByTaxNumber(String taxNumber) at MNet.SLOTaxWinService.Settings.getCertificate(XElement xDigitalCertificate) at MNet.SLOTaxWinService.Settings.Read(String fileName) at MNet.SLOTaxWinService.Settings.TryRead(String fileName)</Data> 
	</EventData>
</Event>
Ali pa napaka, kjer je vhodna mapa nastavljena napačno (Wrong settings, WatchFolder folder n:\test\input does not exists)

Koda: Izberi vse

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
	<System>
		<Provider Name="SloTaxWinService" /> 
		<EventID Qualifiers="0">0</EventID> 
		<Level>2</Level> 
		<Task>0</Task> 
		<Keywords>0x80000000000000</Keywords> 
		<TimeCreated SystemTime="2015-12-03T13:58:24.450481500Z" /> 
		<EventRecordID>4052</EventRecordID> 
		<Channel>Application</Channel> 
		<Computer>MNET2002</Computer> 
		<Security /> 
	</System>
	<EventData>
		<Data>System.ArgumentException: Wrong settings, WatchFolder folder n:\test\input does not exists at MNet.SLOTaxWinService.Settings.Read(String fileName) at MNet.SLOTaxWinService.Settings.TryRead(String fileName)</Data> 
	</EventData>
</Event>
lp,
Matjaž Prtenjak
Administrator
Odgovori