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



Ok, I'm breathing easier now.

I figured out how to add the user permissions in order to run aspx pages on
my laptop under IIS.

I have also determined that I can achieve my reporting goal by utilizing mht
(html archive) pages as the common denominator. I will add an asp.net
mht-generator component to my solution and layout web pages exactly as they
should appear within the published destinations (rendering some elements
invisible at time of export if need be). I will use vbscript client-side
(instead of interops and vb.net server side) to instantiate Word,
Powerpoint, et al and load the generated mht along with some scripted
formatting where needed.

Not exactly what I was shooting for, but it will work. I think. Tests so
far are good.

Thanks for putting up with my exasperated rants.

Randall Arnold

"Jim Cheshire" <noemail@xxxxxxxx> wrote in message
news:OcUNKCNEGHA.3904@xxxxxxxxxxxxxxxxxxxxxxx
> Randall Arnold wrote:
>> 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.
>
>
> Can you tell me what KB article? I'll have a look and get it updated or
> pulled if it's misleading.
>
>
>>
>> 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)?
>
>
> Interop is for calling COM components from managed code. You can certainly
> use interop to automate Office from a Windows app. However, Office
> applications are not designed for automation in a non-interactive
> environment. If a competitive product is going to offer that, I'd watch
> out. It's a design nightmare and a bad decision on their part in my
> opinion. Applications with a UI should not be automated via a Web
> application.
>
> One other thing you might want to keep in mind. Web applications should
> ALWAYS be designed to run with no one logged in at the console. Give that
> a thought and you might understand better what I'm talking about. This is
> not an ASP.NET design issue. :)
>
> --
> 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: TDD: Test-Driven Design or Test-Driven Development?
    ... > I find that a particularly useless definition of design, ... OK ill refine my definition of "theoretically possible to automate": ... > terms which is even narrower than the common usage of the word. ... Well what are books and symphonies if not works of art. ...
    (comp.object)
  • Re: how can you use mshtml DOM object to grab rendered asp.net page?
    ... > (create DOS batch file with CACLS commands) that Microsoft ... The other suggestion was to add the username ... use interop to automate Office from a Windows app. ... It's a design nightmare and a bad decision on their part in my opinion. ...
    (microsoft.public.dotnet.framework.aspnet)
  • IIS5 and Frontpage: Changes in the Design during Time
    ... there is maybe a strange function in the IIS or in Frontpage. ... I published a website as an update of old pages with FTP on our IIS5 Server ... The design and all fuctions are working after the first tests ...
    (microsoft.public.inetserver.iis)
  • IIS5 and Frontpage: Changes in the Design during Time
    ... there is maybe a strange function in the IIS or in Frontpage. ... I published a website as an update of old pages with FTP on our IIS5 Server ... The design and all fuctions are working after the first tests ...
    (microsoft.public.inetserver.iis)
  • Re: FORTH levels
    ... But it's only worth it to automate ... If you spend extra effort ... depends on the balance between the cost of the extra work for fine- ... involved in using a one-size-fits-many design solution. ...
    (comp.lang.forth)