473,320 Members | 2,071 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,320 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 1601
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.