Solved

ActiveX won't run in some directories?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

705 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

19 Experts available now in Live!

Get 1:1 Help Now