B
BigJohnW
Hi,
I have created an infopath form which contains fields for Active Directory
lookups. Several fields query the AD and display user related data - Name,
Title, Manager, stuff like that. I've signed the form with a certificate and
published the form successfully to Sharepoint (MOSS2007) so that it published
in a browser. However, when I try to open the form in a browser from
Sharepoint, before the form is displayed, it errors and says an error has
been entered into the Server Application Event log. This is a 5337 error ID
and states:
Business logic failed due to an exception. (User: Domain\MyUserName, Form
Name: Holiday Request Form, IP: , Request:
http://web/_layouts/FormServer.aspx.../Public/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-comffice:infopath:Holiday-Request-Form:-myXSD-2008-03-07T12-43-21,
Type: COMException, Exception Message: An operations error occurred.)
If I click continue, the form displays correctly in a browser but without
the code based fields being populated.
I've been told in another Forum (Sharepoint Portal Server) that this is a
problem with the code I have used. However, when I preview the form inside
Infopath (2007) the form loads and displays correctly and all fields are
properly populated, so I assumed the code is correct.
I can post my code here if required.
I have added a reference for System.DirectoryServices and put Imports
System.DirectoryServices at the top of the form. I then posted my code to the
Loading Event and when I build the form inside Microsot Visual Studio Tools
for Applications the form builds error free.
I don't think I've missed anything , except the code, which I can post if
required.
Please can anyone advise on why I am getting this error and how to cure it
so that my form loads properly in a browser and populates the required fields?
Many Thanks
John
I have created an infopath form which contains fields for Active Directory
lookups. Several fields query the AD and display user related data - Name,
Title, Manager, stuff like that. I've signed the form with a certificate and
published the form successfully to Sharepoint (MOSS2007) so that it published
in a browser. However, when I try to open the form in a browser from
Sharepoint, before the form is displayed, it errors and says an error has
been entered into the Server Application Event log. This is a 5337 error ID
and states:
Business logic failed due to an exception. (User: Domain\MyUserName, Form
Name: Holiday Request Form, IP: , Request:
http://web/_layouts/FormServer.aspx.../Public/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-comffice:infopath:Holiday-Request-Form:-myXSD-2008-03-07T12-43-21,
Type: COMException, Exception Message: An operations error occurred.)
If I click continue, the form displays correctly in a browser but without
the code based fields being populated.
I've been told in another Forum (Sharepoint Portal Server) that this is a
problem with the code I have used. However, when I preview the form inside
Infopath (2007) the form loads and displays correctly and all fields are
properly populated, so I assumed the code is correct.
I can post my code here if required.
I have added a reference for System.DirectoryServices and put Imports
System.DirectoryServices at the top of the form. I then posted my code to the
Loading Event and when I build the form inside Microsot Visual Studio Tools
for Applications the form builds error free.
I don't think I've missed anything , except the code, which I can post if
required.
Please can anyone advise on why I am getting this error and how to cure it
so that my form loads properly in a browser and populates the required fields?
Many Thanks
John