IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 22nd, 2006, 01:40 PM
Anyhoo Anyhoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2006
Posts: 2 Anyhoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 30 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old November 22nd, 2006, 02:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
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

Reply With Quote
  #3  
Old November 22nd, 2006, 05:12 PM
Anyhoo Anyhoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2006
Posts: 2 Anyhoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 30 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
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?


You are correct. It is not an IIS issue. My apology.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS 6 and vbscript/ActiveX


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT