?
Solved

ActiveX won't run in some directories?

Posted on 2006-10-19
2
Medium Priority
?
165 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

777 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