473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Mysterious bug with asp.net!


Hi,
We are streaming a pdf file to clients via Internet explorer .The pdf file
is streamed over https .
Sometime, when the file opens, it is seen for a few millisecond and is
killed again. Meaning , the client has no chance to view it.

This only happens for some clients. We have created a help link wich solve
the problem without using https. Just http.

We have also observed that setting "dont save encrypted file" in IE settings
solves the problem.

we are wondering about what causes this and how to provide a general
solution, hoppefully on the server side.

Any help will be higly appreciated.

Many thanks in advance
JJ
Jun 21 '06 #1
4 914
Sounds like a client side problem, not ASP.NET

Does it do this in all browsers? Can we have some sample code of how
you are streaming it?

Jens Jensen wrote:
Hi,
We are streaming a pdf file to clients via Internet explorer .The pdf file
is streamed over https .
Sometime, when the file opens, it is seen for a few millisecond and is
killed again. Meaning , the client has no chance to view it.

This only happens for some clients. We have created a help link wich solve
the problem without using https. Just http.

We have also observed that setting "dont save encrypted file" in IE settings
solves the problem.

we are wondering about what causes this and how to provide a general
solution, hoppefully on the server side.

Any help will be higly appreciated.

Many thanks in advance
JJ

Jun 21 '06 #2
this is an IE bug / feature of IE mime handling.

request page
read header for mime type
if external viewer
determine mime hander
load mime handler
pass url to mimehandler
mimehander requests url
mimehandler displays request
else
display html

because the mime handler rerequest the page, all works well when it in the
cache (on disk). if the page must be downloaded again, there are often
problems.

some things you can do server side to help make IE reliable.

1) keep url short
2) use the correct file extension (mypage.pdf) by using an httphandler.
3) only do a get (no form posts)
-- bruce (sqlwork.com)


"Jens Jensen" <jj@jensen.dk> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...

Hi,
We are streaming a pdf file to clients via Internet explorer .The pdf file
is streamed over https .
Sometime, when the file opens, it is seen for a few millisecond and is
killed again. Meaning , the client has no chance to view it.

This only happens for some clients. We have created a help link wich solve
the problem without using https. Just http.

We have also observed that setting "dont save encrypted file" in IE
settings solves the problem.

we are wondering about what causes this and how to provide a general
solution, hoppefully on the server side.

Any help will be higly appreciated.

Many thanks in advance
JJ

Jun 21 '06 #3

Great this looks like the kind of support i was looking for.
Many thanks
JJ
Jun 21 '06 #4
My experiance was the roles not handled, do you have forms auth...?
Direct open failed while save as.. succeeded.

"Jens Jensen" <jj@jensen.dk> schreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...

Hi,
We are streaming a pdf file to clients via Internet explorer .The pdf file
is streamed over https .
Sometime, when the file opens, it is seen for a few millisecond and is
killed again. Meaning , the client has no chance to view it.

This only happens for some clients. We have created a help link wich solve
the problem without using https. Just http.

We have also observed that setting "dont save encrypted file" in IE
settings solves the problem.

we are wondering about what causes this and how to provide a general
solution, hoppefully on the server side.

Any help will be higly appreciated.

Many thanks in advance
JJ

Jun 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Viorel | last post by:
For me is a little bit mysterious how work encoding and decoding functions, what is underneath of their calling? Encoding1.GetBytes(string1); in particularly ASCII.GetBytes(string1) ...
0
by: SteveS | last post by:
Can anyone help with a mysterious problem that has arisen since 'upgrading' from 8 to 9.2.0.4? The situation is this: Queries that worked fine under 8 are now producing *really* strange...
2
by: M Wells | last post by:
Hi All, I'm trying to track down a mysterious problem we're experiencing in which updates and inserts to tables in our mssql2k server appear to be 'disappearing.' To explain our situation: ...
1
by: Bruce W.1 | last post by:
BACKGROUND My ASP.NET app has been running (or rather available) on a server for about 4 months now. The server is at http://www.webhost4life.com/ They don't add cookies to any of the sites...
13
by: Max | last post by:
Hi There! I'm having a mysterious error right after I login using Forms Authentication in my ASP.NET app. Below is the error... Exception Details: System.NullReferenceException: Object...
5
by: Sergey | last post by:
Hi everyone, It looks like a mystery, but I hope there should be some explanation to the issue I experience. Once in a blue moon a random stored procedure stops working the way it was designed....
54
by: CoreyWhite | last post by:
The following experiment is a demonstration of TIME TRAVEL. When writing this program, and testing it out I found that sometimes the program would engage itself in time travel but other times it...
33
by: Martin Jørgensen | last post by:
Hi, In continuation of the thread I made "perhaps a stack problem? Long calculations - strange error?", I think I now got a "stable" error, meaning that the error always seem to come here now...
9
by: Gerry | last post by:
I'm using pyExcelerator and xlrd to read and write data from and to two spreadsheets. I created the "read" spreadsheet by importing a text file - and I had no unicode aspirations. When I read...
2
by: Cyril Gupta | last post by:
Hello Friends & Experts, I am having a little problem with my new Asp.net 2 website. Whenever I run the website (in debug, or on server) a mysterious text is added to my URL like this: - ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.