I'm trying to get a WCF service set up on our server using windows authentication and IIS 7. When calling the service I get the following error message.
Cannot open database "TestDB" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Here is my config file for the WCF service.
<?xml vers...
Hello,
I am trying to create a REST web service using .NET 4.0 and WCF. My REST service is returning a List which then gets serialized into XML. The problem I am having is that the XML being returned starts with ArrayOf, which I don't like.
In other words, right now the XML looks like this:
<ArrayOfAchievement>
<Achievement>
...
Hello All,
I am tasked with building a process which will compensate for replication delays on our LDAP system. Currently, there is one write server and 4 read servers. After writing an entry to the write server there can be up to a 4 second delay on the system before the entry is replicated to the read servers. Therefore, if I call ...
I have a WCF Service which retreives data via Linq2SQL. I am getting all the child records, just not the related parent records
i.e Customer record has related Orders, and there is a status on the customer. I am getting the customer and the orders, but I cannot get the status record to get the status description
using (MyDataContext c...
I have noticed that all the example in the internet uses Service Path of ASMX for a cascading dropdown list, is there a way to use more modern technology as it's service path? I was wondering if I could use DataServices for it?
...
In my code I'm using static field for storing a particular value.
public static int webServiceId;
I have remove that and use any other solution. But the value should retain after postback. We can't use Session or ViewState here. Coz I'm working with services (in Service layer).
Example:
I get webservice id in the below method of xy...
Hi,
What's the limit of data that I can return by WCF service? I tried to play around with maxReceivedMessageSize and other parameters but still dont know what exactly the limit? Even if I get rid of "size quota for incoming messages" issue I get "an existing connection was forcibly closed by the remote host".
I know that "pagging" is ...
Hi all
I am new to WCF, I was using web service asmx before. I have trouble on making my wcf JSON ajax service work through http like asmx.Could you help me see what wrong in my code?
My WCF services are defined in my website application folder. My aim is to call this service in my aspx page java-script code and return complex object b...
I need to create a WCF service (duplex, because it's also about Silverlight and a lot of localhost - stuff, it's a very complicated, legacy - bound situation here...) which will accept multiple sessions, is able to send notifications to multiple clients, and nothing must be blocking.
So my first attempt was to create a class that employ...
Hello,
Does anyone know where I can find a good JINI vs WCF comparison / article? I've googled a lot and seriously can't find anything..
Best regards,
MF.
...
Hi
I have WCF REST web service hosted by IIS, it works on HTTPS, I generate Certificate on IIS and assign Https to a port
I generate cer through IE browser. I create a test application and regardless Add a client certificate or not or even add a wrong certificate the connection take place and a I get correct response. I am wondering h...
Hi, I have the following WCF code:
ServiceHost host = null;
if (host == null)
host = new ServiceHost(typeof(RadisService));
How can i get a pointer to my RadisService, to make calls with it?
Well it was really for testing purposes, but please allow me to ask the question anyway, for educational purposes. What happens if my servi...
Where can one find FindPrivateKey.exe after a fresh VS2008 install?
...
Has anyone seen the following exception and knows what the cause is. Recently deployed code live and started seeing exceptions which forced roll back. On Windows Server 2008 and IIS7.0. The full stack trace seen below.
NHibernate.HibernateException:
Creating a proxy instance failed --->
System.Runtime.InteropServices.COMExcep...
I'm creating WCF services that return data contract types by mapping Entity Framework types. What is the best place to put the Mapper.CreateMap calls? Should I do it in each service and only for that service, or should I do it on service startup?
Thoughts?
...
I will use the Starter Example given when you create a WCF Service
[DataContract]
public class CompositeType
{
bool boolValue = true;
string stringValue = "Hello ";
[DataMember]
public bool BoolValue
{
get { return boolValue; }
set { boolValue = value; }
}
[DataMember]
public string St...
Is it possible to change the endpoint address on a WCF service when using IIS Hosting, I current just point to the svc file but I would like to use RESTful commands?
...
Hi
I want to expose a service operation of a WCF Data service over FTP
I was wondering how to best approach this
I was thinking of writing a batch file, which will invoke the WCF dataservice, write the data returned by the service to a FTP location and grant access to the Client to that particular FTP location
Do you think this is a ...
In .NET, I have developed a client library for my WCF service.
I have registered the assembly for COM interop so that I can make calls to the library from VBA.
However, since the executable using the library is not built in the .NET setting, library functions are unable to find the config file that defines the service bindings ('app.co...
I'm using Clemens Vasters' XML-RPC implementation to implement an XML-RPC endpoint. When I host the service in a console application, it works fine.
I'd like to host it in an ASP.NET MVC application, so I'm using a .SVC file. This is partially working. When I browse to the .SVC file, I see the usual "You have created a service" stuff.
...