ASP.Net web page giving blank page on postback since PKI enablement

Ok, I thought I had this solved with an earlier question, but we are still experiencing it. I recently implemented PKI with my ASP.Net web application (C# code behind), within the past week. Since then, I get users continually telling me that when they go to save something, they get back a blank page. This appears to be happening on PostBacks. It does not happen every time, but it does happen often and continually. Before enabling PKI, this never happened. This app has been running smooth for over 2 years. It always happens on a postback, when the user clicks save or selects something from a dropdown list. Any ideas what is happening? I've experienced it many times, too.
dodgerfanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
Hard to tell without looking at some code regarding the PKI changes.
q1. What is the nature of the change?
q2. Is this asp.net MVC or web form? .NET version?
q3.  Does the change introduce post back controls?
q4. Does the change create conditions that may affect page rendering?

I will look whether the changes are not executing any rendering page code especially if  page contains some dynamic content.
If company policies do not allow to post code then you need to contract a consultant to have a look at your code before/after change to find out what the issue is.
0
dodgerfanAuthor Commented:
We put in the PKI infrastructure, making the required changes to IIS6. I also added a function in my default page to capture the PKI cert data of each user, which I later use to authenticate users so they do not have to use a username and password anymore.
This is ASP.Net, 2.0, written with VS 2008, C# code behind, SQL Server 2005 DB.
The postbacks occur on Saving by clicking a button or making a selection from a drop down list. The code behind does not execute. If you do what you need within a minute of opening the page, it will execute. If you wait past 1 minute, you get the blank page. I have thought about sessions and timeouts, but none of it seems to have an effect.
0
Miguel OzSoftware EngineerCommented:
Where is the minute (timer in C# or JavaScript) interval defined?
Sometimes problem could be solved if you delete the browser cache and all temporary Asp.net files.
Again, without code it is hard to check or help, Imagine a patient telling a doctor I have a tummy ache without providing details about diet, last meal, medicines being taken, etc.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

dodgerfanAuthor Commented:
I tested the code myself, just timing it by clock. I deleted the browser cache and temp files, but I still get it.
The code behind does not execute, either. It does the same thing on IE (version 8) and Firefox. A view source of the blank page shows just these lines:

<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><META content="IE=7.0000" http-equiv="X-UA-Compatible">

<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

I am hampered by the environment I have. I can't post code easily, if at all. And I do not have many tools available. I do not have fiddler, for example. Again thanks for the help and any insight or ideas to chase is appreciated.
0
Miguel OzSoftware EngineerCommented:
content="IE=7.0000" means your page is forced to run as IE7 even if you are using IE8, Is this correct?

Again, your previous post is not helpful, it only tells me the page is blank but not how the page is generated or PKI is loaded,
If you can not post code, you should:
- Rollback your code to your original working code.
- Capture the produce html.
- Start introducing the new code little by little until the web site breaks. Check page events like Page_load, etc.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dodgerfanAuthor Commented:
Thanks for the input and ideas. Yes, I am forcing IE 8 to run as IE 7. I took that out, but it made no difference. I took out my code that grabs the Certificate data and tried it without it. I still get the white screen. However, if I uncheck (in IIS, I'm using IIS6), the Require secure channel (SSL) checkbox and check the Ignore client certificates option, everything runs as expected and the code executes. No white page. When I turn PKI back on by checking the Require secure channel (SSL) checkbox and check either of the Accept or Require client certificate options, the blank page returns. I'm still at a loss, and do not know what to do yet.
0
dodgerfanAuthor Commented:
Found it finally.

http://www.experts-exchange.com/Networking/Protocols/SSL/Q_24461827.html

It turns out that we needed to issue the following 2 statements from
the c:\inetpub\adminscripts directory to solve the problem:

cscript adsutil.vbs set w3svc/site#/uploadreadaheadsize 200000

and set the SSLAlwaysNegoClientCert value by issuing the following
command:

cscript adsutil.vbs set w3svc/site#/SSLAlwaysNegoClientCert true

where site# is the identifier number associated with the website.
0
dodgerfanAuthor Commented:
Thanks for the ideas and helping to track it down.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.