By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,636 Members | 1,814 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,636 IT Pros & Developers. It's quick & easy.

XAML Browser Application

P: 4

I am designing a XAML Browser Application that hosts an excel spreadsheet in a DSOFramer ActiveX control. The DSOFramer control is in a Windows Forms Host control off the main XAML page.

The XAML Browser App has been configured to run in full trust mode and I have imported the pfx certificate into the Trusted Publishers and Trusted Root stores to get this to work.

Everything works fine except registration-free COM for the DSOFramer. It just doesn't work. If I re-create the app as a regular WPF Applcation deployed by ClickOnce, registration-free COM works fine. If I try to embed the DSOFramer ocx file in the proejct, extract it then run regsvr32 on it programmatically, I get 0x80070005 (access denied).

I am sure that the XAML Browser App has full access to the computer because other parts of the program are able to write and save to the system32 folder successfully.

In the meantime I have created a custom bootstrapper/installer that registers the DSOFramer ocx file.

Any ideas?

Thank you.

Dec 12 '07 #1
Share this Question
Share on Google+
1 Reply

Aimee Bailey
Expert 100+
P: 197
This sounds like a typical ClickOnce issue. Have a look through the settings, is your app on full trust?

Apr 12 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.