We are trying to use Steven Sandersons Deleporter tool for cross process mocking: http://blog.stevensanderson.com/2010/03/09/deleporter-cross-process-code-injection-for-aspnet/
We are experiencing problems getting this to work, the same problem a lot of people have reported in Sanderson's blog post comment section: "Only one usage of each socket address (protocol/network address/port) is normally permitted”
We have succesfully got Sandersons demo guestbook project to work. However we occasionally do get the "only one usage of each socket.." error. Recycling the app pool and doing an iisreset seems to fix this. However, once we get past the socket error we get this error: "No connection could be made because the target machine actively refused it 127.0.0.1:38473"
Have anyone successfully gotten Deleporter to work? This tool would really aid in our BDD development.
The “Only one usage of each socket address…” error was fixed in Steve's April 16, 2010 GitHub Commit https://github.com/SteveSanderson/Deleporter/commit/f9b9f3070ec99ddf0d11bb818decadbd46c1bf70. I've found Deleporter very useful.
I found that to get it working with IIS 7.5 I had to clone the git repository, rebuild the solution and use that DLL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With