<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/76031.aspx</link><pubDate>Fri, 02 Mar 2012 19:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76031</guid><dc:creator>sirwally</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76031.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76031</wfw:commentRss><description>&lt;p&gt;A little more detail behind a possible cause for this problem is here: &lt;a href="http://blogs.msdn.com/b/alimaz/archive/2008/10/16/check-for-publisher-s-certificate-revocation-slowing-down-sharepoint.aspx"&gt;http://blogs.msdn.com/b/alimaz/archive/2008/10/16/check-for-publisher-s-certificate-revocation-slowing-down-sharepoint.aspx&lt;/a&gt;. It turns out that the .NET runtime must verify that the certificate has not been revoked by communicating with CRL.MICROSOFT.COM. If your server cannot communicate with it (perhaps internet access has been disabled) then you will take a huge hit waiting for the inevitable timeout.&lt;/p&gt;
&lt;p&gt;Hope that helps other that run into this problem.&lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/75985.aspx</link><pubDate>Fri, 02 Mar 2012 01:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75985</guid><dc:creator>sirwally</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=75985</wfw:commentRss><description>&lt;p&gt;Even a self-signed certificate (like the one created in InfoPath) can be installed and used on client machines. The user simply needs to install it when opening the form, and I have done this a few times in the past when signed certificates just wasn&amp;#39;t an option. However, user&amp;#39;s may be scared by&amp;nbsp;what they have to agree to when they install a self-signed certificate, so you will have to tell them it is OK while not being complacent about such security concerns. In an enterprise you probably don&amp;#39;t want to do this and opt for a signed certificate from a valid authority. This could either be a certificate from an organization such as Thawt or Verisign, or it could be generated by the enterprise itself via a product such as Microsoft Certificate Server.&lt;/p&gt;
&lt;p&gt;I had the same problem you had regarding a C# project and slow form load times. I have developed numerous forms before, mostly C# and I have never run into this. However, we have a complex, global network with numerous domains, and a somewhat convoluted path for access and authentication. The form is installed in a SharePoint server in one domain, the certificate technically comes from a different domain (albeit a parent domain) and access is&amp;nbsp;currently provided via Citrix in yet another domain. We figured after a few hours of troublshooting that the problem was some sort of authentication issue and I suspected it had something to do with the certificate verification, but wasn&amp;#39;t sure exactly where to look. Thanks to this post I now know, but I fear that it may not be acceptable for have users disable the option mentioned. Having said that, I am pretty sure it would be more difficult to&amp;nbsp;address the network issues...Ah, the joys of enterprise computing!&lt;/p&gt;
&lt;p&gt;UPDATE: I just noticed the date on the previous post...I don&amp;#39;t expect to get a response :-)&lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63571.aspx</link><pubDate>Wed, 26 Jan 2011 16:16:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63571</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63571</wfw:commentRss><description>Thank you for the information, but how can I install/create a certifcate that every client can use it?&lt;br /&gt;&lt;br /&gt;

I think the certificate which can be created in InfoPath, is only a test certificate.. It is the first time that I&amp;#39;m working with certifcates.. Sorry.. &lt;br /&gt;&lt;br /&gt;

Note: This will be a Document Information Panel (DIP)</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63548.aspx</link><pubDate>Wed, 26 Jan 2011 03:46:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63548</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63548.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63548</wfw:commentRss><description>&lt;p&gt;Hi, the client will be able to use the certificate you&amp;#39;ve create with Infopath&lt;font face="Calibri"&gt; &lt;/font&gt;out of box code signing and&amp;nbsp;if they install it the message will not&amp;nbsp;be prompt anymore. Infopath&lt;font face="Calibri"&gt; &lt;/font&gt;out of box code signing certificate doesn’t allow the certificate’s private key to be exported it means that only the user who create the certificate can use it.&amp;nbsp;In your case it&amp;#39;s not a problem.&lt;/p&gt;
&lt;p&gt;I already develop form on this kind of setup and I didn&amp;#39;t have any certificate issue. &lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63530.aspx</link><pubDate>Tue, 25 Jan 2011 17:38:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63530</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63530</wfw:commentRss><description>hmm.. my problem is, i am developing on a developer client. The certificate uses my information. But the certifcate must be taken to the server, where the applications should be stored and run from there in other clients. Should i install the certificate only on the server or should i roll-out it via AD on every Client?</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63516.aspx</link><pubDate>Tue, 25 Jan 2011 13:26:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63516</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63516</wfw:commentRss><description>&lt;p&gt;Hi, normally you can use this kind of certificate. Can you verify that your certificate is on trusted root certification authorities group?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kbalertz.com/867441/error-occur-signed-solutions-using-method-Office-InfoPath-Service.aspx"&gt;http://kbalertz.com/867441/error-occur-signed-solutions-using-method-Office-InfoPath-Service.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63510.aspx</link><pubDate>Tue, 25 Jan 2011 12:20:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63510</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63510</wfw:commentRss><description>hi Potemkine, 

