Performance Issue of InfoPath 2003

S

shenhong

I've created a form with more than 10 pages and faced the performance issue.
loading a form needs more than 20 seconds.

I'm using InfoPath 2003 + SP2, and I search from Google and found some
materials, but cannot change much, it still shows very slow.

What I've done are
1, Remove the <xsf:domEventHandlers/>, <xsf:ruleSets/> and use one gobal
OnAfterChange event handler to handler all events.
2, Limit the size of data passed via Web Service.
3, I also want to use C# code to take the place of <xsf:customValidation/>,
but cannot implement it. I've tried OnValidate, but this event fired only
after OnBeforeChange. In most cases, for example, loading a form, some
fields need to be disable or enable based on the rule, no OnValidation is
fired, so I leave it.

What should I do now? My client cannot bear this kind of performance, if I
cannot change something, we have to select other solution instead of
InfoPath.

ln of manifest.xsn is 2000, ln of view.xsl is 5000.

Regards,
Shen
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

Eventhough you have removed the Domeventhandlers, rules sets etc, what other
eventhandlers are you running behind the code. make sure that the
Eventhandler is fired only on the level you applied and not at everylevel.
Check that the eventhandlers are not running for every event or change occurs
in the form except for which it is applied
 
S

shenhong

Kalyan,

I've done one testing, remove all Eventhandlers from manifest and FormCode,
it still shows very slow.
But when I remove the calling of web service, it shows fast.

Another question, how can do the testing to measure the time of loading one
form, render the form, generate the dhtml, etc. If I can get these data, it
will help me to do performance tuning at the proper place.

Regards,
Shen

"Kalyan G Reddy MVP (GGK Tech)"
 

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