Infopath 2003 and VS2005 .NET

E

EricW

Hi,

I have created a form in VS2005 and Infopath2003.
It uses reference: System .NET 2.0.0.0 and
Microsoft.Office.Interop.Infopath.SemiTrust .NET 11.0.0.0

On my company laptop where I developed the form, it works fine,
On my own computer it also works fine, but I have VS2008 installed there.

After I have published the form I can still open it from that location, but
someone else cannot.
That person has installed, on my request, Framework 1.1 and Framework 2.0.

When the form is opened by anyone else they get a message:
InfoPath cannot open the selected form because of an error in the form's
code.
The Microsoft .NET Framework 1.1 is not installed on your computer or the
InfoPath primary interop assembly (PIA) is not registered. Use Add or Remove
Programs in Control Panel to make sure that Microsoft .NET Framework 1.1 is
installed or install it using Windows Update, then run Setup again to
confirm that .NET Programmability Support is installed, or contact your
system administrator.

I don't know what to do now.

Anyone out there who can help me?



rg,
Eric
 
E

EricW

Hi,

At this moment I cannot open any InfoPath file anymore.
Because of the problem below, I have installed the PIA, Net 1.1 and Net 2.0
and now this form and the others without managed code, will no longer open.
On all of them I get:

Infopath cannot create a new, blank form.
Unspecified error.

What can I do now to get at least the forms without managed code to work?

rg,
Eric
 
G

Gavin McKay

Wow, that doesn't sound good at all! You might need to reinstall InfoPath to
get your current forms to open. Sounds like something is very wrong with
your installation...

Is there any other details as to why the forms won't open? Anything in the
Application event log at all? Can you open the forms on another machine?

Can you create an InfoPath form from scratch? If you can do that then it
might not be InfoPath that's the problem, just the references on your
machine. If you are *really* desperate, you might be able to recreate the
forms by pulling the individual components out - I've got a page here about
fixing templates that might help:

http://www.infopathkb.com/Knowledge Base/How to fix an InfoPath form template that won't open.aspx

Gavin.
 
E

EricW

thanks for your reply.

I found the problem, it was something I did myself in the registry based on
an article at microsoft.

they said to add a value in the registry but the way they wrote it causes
the problem.

They wrote: " type 00000409 for English (decimal) in the value data box"

I did that but the number is hexadecimal, not decimal. After I changed it to
hexadecimal, the problem was solved.

You'll find it in: http://support.microsoft.com/kb/900463

rg,
Eric
 

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