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

Reference to an Ax object

SR
Hi

This is because the ASPNet worker process runs in a user
mode who does not have launch permissions for that
component. either make the aspnet worker process user
identity as an administrator( easiest, but the least
recommended) or you can use the identity tag in the
web.config file to specify a user whose identity will be
impersonated for launching this component

In web.config
Try

<identity impersonate="true">
or
<identity impersonate="true" userName="xxx" password="yyy">

where xxx and the yyy are the user name and the password
of a local user respectively
Check out the
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconaspnetimpersonation.asp for more
information

Hope this helps

regards,

sr

regards,

sr
-----Original Message-----
Folks!
i have a project in asp.net with a reference to an
ActiveX DLL created with VB6- The problem is that when i
want to create an object of the class within the library,
i get the error of Access Denied and i dont know how to
solve it!
Please if anyone have the solution, it'll we very useful!.

Thanks a lot
Pablo
.

Jul 19 '05 #1
1 1607
Of course it helps, thanks a lot for your time and your
interest.
I wonder if by impersonating i can invoke any DLL made
with any language, locating the file in the same
directory as the aspx file.

Thanks again
Pablo.
-----Original Message-----
Hi

This is because the ASPNet worker process runs in a usermode who does not have launch permissions for that
component. either make the aspnet worker process user
identity as an administrator( easiest, but the least
recommended) or you can use the identity tag in the
web.config file to specify a user whose identity will be
impersonated for launching this component

In web.config
Try

<identity impersonate="true">
or
<identity impersonate="true" userName="xxx" password="yyy">
where xxx and the yyy are the user name and the password
of a local user respectively
Check out the
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconaspnetimpersonation.asp for more
information

Hope this helps

regards,

sr

regards,

sr
-----Original Message-----
Folks!
i have a project in asp.net with a reference to an
ActiveX DLL created with VB6- The problem is that when iwant to create an object of the class within the library,i get the error of Access Denied and i dont know how to
solve it!
Please if anyone have the solution, it'll we very useful!.
Thanks a lot
Pablo
.

.

Jul 19 '05 #2

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

Similar topics

5
by: Jan Pieter Kunst | last post by:
(apologies if this message is a duplicate -- my news server seems to have problems) Greetings, When using PHP 4, this: // ex. 1 class A { function A(&$obj) {
6
by: Chris S. | last post by:
I'm trying to make a graphical editor and browser for Pickled files. One aspect I'm not sure about is how to detect multiple references to the same data. For instance, say I had the Pickled...
7
by: Nick Zdunic | last post by:
I have a remotable object running in my host application. The host starts up and creates the object. Within a method to start the remote object doing its thing it creates an object. ...
11
by: Doug | last post by:
Is there any harm in passing an object into a method with the 'ref' keyword if the object is already a reference variable? If not, is there any benefit?
4
by: z_learning_tester | last post by:
I'm reading the MS press C# book and there seems to be a contradiction. Please tell me which one is correct, 1 or 2. Thanks! Jeff 1. First it gives the code below saying that it prints 0 then...
8
by: toton | last post by:
HI, One more small doubt from today's mail. I have certain function which returns a pointer (sometimes a const pointer from a const member function). And certain member function needs reference...
15
by: arnuld | last post by:
-------- PROGRAMME ----------- /* Stroustrup, 5.6 Structures STATEMENT: this programmes *tries* to do do this in 3 parts: 1.) it creates a "struct", named "jd", of type "address". 2. it...
68
by: Jim Langston | last post by:
I remember there was a thread a while back that was talking about using the return value of a function as a reference where I had thought the reference would become invalidated because it was a...
12
by: Bryan Parkoff | last post by:
I write my large project in C++ source code. My C++ source code contains approximate four thousand small functions. Most of them are inline. I define variables and functions in the global scope....
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.