Solved

ActiveX won't run in some directories?

Posted on 2006-10-19
2
159 Views
Last Modified: 2010-04-30

I have some code that is supposed to install a game update:

<OBJECT ID="EARTPatchX"  CLASSID="CLSID:54B52E52-8000-4413-BD67-FC7FE24B59F2" CODEBASE="http://files.ea.com/downloads/rtpatch/v3/EARTPX.cab#version=1,0,0,4" WIDTH=0 HEIGHT=0>  

<PARAM name="patchfile" value="ftp://ftp.ea.com/pub/easports/patches/nhl06/en-us/nhl06patch-na.rtp"></PARAM> </OBJECT>


The issue is that the page that does this doesn't work properly in the directory it is design to be in. If I move it to another directory (where another patch page lives) it works. Also if I move an existing working patch page into this new directory it stops working properly. Any ideas? Seems as if I'm missing something in that directory? Is anything required?
0
Comment
Question by:894359
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
herreruud earned 500 total points
ID: 17764246
Hi,

Examine the NTFS permissions on the files/folders you are using. (You may have to turn off simple view in folder options in Windows). ISS runs as a very unpriviliged user (IUSR_MachineName, IWAM_MachineName) , and I would guess that user isn't allowed to access your files. To test this easily you can right click the files and folders you need to be accessible, choose properties, choose security. When you're there you can add a reference to the user (or you could use the user "everyone", which I would only reccomend using for testing) and give that user the right "Read & Execute".

0
 
LVL 3

Expert Comment

by:herreruud
ID: 17764248
Of course I meant IIS, not ISS *blush*
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now