Meilleur auteur de réponses
I've a wcf service that has been hosted on IIS and provides wshttpbinding for its only endpoint. The service has been consumed by sharing the interface with the client web application and initiating communication with the service by use of ChannelFactory<TChannel>, therefore creating a channel.
It was working fine, however recently I added a Boolean parameter to the service's method and the interface and shared the interface. The client application now invokes this method multiple time in asynchronous calls using delegates. However it started throwing the following exception
"Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\4lsigfga.0.cs' could not be found
error CS2008: No inputs specified"
I'd be grateful if any of you can point me to the exact cause of this and any remedies (which as per my understanding is that since it generates a proxy class for consuming the service at run time but fails to do so)
Toutes les réponses
Have you tried clear the temporary file, re-complie the client application to fix this issue?
Also, can you upload a sample project to SkyDrive, it will be convenient for us to reproduce this issue. Thanks.