This is both information to those experiencing the issue and a question.
edit: The question is why does dropping "www." from the URL cause this error when a website running at the same address can be referenced without "www.".
I recently reproduced this problem using a trivial WCF service (the one from endpoint.tv) after resolving the ...
I am able to consume the WCF Service in my front end ASP MVC application. I am now trying to configure a client side service for Jquery and this is where I am running in circles.
The first thing I tried was to put the service I consumed into the client side "svc" file like below, remove the codebehind and add the factory. Using this met...
Error: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.
I am trying to create a WCF service with Entity Framework (VS 2010, .NET 4). When I run it, I get the above error.
I read something about editing the T4 template, but it appears that it already has
[DataContractAttri...
I have a WCF service which needs to be called from client side(ajax call).
I want to use ScriptManager on ASPX page to add a ServiceReference to the WCF service (or) JQuery ajax call to the WCF service. I want to deny anonymous users accessing the WCF service. Is there any way to do user authentication before calling a service method fro...
Hi!
I'm setting up a really simple WCF service whos only job is to receive an XML-message via SOAP and send the message on to an internal service. Let's say the one I'm creating is a guardpost of such.
(Actual names have been substituted for example)
Initial info:
I cannot change the external service calling on me. As far as I know i...
I have a WCF webservice running that has 2 endpoints (mex and wsHttpBinding). The webservice is hostend on the address: http://localhost:2412/Service1.svc and its contact is named "WcfService1.IService1"
I want to call this service from VBA in Excel. To that, I use the folowing code:
mexMonikerString = "service:mexAddress='http://local...
I've followed the tutorial here: http://www.silverlight.net/learn/tutorials/sqldatagrid-cs/
ANSWER: When I ran this thing in the debugger, it was starting it up on port 16048. Meanwhile, ServiceReferences.ClientConfig had the endpoint address using port 15459. No clue why it did that, but once I changed it so it was accessing the serv...
I have created just a simple web service as a console application. It works fine on my dev machine and even on one of my servers. when I installed it on my production server I keep catching this error
the error that I am catching says
Retrieving the COM class factory for component with CLSID {BF97F9A2-A475-4F26-9B
5B-3A14F02D9824} fail...
Is there any reliable way to find from which Application the Request to a WCF Service originates? I know I can find the user name, domain, IP, etc. from the HTTP context, but what about the App name? Many thanks in advance.
...
Hello all,
(C#, WCF Service, Rhino Mocks, MbUNit)
I have been writing tests for code already in place (yes I know its the wrong way around but that's how its worked out on my current contract). I've done quite a bit of re-factoring to support mocking - injecting dependencies, adding additional interfaces etc - all of which have improve...
If number of users login and use a same wcf service then my application hangs and i have to logout ? so please give the solution so that n number of user can login and works at a time.
Thank you in advance...
...
I Have this architecture:
WebSite ASP.NET <------> WCF Service <--------> DataBase
DAtabase gathering very big files.
User request a big file in aspx page, through WCF Service. Service call database, and get the big file.
Now, my entity (datacontract) has those fields:
string Data1
string Data2
string Data3
byte[] FileBigger
How t...
Hi,
I am creating a WCF web service using wsHttpBinding and a corresponding application that calls this web service. The idea behind the application that calls the WS is that it will be installed and run from multiple client sites as a background process. The background processes will periodically send information from it's respective...
I have two versions of the same proof-of-concept site: The unsecure version:
http://www.tlsadmin.com/tlsadmin/PortalHome.aspx
and the secure version:
https://www.tlsadmin.com/tlsadmin/PortalHome.aspx
The problem I have is that my WCF-Based web services don't seem to work under HTTPS. Is there something I'm missing, or not underst...
Hello all,
I have asp page that need to access a client resource. Can I put the client code in a Windows Service and install it on client machine and call that service in asp JavaScript page?
Thanks
...
I have set up a Silverlight application that uses Windows Authentication, and works fine on My Windows Server 2003 Dev Box, but on Deployment to our Test Environment a windows authentication window opens and asks for the users credentials (which never get resolved).
I have just realized one big difference is that I am not using host he...
Hi,
I have many webservices running in my project but something odd has been happening for quite some time. My services occasionally crash for no reason with an error message "The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state." This usually happens...
We currently have a WCF Service which is beginning to reach it's limits performance wise.
We have decided to add another server which will host another instance of the WCF Service.
We have web applications which must communicate with a specific server based on context... e.g. If the web application is dealing with objects from ServiceI...
Hi All,
I Need by service contract to return the xml/json result depending on the request type.I also need a kind of helper function which will convert my result set (i am using linq to sql) so that i do not need to create the xml format for the result set by iterating through the table row many times.What is the suitable way to do that...
Hello Sir,
I am using an ASMX web service and creating a WCF Client for the service with customBinding. In the customBinding security section, I am using the authenticationMode as "KerberosOverTransport" and using HTTP as Transport medium. Please see the below code.
<customBinding>
<binding name="Service1Soap" closeTimeout="00:01:0...