|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IIS 6 and vbscript/ActiveX
Hi
We have a asp page that uses vbscript. At the top of the page is a section of client-side vbscript and in it is the vbscript method "CreateObject", which creates an instance of an ActiveX dll. This asp page has been running fine under Windows XP/IIS 5. Now we want to port this asp page so that it runs on Windows Server 2003/IIS 6. Keep in mind that this is client-side script that is being run, not server side. We find that if the logged-in user is a local administrator, that all of the vbscript will execute and the ActiveX dll will instantiate. The problems happen when the logged-in user is not a local admin: 1. Not all of the vbscript will execute. We have run tests and found that all of the vbscript at the top of the asp page is not executing. It appears it is skipped over. The first vbscript code that is executed is under the "OnPageLoad" event. 2. When the CreateObject method is moved down to the "OnPageLoad" event so that it will execute, the following error is seen: ActiveX component can't create object. IUSR_Machine name has been given read and execute permission on the ActiveX dll in question. Also, the non-administrator user has been given full permission on the dll. The web site that is running the .asp page is using anonymous access and the anonymous access account is IUSR_MachineName. What we need is for IIS 6 to run all of the vbscript code on this page when a non-administrator user is logged on, and we need the ActiveX object to instantiate. I am not familiar with all of the security features of IIS, but I strongly suspect that these are IIS 6 security-related issues. I need assistance from someone here to help me get this working. Thanks in advance. |
|
#2
|
|||
|
|||
|
The IUSR_Machine user account has nothing to do with any client side script. Or were you incorrect when you stated this is a client-side script problem? And if it is a client-side problem, why would IIS enter in the picture at all?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
You are correct. It is not an IIS issue. My apology. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > IIS 6 and vbscript/ActiveX |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|