Re: how can you use mshtml DOM object to grab rendered asp.net page?



The suggestion to run CACLS was in the form of numerous commands that added
user rights via a batch file run on the desktop, not from the web page per
se. This was in order to allow IIS to execute aspx pages on the desktop. I
don't recall the exact error, but a google search on it led me to (brace
yourself) an MSKB article that purported to have the fix. I dutifully
performed the suggested steps (create DOS batch file with CACLS commands)
that Microsoft delineated. Each execution was followed by a system message
that nothing happened. The other suggestion was to add the username
attribute. Visual Web developer's server says the attribute is invalid.

Sigh.

As for Office not being designed to be automated as I am attempting, then
what are Interops for? What's with all the advertisements alluding to such
a capability? Where is Office going next-- seeing as how at least one
(ahem) MS competitor is poised to offer this sort of thing (and then some)?

My head quit spinning. It just hurts now.

Randall Arnold

"Jim Cheshire" <noemail@xxxxxxxx> wrote in message
news:%23Td8g9LEGHA.3984@xxxxxxxxxxxxxxxxxxxxxxx
> Randall Arnold wrote:
>>
>> The only thing that led me to CACLS was, as I said, suggestions to
>> allow IIS to run aspx pages on my laptop. I reall don't care WHAT
>> method I use, as long as it works. Again, no suggestion I've tried
>> has worked. All have produced errors. I've given up on this for the
>> time being.
>
>
>
> Understood. My point is that without knowing what errors you received,
> there's no way to help. However, whomever told that you running CACLS
> from your ASP.NET pages is a solution to ASP.NET pages not running is
> dumber than a sack of hammers. How are you supposed to run CACLS from your
> ASP.NET page if your ASP.NET page won't run? :)
>
>
>>
>> I don't want several users trying to run a single Windows app. I
>> want the asp.net page firing up a *local* copy of the necessary
>> app(s) as needed (ergo, MULTIPLE local instances). I had assumed
>> this would be no big deal. I understand your explanation about
>> server-run apps but since that's not what I want to do I'm thinking
>> there shouldn't be a problem. If what I want to do CAN'T be done,
>> then I'm flabbergasted, and not due to lack of familarity with the
>> platform-- this appears to me to be a no-brainer. If intranet users
>> can't rely on a server-based app to automate the Office apps on their
>> desktop, why not? I'm not looking for interactivity anyway: I simply
>> want to automate (one way) the publishing of charts, tables and
>> graphics that reside on an intranet web page into various Office
>> document forms. I thought this was part of the office automation
>> Nirvana MS has been advertising for years.
>
> Not much more I can say here. Office was not designed to work this way.
>
> --
> Jim Cheshire
> ================================
> Blog: http://blogs.msdn.com/jamesche
>
> Latest entry:
> Getting the PID and TID of a COM Call
>
> Describes how to get the PID of the
> dllhost process a COM call is executing
> in and how to locate the thread as well.
>
>
>


.



Relevant Pages

  • Re: how can you use mshtml DOM object to grab rendered asp.net page?
    ... whomever told that you running CACLS from ... > server-run apps but since that's not what I want to do I'm thinking ... > can't rely on a server-based app to automate the Office apps on their ... Getting the PID and TID of a COM Call ...
    (microsoft.public.dotnet.framework.aspnet)
  • VBScript & Cacls.exe
    ... I want to use vbscript and cacls to automate some directory settings under ... Having little experience with this commandline utility, ...
    (microsoft.public.scripting.vbscript)

Loading