Solved

ActiveX won't run in some directories?

Posted on 2006-10-19
2
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

691 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