Publishing Browser Enabled Infopath Forms that contains Custom Code

S

Sudhir Kesharwani

Hello everyone.

I have developed an info path form that contains custom code (written
in C# using VSTA).

however when I publish the form to server and try to access the form I
receive following error:

******
Description:
An exception occurred during loading of business logic. (User: GDNINDIA
\zahid.belim, Form Name: AssigneeRegister, IP: , Request:
http://pn1db1001:21000/_layouts/Wrk...p://pn1db1001:21000/Lists/Tasks/AllItems.aspx,
Form ID: urn:schemas-microsoft-com:eek:ffice:infopath:AssigneeRegister:-
myXSD-2007-05-22T09-30-19, Type: FileNotFoundException,
Exception Message: Could not load file or assembly 'file:///C:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template
\Features\RMSStateVisaWF\AssigneeRegister.dll' or one of its
dependencies. The system cannot find the file specified.)
*******
looking at the error message i think that it is not able to locate the
DLL file for the infopath form template, i even copied the dll into
the specified directory. but still receiving the same error.

I got one article saying that we need to publish such forms to the
administrator for approval..

http://msdn2.microsoft.com/en-us/library/bb250997.aspx

It is not very clear to me and i am still not able to publish the
form, does anybody know how to publish such forms to the server...

thanks in advance....
--Sudhir Kesharwani
 
C

Cool_Gadget

Hello everyone.

I have developed an info path form that contains custom code (written
in C# using VSTA).

however when I publish the form to server and try to access the form I
receive following error:

******
Description:
An exception occurred during loading of business logic. (User: GDNINDIA
\zahid.belim, Form Name: AssigneeRegister, IP: , Request:http://pn1db1001:21000/_layouts/WrkTaskIP.aspx?List=44d1eb37-9c53-458...,
Form ID: urn:schemas-microsoft-com:eek:ffice:infopath:AssigneeRegister:-
myXSD-2007-05-22T09-30-19, Type: FileNotFoundException,
Exception Message: Could not load file or assembly 'file:///C:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template
\Features\RMSStateVisaWF\AssigneeRegister.dll' or one of its
dependencies. The system cannot find the file specified.)
*******
looking at the error message i think that it is not able to locate the
DLL file for the infopath form template, i even copied the dll into
the specified directory. but still receiving the same error.

I got one article saying that we need to publish such forms to the
administrator for approval..

http://msdn2.microsoft.com/en-us/library/bb250997.aspx

It is not very clear to me and i am still not able to publish the
form, does anybody know how to publish such forms to the server...

thanks in advance....
--Sudhir Kesharwani

Hi Sudhir,

you should check in your form options whether you have given
permission for your form to be full trust or not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top