??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? .?????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????
File content / attachment fails in SSL
Collapse
This topic is closed.
X
X
-
Michael BrennanTags: None
-
Mosley
Re: File content / attachment fails in SSL
"Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
news:00ad01c344 9f$a8087040$a30 1280a@phx.gbl.. .
??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ?
??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ?
??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ?
??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ?
??????????????? ???????????.??? ??????????????? ??????????????? ??????????????? ?
??????????????? ??????????????? ?????
Try
!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !
!!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!
if that don't work reboot!
-
MDW
Re: File content / attachment fails in SSL
Actually, I find that
!?!?!?!?!?!?!?! ?!?!?!?
workdamnyou!?!? !?!?!?!?!?!?!?! ?!?!?!?!?!?!?!? !?!?!?!?!?!?!?
!?!?!?!?!?!?!?! ?!?!?!?
works best.
[color=blue]
>-----Original Message-----
>
>"Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote[/color]
in message[color=blue]
>news:00ad01c34 49f$a8087040$a3 01280a@phx.gbl. ..
>?????????????? ??????????????? ??????????????? ??????????????[/color]
??????????????? ???[color=blue]
>?????????????? ??????????????? ??????????????? ??????????????[/color]
??????????????? ???[color=blue]
>?????????????? ??????????????? ??????????????? ??????????????[/color]
??????????????? ???[color=blue]
>?????????????? ??????????????? ??????????????? ??????????????[/color]
??????????????? ???[color=blue]
>?????????????? ????????????.?? ??????????????? ??????????????[/color]
??????????????? ???[color=blue]
>?????????????? ??????????????? ??????
>
>Try
>!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!![/color]
!!!!!!!!!!!!!!! !!![color=blue]
>!!!!!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!
>
>
>if that don't work reboot!
>
>
>.
>[/color]
Comment
-
Michael Brennan
File content / attachment fails in SSL
??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ??????????????? ????????????
Comment
-
Michael Brennan
Re: File content / attachment fails in SSL
strFullPath is actually the local filename with path, and it the same file
that works in http but not https:
I tried checking that box in the IE options tab but it does not help. That
would not be a good solution anyway because it would be next to impossible
to be able to get all of our clients to go in and check that box, some of
them have locked-down workstations and can not change options on their own.
Thanks anyway for your suggestions.
"Kris Eiben" <eibenkthisisfo rspammers@yahoo .com> wrote in message
news:e9SKOgLRDH A.2224@TK2MSFTN GP12.phx.gbl...[color=blue]
> Silly questions first, I suppose... Have you checked strFullPath to be
> sure it's https? Are you using the same file for the success in http
> and the failure in https?
>
> We had a problem with files and https after a fairly recent IE security
> patch. Don't remember the exact problem, but we solved it by going to
> Internet Options - Advanced tab - scroll all the way down to Security
> and uncheck "Do not save encrypted pages to disk."
>
> "Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
> news:O6SmpNLRDH A.560@TK2MSFTNG P10.phx.gbl...[color=green]
> > OK - I'll try posing in OE, since the MS web client seems to be[/color]
> screwed:[color=green]
> >
> > Here was my original post:
> >
> > I have the following code in a webpage meant to stream a file to the[/color]
> user[color=green]
> > for download. It works perfectly in a non-ssl environment, but when I[/color]
> enable[color=green]
> > SSL I get the message:
> >
> > Internet Explorer cannot download (the url of the page is here) from[/color]
> (the[color=green]
> > website is here).
> >
> > Internet explorer was not able to open this Internet site. The[/color]
> requested[color=green]
> > site is either unavailable or cannot be found. Please try again later.
> >
> > Here is the code:
> >
> > this.CurrentCon text.Response.C lear();
> >
> > this.CurrentCon text.Response.C ontentType = "applicatio n/octet-stream";
> >
> > this.CurrentCon text.Response.A ddHeader("Conte nt-Disposition",
> >
> > "attachment ; filename=" + strDisplayFileN ame);
> >
> > this.CurrentCon text.Response.F lush();
> >
> > this.CurrentCon text.Response.W riteFile(strFul lPath);
> >
> >
> >
> > Any help would be appreciated. Thanks
> >
> >
> > "Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
> > news:00ad01c344 9f$a8087040$a30 1280a@phx.gbl.. .
> >[/color]
> ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> ????[color=green]
> >[/color]
> ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> ????[color=green]
> >[/color]
> ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> ????[color=green]
> >[/color]
> ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> ????[color=green]
> >[/color]
> ??????????????? ???????????.??? ??????????????? ??????????????? ????????????
> ????[color=green]
> > ??????????????? ??????????????? ?????
> >
> >[/color]
>
>[/color]
Comment
-
Michael Brennan
Re: File content / attachment fails in SSL
I found it - Elsewhere in the program I had set a header:
Response.AddHea der("Pragma","n o-cache");
When I commented that out everything works!
Here is the KB article explaining it:
316431 PRB: Internet Explorer Is Unable to Open Office Documents from an SSL
Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows, Surface, and more.
"Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
news:eVuBS1LRDH A.2148@TK2MSFTN GP11.phx.gbl...[color=blue]
> strFullPath is actually the local filename with path, and it the same file
> that works in http but not https:
>
> I tried checking that box in the IE options tab but it does not help. That
> would not be a good solution anyway because it would be next to impossible
> to be able to get all of our clients to go in and check that box, some of
> them have locked-down workstations and can not change options on their[/color]
own.[color=blue]
>
> Thanks anyway for your suggestions.
>
>
> "Kris Eiben" <eibenkthisisfo rspammers@yahoo .com> wrote in message
> news:e9SKOgLRDH A.2224@TK2MSFTN GP12.phx.gbl...[color=green]
> > Silly questions first, I suppose... Have you checked strFullPath to be
> > sure it's https? Are you using the same file for the success in http
> > and the failure in https?
> >
> > We had a problem with files and https after a fairly recent IE security
> > patch. Don't remember the exact problem, but we solved it by going to
> > Internet Options - Advanced tab - scroll all the way down to Security
> > and uncheck "Do not save encrypted pages to disk."
> >
> > "Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
> > news:O6SmpNLRDH A.560@TK2MSFTNG P10.phx.gbl...[color=darkred]
> > > OK - I'll try posing in OE, since the MS web client seems to be[/color]
> > screwed:[color=darkred]
> > >
> > > Here was my original post:
> > >
> > > I have the following code in a webpage meant to stream a file to the[/color]
> > user[color=darkred]
> > > for download. It works perfectly in a non-ssl environment, but when I[/color]
> > enable[color=darkred]
> > > SSL I get the message:
> > >
> > > Internet Explorer cannot download (the url of the page is here) from[/color]
> > (the[color=darkred]
> > > website is here).
> > >
> > > Internet explorer was not able to open this Internet site. The[/color]
> > requested[color=darkred]
> > > site is either unavailable or cannot be found. Please try again later.
> > >
> > > Here is the code:
> > >
> > > this.CurrentCon text.Response.C lear();
> > >
> > > this.CurrentCon text.Response.C ontentType = "applicatio n/octet-stream";
> > >
> > > this.CurrentCon text.Response.A ddHeader("Conte nt-Disposition",
> > >
> > > "attachment ; filename=" + strDisplayFileN ame);
> > >
> > > this.CurrentCon text.Response.F lush();
> > >
> > > this.CurrentCon text.Response.W riteFile(strFul lPath);
> > >
> > >
> > >
> > > Any help would be appreciated. Thanks
> > >
> > >
> > > "Michael Brennan" <michael.brenna n@watsonwyatt.c om> wrote in message
> > > news:00ad01c344 9f$a8087040$a30 1280a@phx.gbl.. .
> > >[/color]
> > ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> > ????[color=darkred]
> > >[/color]
> > ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> > ????[color=darkred]
> > >[/color]
> > ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> > ????[color=darkred]
> > >[/color]
> > ??????????????? ??????????????? ??????????????? ??????????????? ????????????
> > ????[color=darkred]
> > >[/color]
> > ??????????????? ???????????.??? ??????????????? ??????????????? ????????????
> > ????[color=darkred]
> > > ??????????????? ??????????????? ?????
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]
Comment
Comment