Thursday, 31 January 2013

Where is svcutil.exe in Windows 7

For my WCF Client Application, I need to generate the class file and Configuration file.

So where we need to find this svcutil.exe.

The Location of svcutil.exe is

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin


We need to execute the command   by using the Visual Studio command prompt

Click Start -> Programs -> Microsoft Visual studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt


Then you can use  the Following Command

To generate the proxy class with svcutil.exe command
svcutil.exe /language:<type> /out:<name>.cs /config:<name>.config http://<host address>:<port>
SvcUtil.exe /language:vb /out:WCFServiceClientRef.vb /config:app.config http://localhost/SampleServices/FlexService.svc


Tuesday, 29 January 2013

Adobe & HTML5 Webinar

The process cannot access the file because it is being used by another process.(Exception from HRESULT: 0x80070020)

In IIS7.5  I was trying to start my default Web Site and am getting  the  following Error Screen.

I realized that I want to see which process is using this portNo .
Lets take a look at the netstart  and see what might be causing problem.
Open Command Prompt (Windows Key + R  and Enter cmd) and enter Command.

Then I tried to which process is using this Process ID 4 accessing port No 80.

Using the tasklist command we can see the all processes running under Windows. You can Filter by enter the command /fi “PID  eq 4”. Means we are Searching Process ID  equals to 4.
The process with Process ID 4 is Skype. Then Closed the Skype and restart the IIS now it is working fine Now.