Monday, October 29, 2018

How do I uninstall a Windows service In window using SC Tool?

If you want to Uninstall some services from your service list you have to follow some step


1)You can use the SC tool (Sc.exe) included in the Resource Kit. (included with Windows 7/8/10).

Open a Command Prompt and enter

sc delete <service-name>


Tool help snippet follows:
DESCRIPTION:
        SC is a command line program used for communicating with the
        NT Service Controller and services.

delete----------Deletes a service (from the registry).

Thank you

If it is helpful it is my pleasure .....

Thursday, October 25, 2018

Error CS0012 The type 'DataServiceCollection<>' is defined in an assembly that is not referenced.

Dear all hope you are all good.

Solution of Error "Error CS0012 The type 'DataServiceCollection<>' is defined in an assembly that is not referenced.
You must add a reference to assembly 'Microsoft.OData.Client, Version=6.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Svatantra.OmniProcess.Scheduler D:\Arjun\Projects\Svantra\Svatantra.OmniProcessScheduler\Program.cs 141 Active"

As you see above error it is clearly mentioned some .dll version issue
"Svatantra.OmniProcess.Scheduler D:\Arjun\Projects\Svantra\Svatantra.OmniProcessScheduler\Program.cs 141 Active" this is project name .

After some search i found solution of above error it is as below.

1. Follow the instructions in the hotfix ReadMe to install the fix.

2. Download the following dlls from Package Manager Console 
   Microsoft.OData.Client.dll
   Microsoft.OData.Core.dll
   Microsoft.OData.Edm.dll
   Microsoft.Spatial.dll

Install-Package Microsoft.OData.Core -Version 6.15.0
Install-Package Microsoft.OData.Client -Version 6.15.0
Kindly refer the link :- https://gateway.sdl.com/communityknowledge?articleName=000003826


Thank you