any answer to this? I added the connection string to the web.config file in REST virtual directory , and still i have the same problem.
have you tried set connection Runtime (http://msdn.microsoft.com/en-us/library/system.data.entityclient.entityconnectionstringbuilder.aspx)