About Me

I am a Software Engineer presently working in Microsoft as vendor.The main aim of this blog is to Share my knowledge in Sharepoint,AZURE and Silverlight.

Thursday, 19 March 2009

MOSS-InfoPath-Error on 64bit MOSS when accessing SPSite through OM in InfoPath

I had an issue with infopath2007 and sharepoint2007 when i m trying to use object model from infopath in 64 bit machine where sharepoint is installed it gave me the below error. The same code is working fine with console.



The web application at "" could not be found.verify that you have typed the URL correctly.If the URL should be serving existing content,the system administrator may beed to add a new request.


The solution to this problem is :
InfoPath is a 32 bit app and is loading a 64 bit binary (Microsoft.sharepoint.dll)
so what we have is a 32 bit process (InfoPath) running on a 64 bit OS, wow64 will
translate registry calls to the wow64 registry note, and
"HKLM\\wow6432node\SOFTWARE\\Microsoft\\Shared Tools\\Web Server
Extensions\\12.0\\Secure\\ConfigDB" does not exist. Since the 64 bit version of
SharePoint is installed, wow64 does not get involved and the registry key
"HKLM\\SOFTWARE\\Microsoft\\Shared Tools\\Web Server
Extensions\\12.0\\Secure\\ConfigDB" is used to store the farm’s connection string
info.

There is no 64 bit version of InfoPath. For Office2007, we support mixing 32-bit
and 64-bit front end servers in the same farm, with the caveat being that customer
must install 32-bit WSS on a 32-bit OS and 64-bit WSS on a 64-bit OS. We do not
support 32-bit WSS v3 on a 64-bit OS via WOW64. If InfoPath 2007 is calling our OM
and installed on a SharePoint box, then they’ll have to install it on an front end
server where 32-bit WSS is running on a 32-bit OS.
The solution would be to add a 32 bit server with 32 bit MOSS and
InfoPath installed to the farm.

And my sincere thanks to Travis Mathison,Sailaja kalidindi on helping this issue. :)

1 comment:

Unknown said...

Hi sashi,
I an venu, new to sharepoint. We have created a custom workflow in sharepoint design. When we try to execute this workflow (Task) the following message is displayed. We do not have Infopath installed on our server.

"This form xxxxxx.xsn has been customized using infopath and may no longer
be compatable with this workflow due to field changes. To continue using the
existing form, you must first update it using infopath. If you no longer
wish to keep your customizations, you can delete the form and new one will
be generated when the workflow published"

Appreciate your help on this issue

Thanks
venu