473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

My ActiveX not allowed to run, pls help

60
I'm testing a ActiveX I finish writing. It contain a 3rd party SDK that was complied as Interop.SomeSDK.dll and myax.dll

I uploaded both DLLs with a simple HTML to call it. Everything was downloaded to my local client, the HTML fires the ActiveX but gave me the following error message:

Expand|Select|Wrap|Line Numbers
  1. Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your administrator, or use the Microsoft .NET Framework Configuration tool.
  2.  
  3. If you click Continue, the application will ignore this error and attempt to continue.
  4.  
  5. System.Security.Permissions.SecurityPermission.
Please Advise.
Jan 4 '08 #1
5 1241
Plater
7,872 Expert 4TB
Your activeX object must request those permision (google the error and you'll find the calls). Most likely the end client will deny them.
Jan 4 '08 #2
alan75
60
i googled on it but i dont really understand where to begin, i found a few links but they seems to be talking about different issues.

do you have a link that is related to my problem?

thanks.
Jan 7 '08 #3
alan75
60
a note on it, myax.dll works fine, its only Interop.SomeSDK.dll that prompt the error message.
Jan 7 '08 #4
Plater
7,872 Expert 4TB
Then I would guess the .dll doesn't make the permission request calls (probably wasn't ment to be used in activex project)
Not sure you can do anything other then request that the SDK creators add in the permission requests.
Jan 7 '08 #5
alan75
60
i dun suppose i could compile interop into the activex dll as one dll instead of two.
Jan 8 '08 #6

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

Similar topics

1
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass....
5
by: andy.g.ward | last post by:
I keep getting this when trying to create an MFC activex control in a c# windows service - anyone got any ideas what the missing module could be??? Exception thrown :...
1
by: JS | last post by:
Hello, I am using ASP .Net to create my own web controls and I have noticed that there is one too many requirements that forces the developer to be aware of and get involved with. In the past...
0
by: Gazelle | last post by:
I have a dilemma, that I am hopping I can find some help with. He is the back story so everyone sort of understands what it is that I am trying to accomplish. My problem: I have multiple...
1
by: UnaCoder | last post by:
Hi, I noticed that this particular object is only accessable if the IE security setting "Initialize and and script ActiveX controls not marked as safe" is enabled. Does windows maintain this list...
2
by: morgan.chengmo | last post by:
How to judge whether a browser supports ActiveX? Some browser like Firefox doens't support ActiveX by default, but can do it with plugin support. Take Firefox for example, it has a whitelist...
1
by: Jayender | last post by:
Hi, I have an ActiveX control (to display the Images),I have added the reference of that in my web based applicaton .and added the ocx in my tool bar , but the viewer (activex component- ocx ) is...
4
by: Mr Seth T | last post by:
Hey, I have spent several days trying to find out how to do something, and i don't know if I am blind or what, but I can not find it. I am developing a web app and I need it to run an activex...
0
by: Mr Seth T | last post by:
Hey, I have spent several weeks now trying to find out how to get an activex control i have created to work outside of my testing environment. I am developing a web app and I need it to run...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.