HI,
I am using secondary data source (web service) for connecting to database from InfoPath. By default with out using any search criteria, I am pulling all the data from database. I am giving provision to search. Here I am providing 2 text boxes with Search button. As soon we click the Search button, I am passing the search criteria values to web services using .NET code behind and i am restricting the data to search criteria. This worked fine in 2 days. After that we try to search , it is giving error saying that "Microsoft InfoPath encountered a problem and needs to close.".
I am using .NET code behind for all button actions and written all business logic in .net. I debugged the code and checked it, everything is fine in the code, but still giving this error.
I need to fix this issue ASAP, client is asking me to fix this immediately.
Please help me to fix this issue. Quick help is highly appreciated.
Thanks,
Amar