R
ritesh
Hi,
I am trying to populate a dropdown say field2 based on the value
selected in another dropdown say field1.
In the first dropdown field1, name of group is selected.
In the data connection, i am using a web method exposed by a web
service which accesses the Active Directory to get the members of the
group selected in field1.
When I use the same piece of code in a console appliaction, it runs
perfectly.
But when I use the same code in web service, it gives me the following
error.
Some rules were not applied.
The query cannot be run for the following DataObject:
GetActiveDirectoryUsers
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Runtime.InteropServices.COMException
(0x80072020): An operations error occurred.
at Service.GetActiveDirectoryUsers(String groupName) in
c:\Inetpub\wwwroot\BE.ESB.COTWS\App_Code\Service.cs:line 713
--- End of inner exception stack trace ---
The error is occuring at the place in my web service where I call the
FindAll() for the DirectorySearcher object.
Could anybody help me out with this?
Regards,
ritesh
I am trying to populate a dropdown say field2 based on the value
selected in another dropdown say field1.
In the first dropdown field1, name of group is selected.
In the data connection, i am using a web method exposed by a web
service which accesses the Active Directory to get the members of the
group selected in field1.
When I use the same piece of code in a console appliaction, it runs
perfectly.
But when I use the same code in web service, it gives me the following
error.
Some rules were not applied.
The query cannot be run for the following DataObject:
GetActiveDirectoryUsers
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Runtime.InteropServices.COMException
(0x80072020): An operations error occurred.
at Service.GetActiveDirectoryUsers(String groupName) in
c:\Inetpub\wwwroot\BE.ESB.COTWS\App_Code\Service.cs:line 713
--- End of inner exception stack trace ---
The error is occuring at the place in my web service where I call the
FindAll() for the DirectorySearcher object.
Could anybody help me out with this?
Regards,
ritesh