Thursday, February 14, 2013

Speeding up BizTalk and SharePoint InfoPath load times

I found this for a client not too long ago.

The symptoms were extremely odd. As InfoPath opened it would take anywhere from 2 to 25 seconds.

As any good developer would, we removed all the different events that may even be remotely associated.

That did not work!

We then tried to remove the local machine variable. We tried on various devices of different power types.

That did not work either!

Finally, we decided to check the network. We tried on my phone’s LTE network, wireless and wired. The results were sporadic.

We scratched our heads and then hit the internet for more research.

Thanks to this link >>

We found that IE makes use of the WPAD protocol to discover  a web proxy or it will try query the DHCP server. If this fails then it will go direct!

This was the cause of delay!

The solution ?

A simple:

  1. Open Internet Explorer
  2. Go to the Menu “Tools” > “Internet Options” then go to the “Connections” tab
  3. Click on button “LAN Settings
  4. Uncheck the box “Automatically detect settings” (culprit)
  5. Close and restart all running Internet Explorer processes
  6. Restart the “Web Client” Service, if needed.


Success!!! Fast and consistent InfoPath start times!

No comments: