making fulltrust forms

A

Ashima

Actually I am new to infopath.So was just trying something.

I would be gratefull if somebdy helps me out.

I created a form in infopath, extracted it.
I tried to make a URN based fulltrust form.
for that i did following steps:
1-added requirefull trust attribute to manifest file.
2-provided URN name to both manifest and template file.
3-made a cab file .
4- registered the form by using regform exe.

and got an MSI.

but now when I am installing the form. It gives me an error saying the
attribute requirefulltrust on xDocumentClass is not defined on the
DTD/schema.

what shld I do now??
I m nowhere.....got stuck.
can any bdy please help me
 
A

Adam Harding

Ashima

Use the toll in the Infopath 2003 SDK that uses the command line to do all
this for you automatically.

I think you problem is that within the form itself before you extract it it
has a flag for its trusted state. What your error message is saying is that
the value you have changed does not match with the one in the schema of the
form.

I hope this helps

Cheers Adam
 
A

Andreas Bauer

but now when I am installing the form. It gives me an error saying the
attribute requirefulltrust on xDocumentClass is not defined on the
DTD/schema.
Did you change your form to be fully trusted under ->tools ->form
options -> security ? There is a check box with 3 radio buttons where
you can select the desired trust level. This has to be checked as well,
as far as I know.

Regards,

Andi
 
A

Ashima

Actually the thing was
I tried every thing without the SP1.
Coz if u have SP1 then u need not do any thing.
U r right tht there are security levels ...restricted,domain,and
fulltrust.

once we select it , it automatically makes our form full trust.....and
includes all the attributes automatically at two places....the xsf file
and template file.

I also did the same thing ( but manually).

when i did through SP1 it went all fine .

However without SP1 it didnt work ...... The error mentioned earlier
was shown ......

I wanted to be sure is there any change to be made to 'xsd' also like
urn or full trust attribute or any thing. (while doing manually)?????

I want to complete proceedure of designing, making full
trust,registering and installing the form without SP1.


I hope my effort make sense????.....if i am going some way wrong plz
guide me.
 
A

Ashima

HI Adam

Yes i did extraxted the form but in my C:\ drive and in new folder.
and then added the URN and trust attribute.

The thing is I am not using SP1.......and doing all the things required
to make a form full trust manually.....

If i go with SP1 property of making a form full trust on its own then i
can do the things easily.............


So i wanted to know that do we have to modify XSD also , to make the
form full trust .
I am saying this bcoz the error says something like the attribute
requirefulltrust is missing in DTD/schema.


Regards

Ashima
 

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