System.Net.WebException: The remote server returned an error: (401) Unauthorized. Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized. - InfoPath Dev
in

InfoPath Dev

System.Net.WebException: The remote server returned an error: (401) Unauthorized. Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized.

Last post 12-16-2008 06:21 AM by nerellasreenivas. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-16-2008 05:33 AM

    System.Net.WebException: The remote server returned an error: (401) Unauthorized. Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized.

    I am getting error when submitting a infopath 2007 form to sharepoint list using CAML.

    this is working in my local meachine, when i depoly this code into remote server iam getting error "System.Net.WebException: The remote server returned an error: (401) Unauthorized.  Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized."

    i used to web service data connection  to insert a data into sharepoint list.

    do i pass any credential for remote server?

    if it is required how to pass credential for remote server?

    please send the code. it is urgent 

     

     

     

  • 12-16-2008 05:42 AM In reply to

    Re: System.Net.WebException: The remote server returned an error: (401) Unauthorized. Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized.

    Hi

    I think you need to add credentials for the web service in the code. Look at this link:

    http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/544a81dc-214a-4caf-aa42-fc9dec796882/

    Madhuri
    http://www.ggktech.com
  • 12-16-2008 06:21 AM In reply to

    Re: System.Net.WebException: The remote server returned an error: (401) Unauthorized. Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized.

    iam unable to connect the http://severname/_layouts/UserGroups.asmx.

    how can i get the

    ProfileService.UserProfileService profileService = new ProfileService.UserProfileService();

     

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.