WCF Service issue

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="margin:0in 0in 0pt <a rel="nofollow <span style="font-size:small <span style="font-family:Calibri Hey everyone, I really need some help! I am absolutely desperate with the following situation:
<p style="margin:0in 0in 0pt <span style=" <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style=" <span style="font-size:small <span style="font-family:Calibri My .NET application is made up of 2 parts the .<span style="text-decoration:underline NET Web Project and
<span style="text-decoration:underline WCF Service (<em style=" Pulls data from SQL[/i]<span style="text-decoration:underline ).
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri <span style=" In my .Net Project I reference the WebService under
<span style="text-decoration:underline Service References.<span style=" <span style="
<span style="
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri My application has been working fine until I had to move the location in the TFS and something happened and I am unable to
<strong style=" Update Service Reference . As soon as I select <strong style="
Update Service Reference I get the below errors. <span style=" The issue seems to be that It deletes the configuration for it under the Web.config file and it does not update it properly. So when I try to reference it, it is not finding
it. Please anyone, if you have any ideas/ suggestions I would appreciate it very much!!!
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri Thnx
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri Neno
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri Error<span style="
4<span style="
Custom tool error: Failed to generate code for the service reference WebService.

<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri Error<span style="
5<span style="
The type or namespace name WebService does not exist in the namespace Project1.Web (are you missing an assembly reference?)
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri â
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri <span style="

<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri WEB.CONFIG with old reference working::
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas system.serviceModel<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas bindings<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas basicHttpBinding<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas binding<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas name<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue BasicHttpBinding_IService1"<span style="color:blue
<span style="color:red closeTimeout<span style="color:blue ="<span style="color:blue 00:01:00"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas openTimeout<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue 00:01:00"<span style="color:blue
<span style="color:red receiveTimeout<span style="color:blue ="<span style="color:blue 00:10:00"<span style="color:blue
<span style="color:red sendTimeout<span style="color:blue ="<span style="color:blue 00:01:00"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas allowCookies<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue false"<span style="color:blue
<span style="color:red bypassProxyOnLocal<span style="color:blue ="<span style="color:blue false"<span style="color:blue
<span style="color:red hostNameComparisonMode<span style="color:blue ="<span style="color:blue StrongWildcard"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas maxBufferSize<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue 65536"<span style="color:blue
<span style="color:red maxBufferPoolSize<span style="color:blue ="<span style="color:blue 524288"<span style="color:blue
<span style="color:red maxReceivedMessageSize<span style="color:blue ="<span style="color:blue 65536"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas messageEncoding<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue Text"<span style="color:blue
<span style="color:red textEncoding<span style="color:blue ="<span style="color:blue utf-8"<span style="color:blue
<span style="color:red transferMode<span style="color:blue ="<span style="color:blue Buffered"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas useDefaultWebProxy<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue true"<span style="color:blue >
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas readerQuotas<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas maxDepth<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue 32"<span style="color:blue
<span style="color:red maxStringContentLength<span style="color:blue ="<span style="color:blue 8192"<span style="color:blue
<span style="color:red maxArrayLength<span style="color:blue ="<span style="color:blue 16384"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas maxBytesPerRead<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue 4096"<span style="color:blue
<span style="color:red maxNameTableCharCount<span style="color:blue ="<span style="color:blue 16384"<span style="color:blue />
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas security<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas mode<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue None"<span style="color:blue >
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas transport<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas clientCredentialType<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue None"<span style="color:blue
<span style="color:red proxyCredentialType<span style="color:blue ="<span style="color:blue None"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas realm<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas ""<span style="color:blue />
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas message<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas clientCredentialType<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue UserName"<span style="color:blue
<span style="color:red algorithmSuite<span style="color:blue ="<span style="color:blue Default"<span style="color:blue />
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas security<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas binding<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas basicHttpBinding<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas bindings<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas client<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas endpoint<span style="font-size:9.5pt; color:blue; font-family:Consolas
<span style="font-size:9.5pt; color:red; font-family:Consolas address<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue http://proj1.com/Project1/Service1.svc"<span style="color:blue
<span style="color:red binding<span style="color:blue ="<span style="color:blue basicHttpBinding"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas bindingConfiguration<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue BasicHttpBinding_IService1"<span style="color:blue
<span style="color:red contract<span style="color:blue ="<span style="color:blue WebService.IService1"
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; color:red; font-family:Consolas name<span style="font-size:9.5pt; color:blue; font-family:Consolas =<span style="font-size:9.5pt; font-family:Consolas "<span style="color:blue BasicHttpBinding_IService1"<span style="color:blue
/>
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas client<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas system.serviceModel<span style="font-size:9.5pt; color:blue; font-family:Consolas >
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:small <span style="font-family:Calibri WEB.CONFIG after selecting Update Service Reference (just deletes and not updates)
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <<span style="font-size:9.5pt; color:#a31515; font-family:Consolas system.serviceModel<span style="font-size:9.5pt; color:blue; font-family:Consolas ><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas bindings<span style="font-size:9.5pt; color:blue; font-family:Consolas /><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<<span style="font-size:9.5pt; color:#a31515; font-family:Consolas client<span style="font-size:9.5pt; color:blue; font-family:Consolas /><span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
<span style="font-size:9.5pt; font-family:Consolas
<p style="margin:0in 0in 0pt <span style="font-size:9.5pt; color:blue; font-family:Consolas <span style="
</<span style="font-size:9.5pt; color:#a31515; font-family:Consolas system.serviceModel<span style="font-size:9.5pt; color:blue; font-family:Consolas >
<p style="margin:0in 0in 0pt <span style="font-size:small; font-family:Calibri

View the full article
 
Back
Top