Solved

ActiveX won't run in some directories?

Posted on 2006-10-19
2
160 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

838 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