> I meet the same problem. If you resolve that, please send me asap.
> My code faults at send method of xmlhttp object.
[quoted text clipped - 16 lines]
> > go away if I use certificates instead of fully trusted forms...am I doing
> > something wrong? Any help will be appreciated. - bolek
What calls are you making to and from your task pane? Are you using
MSHTML.dll? If so, it will have to be registered on every users machine.
If this is the case, I can take you through the steps necessary to fix the
problem.
--josh bertsch
>I have a feeling that we are going to have to set fully trusted form AND
>get
[quoted text clipped - 35 lines]
>> > doing
>> > something wrong? Any help will be appreciated. - bolek
Bolek Wisniewski - 28 Oct 2004 19:32 GMT
Hi josh,
sorry for the delay...i wasnt checking posts for a while. Hope your still
around.
I think I was mistaken on my previous post...the taskpane doesnt work with
installed Fully Trust Form either. I am in the process of registering the dll
now...
The calls I make seem standard to me:
gobjXDocument = window.external.Window.XDocument;
// Set the initial state of the task pane contents.
gobjXDocument.Extension.SetTaskPaneState();
where SetTaskPaneState() is a function in the InfoPath script:
function SetTaskPaneState()
{
// Ensure View has loaded before trying to access the task pane
if (XDocument.View)
{
if (gobjTaskPane == null)
gobjTaskPane = XDocument.View.Window.TaskPanes.Item(0);
// Ensure that the task pane is completely loaded
if (gobjTaskPane.HTMLDocument.readyState == "complete")
{
var strTaskPaneViewId = "TP_" + XDocument.View.Name.replace(/\W+/g, "");
if (InitGetAuthorData()){
TemplatesArray () ;
}
}
}
}
from InfoPath script I call the taskpane like so
gobjTaskPane.HTMLDocument.parentWindow.SelectDrop(TemplatesTypes,
Topics,Authors, TemplatesTypesIds, TopicsIds, AuthorsIds, Industries,
IndustriesIds, IndustryCompanyIds);
As I said before all this works fine if form is not Fully Trust...but gives
permission denied when on the line where I call
gobjXDocument.Extension.SetTaskPaneState(); from taskpane html when the form
is Fully Trusted...I have given all sorts of ridiculous permissions in the
intranet and internet internet explorer security options. (btw...does
infopath use these permisions?) thanx for any and all help - bolek
> What calls are you making to and from your task pane? Are you using
> MSHTML.dll? If so, it will have to be registered on every users machine.
[quoted text clipped - 40 lines]
> >> > doing
> >> > something wrong? Any help will be appreciated. - bolek
KWenstrup - 10 Nov 2004 02:22 GMT
Josh:
Could you please send me these steps? My form is running fine on mine or
other developer's machines with VS.NET, but our users are getting an error
that Microsoft.mshtml or one of its dependencies is not registered.
Thanks:
- Ken
> What calls are you making to and from your task pane? Are you using
> MSHTML.dll? If so, it will have to be registered on every users machine.
[quoted text clipped - 40 lines]
> >> > doing
> >> > something wrong? Any help will be appreciated. - bolek