473,378 Members | 1,415 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,378 software developers and data experts.

Active X Component can run Power users group but not in users grou

An ActiveX component created using ATL under Visual Studio 2003, and it is
used in a ASP, runs perfectly under administrator or power users group,
however this same object does not run under the Users groups.

I see this problem happen in Internet Explorer 6 and 7 under windows XP.

Under the Users group the component fails when it tries to call for the
first time a method in that component then the JavaScript throws the
following exception:

message = "Object doesn't support this property or method"
number = -2146827850

I’ve follow a trial and error approach by changing privileges to the Users
group and to the component dll several windows components such as “Component
Services" , or to the Interfaces in ole viewer, permissions to directories,
lower IE security settings in the different zones for ActiveX components
without much success.

I was wondering if anybody have run into this issue before and know what
privileges I will need to change in the users group for this ActiveX
component to run? Is this a possibility?

If this is the right forun to place this question, my apologies.

Thanks

Aug 15 '07 #1
4 3304
"Wilmer Hernandez" <Wilmer He*******@discussions.microsoft.comwrote in
message news:49**********************************@microsof t.com...
An ActiveX component created using ATL under Visual Studio 2003, and it is
used in a ASP, runs perfectly under administrator or power users group,
however this same object does not run under the Users groups.

I see this problem happen in Internet Explorer 6 and 7 under windows XP.

Under the Users group the component fails when it tries to call for the
first time a method in that component then the JavaScript throws the
following exception:

message = "Object doesn't support this property or method"
number = -2146827850

I've follow a trial and error approach by changing privileges to the Users
group and to the component dll several windows components such as
"Component
Services" , or to the Interfaces in ole viewer, permissions to
directories,
lower IE security settings in the different zones for ActiveX components
without much success.

I was wondering if anybody have run into this issue before and know what
privileges I will need to change in the users group for this ActiveX
component to run? Is this a possibility?

If this is the right forun to place this question, my apologies.
This is a browser problem so this not the best place for the question.

However I'm not sure this is a permissions problem. Its an unusual error to
receive for a permissions style problem. Does the problem happen with all
mehods of the object or just one of them? Is the object being sucessfully
created? Is it safe-for-scripting, if so has it been registered as such or
implemented the appropriate interfaces?

First thing you should do is compare the settings for internet explorer for
the standard user with the admin user. Does the site you are visiting
appear in the same zone. Are the advanced settings and the zone setttings
etc the same?
--
Anthony Jones - MVP ASP/ASP.NET
Aug 15 '07 #2
This is a browser problem so this not the best place for the question.

However I'm not sure this is a permissions problem. Its an unusual error to
receive for a permissions style problem. Does the problem happen with all
mehods of the object or just one of them? Is the object being sucessfully
created? Is it safe-for-scripting, if so has it been registered as such or
implemented the appropriate interfaces?

First thing you should do is compare the settings for internet explorer for
the standard user with the admin user. Does the site you are visiting
appear in the same zone. Are the advanced settings and the zone setttings
etc the same?
--
Anthony Jones - MVP ASP/ASP.NET

Thanks Anthony for your response I really appreciated.

The Object seems to be created without a problem, however since the
Initialise method is the first method we need to use to start up the object,
I have not been able to execute any of the other method since the initialize
method is required for the component to work.

The Object is not safe-for-scripting; however this would not be an issue if
the "Initialize and script ActiveX controls not marked as safe for scripting"
security setting is enabled. or would it?

I have compare the setting in for both groups in IE and there no difference
that I can notice. The site that contains the dcom object is in the trusted
sites zone for both the Admin and Users group.

Do you know if the Interserv.asp.components is the best place to post this
question?

Cheers,

Aug 15 '07 #3
"Wilmer Hernandez" <Wi*************@discussions.microsoft.comwrote in
message news:BB**********************************@microsof t.com...
>
This is a browser problem so this not the best place for the question.

However I'm not sure this is a permissions problem. Its an unusual
error to
receive for a permissions style problem. Does the problem happen with
all
mehods of the object or just one of them? Is the object being
sucessfully
created? Is it safe-for-scripting, if so has it been registered as such
or
implemented the appropriate interfaces?

First thing you should do is compare the settings for internet explorer
for
the standard user with the admin user. Does the site you are visiting
appear in the same zone. Are the advanced settings and the zone
setttings
etc the same?
--
Anthony Jones - MVP ASP/ASP.NET