i know only to create the own certificate. How can i take or create a global certificate that it can be used for every workstation?</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63412.aspx</link><pubDate>Fri, 21 Jan 2011 15:07:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63412</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63412.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63412</wfw:commentRss><description>&lt;p&gt;Hi, have you sign your form yourself and what kind of certificate do you use?&lt;/p&gt;
&lt;p&gt;if you use a valid&amp;nbsp;code signing&amp;nbsp;certificate deliver for instance by a&amp;nbsp;domain&amp;nbsp;certificate server the .NET CLR loads a code-signed assembly and will be able to reach the&lt;br /&gt;&lt;br /&gt;CRL distribution point and your form will load quickly on the domain.&lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63408.aspx</link><pubDate>Fri, 21 Jan 2011 13:47:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63408</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63408.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63408</wfw:commentRss><description>I found the problem. The Client tries to check the CRL (Certificate Revocation List) so it will take a long time.&lt;br /&gt;&lt;br /&gt;
To disable this: &lt;br /&gt;
Internet Setting --&amp;gt; Advanced --&amp;gt; Check for publisher&amp;#39;s certificate revocation &lt;b&gt;(DISABLE)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
After that, it will not check for any certificates. But here i&amp;#39;ve got a question, my Code wants to take information from the Computer (Domain\Username), so i think it will need a certificate to execude it on other workstations? Do I need a workaround for this?</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63396.aspx</link><pubDate>Fri, 21 Jan 2011 02:31:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63396</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63396</wfw:commentRss><description>And if you try to design a brand new form with code ?</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63389.aspx</link><pubDate>Thu, 20 Jan 2011 22:48:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63389</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63389</wfw:commentRss><description>I tried it with new installed Office 2007 Professional Plus, it is the same. :(( &lt;br /&gt; I took every code out and pasted in again but it is the same result...</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63388.aspx</link><pubDate>Thu, 20 Jan 2011 21:59:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63388</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63388</wfw:commentRss><description>The same... It doesn&amp;#39;t matter if you delete the code. It is enough to have a C# Project. It takes again so much time&lt;br /&gt;&lt;br /&gt;

Now I&amp;#39;m uninstalling Office 2007 Professional Plus and will re-install it.</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63387.aspx</link><pubDate>Thu, 20 Jan 2011 21:40:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63387</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63387</wfw:commentRss><description>&lt;p&gt;It sounds a little&amp;nbsp;weird ! Can you try this :&lt;/p&gt;
&lt;p&gt;try to create&amp;nbsp;a code project, load VSTA (don&amp;#39;t put any code) and tell us how fast it is?&lt;/p&gt;
&lt;p&gt;try to do the same but on another computer if it&amp;#39;s possible.&lt;/p&gt;</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63385.aspx</link><pubDate>Thu, 20 Jan 2011 21:32:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63385</guid><dc:creator>BoZo86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63385</wfw:commentRss><description>Right potemkine, I&amp;#39;ve removed the Code and it works fast.  &lt;br /&gt;&lt;br /&gt;

But how can I use the Code and run it fast?</description></item><item><title>Re: Code + Form = Form Loads very slow</title><link>https://www.infopathdev.com:443/forums/thread/63384.aspx</link><pubDate>Thu, 20 Jan 2011 21:29:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63384</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=63384</wfw:commentRss><description>&lt;p&gt;Hi, your C# project is not so big and when a client load your form he just load a Dll include on your form template. Can you make a copy of the code and remove the code from &amp;quot;form options&amp;quot;, &amp;quot;programming&amp;quot;. &lt;/p&gt;
&lt;p&gt;And tell us if your form load quickly ?&lt;/p&gt;</description></item></channel></rss>