I would like to run the REGFORM command to genrate the .js file but it is giving errors ...
>regform /U "urn:schemas-microsoft-com:office:infopath:ObservationNotes:-data" /T Yes "C:\Source-Bill\NRC\Infopath\AutoBuild\XSNDeployment\ObservationNotes.xsn"
Error: Form C:\Source-Bill\NRC\Infopath\AutoBuild\XSNDeployment\ObservationNotes.xsn contains an invalid form definition (.xsf) file C:\DOCUME~1\ADMINI~1.NRC\LOCALS~1\Temp\RegForm\CIPIMS.Infopath.dll.
The document cannot be loaded from the file C:\DOCUME~1\ADMINI~1.NRC\LOCALS~1\Temp\RegForm\CIPIMS.Infopath.dll.
System error: Incorrect function.
(code = 0x00000001)
I looked in the folder C:\DOCUME~1\ADMINI~1.NRC\LOCALS~1\Temp\RegForm\ and all the relevant files are there. I can bring up the mainfest.xsn file in IE w/o errors. I changed the .xsn to .cab and saw all the files as well.
The error message is not helpful when looking at the problem.
Any suggestions/help ?
Thanks,
-bja