cano63
asked on
.Net Service in XP and Windows 7
Hello,
I have a create a vb.net service that for some reason work on Windows 7 but not in windows xp, I have verify that the xp machine have the same framework that the Windows 7 machine.
The Service call an external api, and the problem is in that api call.
What are the thin that I should verify that my xp machine should have, it Already have the same Framework and the dll of the external api.
Thanks for your help
I have a create a vb.net service that for some reason work on Windows 7 but not in windows xp, I have verify that the xp machine have the same framework that the Windows 7 machine.
The Service call an external api, and the problem is in that api call.
What are the thin that I should verify that my xp machine should have, it Already have the same Framework and the dll of the external api.
Thanks for your help
ASKER
Window service that call an external api, as a service it run perfect in windows 7, but in xp faild. In a desktop app it call the api pwrfext in xp and 7, the problem is as. Service in xp thats why i think i,m missing something that have the 7 and not the xp machine
Can you provide the dll and the method declaration call?
ASKER
I have a sub that is called from a systemwatcher event, it call it fine because i put some log it explote when it is opening the api, like I said this is a service that work on windows 7 but not xp
Public Sub DMCall(ByVal File As String)
Dim dmApi As DMClientAPIClass = Nothing
Dim dmClient As DMClient = Nothing
Dim dmResults As DMSearchResults = Nothing
Dim dmResultItems As DMSearchResultItems = Nothing
Dim dmResultItem As DMSearchResultItem = Nothing
Dim dmItemDesc As DMItemDescriptor = Nothing
Dim dmSelectedItemDescs As DMItemDescriptors = Nothing
Try
dmApi = New DMClientAPIClass
dmClient = dmApi.GetClient(dmGetClientOptions.dmGetClientOptionNone)
dmClient.Add(File)
Catch ex As Exception
End Try
End Sub
ASKER
Today I install the service in a windows seven machine and it did not work, so i think that the problem is something that Im missing in the pc that IM installing, like i said before it work as a deasktop app and in some windows machinw
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello,
Your not going to believe this, I verify and in the machine that is not working it have all the DLL of the external api, also it have more Dll files, Also i was able to debug the service in the machine that don't work and when i debug it work but when it run alone it don't works
Strange !
Your not going to believe this, I verify and in the machine that is not working it have all the DLL of the external api, also it have more Dll files, Also i was able to debug the service in the machine that don't work and when i debug it work but when it run alone it don't works
Strange !
>The Service call an external api, and the problem is in that api call.
And the problem is ...