Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1031

Re: Operation Requires Elevation

From ralph <nt_consulting64@yahoo.net>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Operation Requires Elevation
Date 2012-03-29 08:33 -0500
Organization Aioe.org NNTP Server
Message-ID <hlo8n7henlkd34ld8561ttjlksjceu2k63@4ax.com> (permalink)
References <VA.00003a8b.3e017238@ukrm.net>

Show all headers | View raw


On Thu, 29 Mar 2012 13:42:05 +0100, R C Nesbit <spam@ukrm.net> wrote:

>I have a VB6 app which is running quite happily in a number 
>of mixed (XP/Vista?W7/2008) environments in a number of 
>sites.
>
>One W7 machine recently fried it's HDD and had to be 
>completely re-installed from scratch.
>
>It is running my app. from a share on a Vista machine.  
>After a few stumbles we finally persuaded it to run Fine, 
>except when it wants to generate an output via an excel 
>template.
>
>Code snipet:
>
>Set oExcel = New Excel.Application
>Set oWB = oExcel.Workbooks.Open(sFile)
>Set oWS = oWB.ActiveSheet
>
>'sFile' is a .xlt file in app.path\Templates on the server.
>
>This machine fails every time, and my error log reports:
>"the requested operation requires elevation"

Most likely a confusion over "ownership" of the file. 

My guess is that these files were restored by harvesting from other
PCs and not from a backup. This is a common problem when restructuring
or otherwise performing a mass shuffling of files from one PC to
another. Plenty of examples online. Here is one.

http://answers.microsoft.com/en-us/windows/forum/windows_7-files/the-requested-operation-requires-elevation/4d45a50e-2e5d-49f7-950c-e6281057491f

-ralph

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar


Thread

Operation Requires Elevation R C Nesbit <spam@ukrm.net> - 2012-03-29 13:42 +0100
  Re: Operation Requires Elevation "Mayayana" <mayayana@invalid.nospam> - 2012-03-29 09:34 -0400
  Re: Operation Requires Elevation ralph <nt_consulting64@yahoo.net> - 2012-03-29 08:33 -0500

csiph-web