Thanks Anthony for your response I really appreciated.

The Object seems to be created without a problem, however since the
Initialise method is the first method we need to use to start up the
object,
I have not been able to execute any of the other method since the
initialize
method is required for the component to work.

The Object is not safe-for-scripting; however this would not be an issue
if
the "Initialize and script ActiveX controls not marked as safe for
scripting"
security setting is enabled. or would it?

I have compare the setting in for both groups in IE and there no
difference
that I can notice. The site that contains the dcom object is in the
trusted
sites zone for both the Admin and Users group.
Have you reviewed the resources and components that the initialise method
relies on?

Even if calling another method may fail since initialise hasn't been called
it would help in diagnosis to know whether this error is unique to
initialise and yet other methods at least attempt to run albeit failing due
to a lack of initialise call.

Have you tried instancing and using the component in a VBScript file?

Do you know if the Interserv.asp.components is the best place to post this
question?
Technically the best place for this question is inetexplorer.scripting but
that group isn't all that busy these days.

Cheers,

Aug 15 '07 #4
"Anthony Jones" wrote:
"Wilmer Hernandez" <Wi*************@discussions.microsoft.comwrote in
message news:BB**********************************@microsof t.com...
This is a browser problem so this not the best place for the question.
>
However I'm not sure this is a permissions problem. Its an unusual
error to
receive for a permissions style problem. Does the problem happen with
all
mehods of the object or just one of them? Is the object being
sucessfully
created? Is it safe-for-scripting, if so has it been registered as such
or
implemented the appropriate interfaces?
>
First thing you should do is compare the settings for internet explorer
for
the standard user with the admin user. Does the site you are visiting
appear in the same zone. Are the advanced settings and the zone
setttings
etc the same?
>
>
--
Anthony Jones - MVP ASP/ASP.NET
>
>
Thanks Anthony for your response I really appreciated.

The Object seems to be created without a problem, however since the
Initialise method is the first method we need to use to start up the
object,
I have not been able to execute any of the other method since the
initialize
method is required for the component to work.

The Object is not safe-for-scripting; however this would not be an issue
if
the "Initialize and script ActiveX controls not marked as safe for
scripting"
security setting is enabled. or would it?

I have compare the setting in for both groups in IE and there no
difference
that I can notice. The site that contains the dcom object is in the
trusted
sites zone for both the Admin and Users group.

Have you reviewed the resources and components that the initialise method
relies on?

Even if calling another method may fail since initialise hasn't been called
it would help in diagnosis to know whether this error is unique to
initialise and yet other methods at least attempt to run albeit failing due
to a lack of initialise call.

Have you tried instancing and using the component in a VBScript file?

Do you know if the Interserv.asp.components is the best place to post this
question?

Technically the best place for this question is inetexplorer.scripting but
that group isn't all that busy these days.

Cheers,


Anthony,

I've tested the ActiveX component trying to call any of the other method in
the component and the result were the same "Oject does't Support this
property or Method" message.

I'll try to initialized it in VBScript and let you know of the restults.

I'll try and post this message in the inetexplorer.scripting forum as well.

Thanks,

Aug 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Asaipillai | last post by:
Ok i have a Visual Basic Group of projects contaiining the following Talk Talk.vbp (Visual Basic Project) and the main application 3 DLLS inc Import Files Login Audit Render
3
by: Florent | last post by:
Hi all, We announce you the release of Power AD 1.3 , an OpenSource management console for Active Directory. What's new : -you can now see the users logged in your domain through the...
3
by: Diego TERCERO | last post by:
Hi... I'm working on a tool for editing text resources for a family of software product my company produces. These text resources are found in a SQL Server database, in a table called...
3
by: Luis Esteban Valencia | last post by:
Hello gusys, Is it possible to make my asp.net application add users to the AD , I also want to be able to delete users, modify their information, everything through a website. Thanks for the...
1
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry =...
0
by: jakobsgaard | last post by:
It is possible to Map a certificate to a Active Directory User Account from DotNet? Please provide an example. Best regards, Ejnar Jakobsgaard...
2
by: Jim in Arizona | last post by:
My goal, somehow, is to populate a dropdownlist with all the user names in active directory. I don't even know where to begin, really. I added a reference to System.DirectoryServices so I could...
0
by: bcanter | last post by:
I found a file on the web that will allow you to enumerate groups but it was an .hta and the top level admins won't allow this. I need to give managers access to the groups so that when a new user is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.