Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Error "Failed to grant permission to execute assembly"

Posted on 2005-03-25
7
Medium Priority
?
2,371 Views
Last Modified: 2012-05-05
NEW VB.NET/Visual Studio user.

Environment:
  Infopath form project in Visual Studio .Net 2003
  Publishing form to "rented" sharepoint server as a form library.
  Publication goes fine.  Build goes fine.

  When I try to open the form at the site I get the following error:
============
Form template: http://xxx.companyname.com/Sidecar/Forms/template.xsn
InfoPath cannot open the selected form because of an error in the form's code.
Failed to grant permission to execute assembly 'InfoPathProject2, Version=1.0.1910.23586, Culture=neutral, PublicKeyToken=null'.
============

What should I be checking on?

I might have a million MS Access points, but in this TA, I don't know Dick.  But I have done cleanup side by side with TheLearnedOne

regards
Jack,
Earl of Noobee on the App
0
Comment
Question by:jadedata
  • 4
  • 3
7 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 375 total points
ID: 13634650
In control panel, select Administrative Tools > .NET Wizards.  You can use the Trust Assembly wizard to change the permissions on all associated assemblies (including DLLs)  with the project.  You change it to "full trust" and you won't have those problems.
0
 
LVL 32

Author Comment

by:jadedata
ID: 13636038
Checking that out.
It is asking me for the source of "the assembly", would this be the site the infopath form is published to?

0
 
LVL 38

Expert Comment

by:PaulHews
ID: 13636400
An assembly is generally an EXE or DLL.  There should be a folder called "bin" with the assembly output of the project.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 38

Expert Comment

by:PaulHews
ID: 13636445
I've been going through the infopath stuff at MS, and I don't think what I said above is much help.
0
 
LVL 32

Author Comment

by:jadedata
ID: 13636734
0
 
LVL 32

Author Comment

by:jadedata
ID: 13665952
I am learning all about "assemblies".  The question represents the tip of the iceberg which is still attached to the continent of Antartica.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question