2
I have a Webservice with all the methods I need to make the system work and I also have a page ASP NET MVC 4
. I already referenced the Webservice Referral Service.
I can access a method that returns a simple string, but when I call a Webservice method that requests to the database(insert) it returns an error to me:
System.Data.EntityException: O provedor subjacente falhou em Open. ---> System.Data.SqlClient.SqlException: Falha de logon do usuário 'IIS APPPOOL\\ApPizza'.\n em System.Data.SqlClient.SqlInternalConnection.OnE...
. I searched and found something like this: you’re not doing the IIS user impersonate.
I was wondering if there are any settings I should do. Both on the Web.Config and the entire project.
There’s a way you can get past your Connectionstring ?
– user6026
My connectionString is at Webservice which is hosted at IIS
– Thiago Alex
If you do not pass the settings and how is your Web Service project difficult to opine !!!
– user6026