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

Reference to an Ax object

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.