I am using BasicHTTPBinding as per my req I have to disable anonymous access and make the service with Winodws Integration. I hv checked many forum and write the code as below in app.config file.
Connection String as:
< connectionString="Data source="IPadrress ";Initial Catalog="myPortal ";Integrated security=True" /><
!--
>-->
but when I browse from inetmgr getting the below error even after iisreset also.
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
Connection String as:
< connectionString="Data source="IPadrress ";Initial Catalog="myPortal ";Integrated security=True" /><
!--
but when I browse from inetmgr getting the below error even after iisreset also.
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
Harshal JumlePosted Feb 21, 2013, 5:04 AM
I have saved the data in local database in the WP7 . I have a Task table there . There may be 10,15,20 or... rows of data in that table . I want to send those number of rows of data to server using my wcf service . I am able to send the parameter to the server like i have a login method in the wcf which takes email and password as parameter returns boolean value true or false. Now I need to send these few 10,15,20 or... rows of data to the server via the WCF service and save in the server database. I am stuck at sending the number of rows to the wcf method. I have the Task data in list object. I have debugged and checked the presence of data.
Here is the code part
using (dbContext context = new dbContext()) taskStatQuery = from t in context.Tasks select t; allTasksStatus = taskStatQuery.ToList(); (client_TestFunctionCompleted);
{
IQueryable
List
WcfFSMSer.Win7MobileServiceClient client = new WcfFSMSer.Win7MobileServiceClient();
client.TestFunctionAsync(whatParamToSendForSendingFewRows);
client.TestFunctionCompleted +=
new EventHandler
}
void client_TestFunctionCompleted(object sender, WcfFSMSer.TestFunctionCompletedEventArgs e)
{ }
I am able to get all tasks list in this variable List allTasksStatus.
How to send these values from WP7 to WCF?
Thanks in advance
Suthish NairPosted Jan 8, 2013, 2:33 PM
http://www.slickit.ca/2009/02/wcf-using-iis-and-windows.html
http://blogs.msdn.com/b/mapo/archive/2007/11/28/security-settings-for-this-service-require-anonymous-authentication-but-it-is-not-enabled-for-the-iis-application-that-hosts-this-service.aspx?CommentPosted=true#commentmessage
read on