473,791 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why do Themes fail sporadically when using SSL?

I have a 3 page ASP.NET web application that is using an asp:Wizard control
on the main page. There is no authentication (completely open) and all
processesing is done on this single page. I have a master page that has all
of the application layout to match our corporate look and feel and a folder
called "HBW" under "App_Themes " in the web directory containing 15 style
sheets that were copied over from our corporate site.

On our local development machines everything works as expected and in our QA
environment everything worked as expected, however once we launched to
production, we were getting reports that every once in a while a user would
get a page that would be completely white, without any of the images,
background colors, etc.

After several attempts at reproducing the issue in QA, we finally set up a
QA environment with the same SSL certificate as we were using in production
and violla! we were able to reproduce the problem, however there was nothing
in the Application or System logs and no errors in our own application's
internal logging that would indicate that an error or exception had ocurred
to cause it.

It seems to occur on no particular step of the wizard and does not happen
every time. If we get the issue and then click next, previous, or refresh the
screen the styles reload just fine and so far we have only gotten it to
re-occur on that particular page. When we view the source code of the page
when it faults everything looks in place except that all of the style sheets
and theme applied image paths are missing, which tells me directly that
somehow the ASP.NET theme rendering is breaking during the page life-cycle.
Is there something I am missing?

We do not have smart navigation turned on as that was the first thing I
checked. We are also not using AJAX although we are using some Infragistics
data edit controls.

We currently have 3 other rather complex web applications in the same
environment using a copy of the exact same theme, also using one or more
wizard controls and 2 of which are using AJAX, Infragistics and a slurry of
other technologies without any issues similar to this.

The only thing we can find that seems to consistently cause this behavior to
occur in this application, albeit sporradic, is when we enable SSL in IIS and
access the application using https://.

Any help on this would be greatly appreciated as we are banging our heads
against the wall trying to figure this out.
Jul 3 '07 #1
3 1633
Has anyone seen this before, we have some very annoyed customers right now
and we are unable to find any answers anywhere as to why our style sheet
would fail to load from the themes almost at random when we put this
application on a server with SSL. We're still not even sure if it has
anything to do with SSL, that is just the only time we can re-create the
behavior.

Anyone from Microsoft have any ideas? Please?

Thanks,
Chad

"Chad Scharf" <Ch********@dis cussions.micros oft.comwrote in message
news:B4******** *************** ***********@mic rosoft.com...
>I have a 3 page ASP.NET web application that is using an asp:Wizard control
on the main page. There is no authentication (completely open) and all
processesing is done on this single page. I have a master page that has
all
of the application layout to match our corporate look and feel and a
folder
called "HBW" under "App_Themes " in the web directory containing 15 style
sheets that were copied over from our corporate site.

On our local development machines everything works as expected and in our
QA
environment everything worked as expected, however once we launched to
production, we were getting reports that every once in a while a user
would
get a page that would be completely white, without any of the images,
background colors, etc.

After several attempts at reproducing the issue in QA, we finally set up a
QA environment with the same SSL certificate as we were using in
production
and violla! we were able to reproduce the problem, however there was
nothing
in the Application or System logs and no errors in our own application's
internal logging that would indicate that an error or exception had
ocurred
to cause it.

It seems to occur on no particular step of the wizard and does not happen
every time. If we get the issue and then click next, previous, or refresh
the
screen the styles reload just fine and so far we have only gotten it to
re-occur on that particular page. When we view the source code of the page
when it faults everything looks in place except that all of the style
sheets
and theme applied image paths are missing, which tells me directly that
somehow the ASP.NET theme rendering is breaking during the page
life-cycle.
Is there something I am missing?

We do not have smart navigation turned on as that was the first thing I
checked. We are also not using AJAX although we are using some
Infragistics
data edit controls.

We currently have 3 other rather complex web applications in the same
environment using a copy of the exact same theme, also using one or more
wizard controls and 2 of which are using AJAX, Infragistics and a slurry
of
other technologies without any issues similar to this.

The only thing we can find that seems to consistently cause this behavior
to
occur in this application, albeit sporradic, is when we enable SSL in IIS
and
access the application using https://.

Any help on this would be greatly appreciated as we are banging our heads
against the wall trying to figure this out.

Jul 5 '07 #2
On Jul 3, 3:52 pm, Chad Scharf <ChadSch...@dis cussions.micros oft.com>
wrote:
I have a 3 page ASP.NET web application that is using an asp:Wizard control
on the main page. There is no authentication (completely open) and all
processesing is done on this single page. I have a master page that has all
of the application layout to match our corporate look and feel and a folder
called "HBW" under "App_Themes " in the web directory containing 15 style
sheets that were copied over from our corporate site.

On our local development machines everything works as expected and in our QA
environment everything worked as expected, however once we launched to
production, we were getting reports that every once in a while a user would
get a page that would be completely white, without any of the images,
background colors, etc.

After several attempts at reproducing the issue in QA, we finally set up a
QA environment with the same SSL certificate as we were using in production
and violla! we were able to reproduce the problem, however there was nothing
in the Application or System logs and no errors in our own application's
internal logging that would indicate that an error or exception had ocurred
to cause it.

It seems to occur on no particular step of the wizard and does not happen
every time. If we get the issue and then click next, previous, or refresh the
screen the styles reload just fine and so far we have only gotten it to
re-occur on that particular page. When we view the source code of the page
when it faults everything looks in place except that all of the style sheets
and theme applied image paths are missing, which tells me directly that
somehow the ASP.NET theme rendering is breaking during the page life-cycle.
Is there something I am missing?

We do not have smart navigation turned on as that was the first thing I
checked. We are also not using AJAX although we are using some Infragistics
data edit controls.

We currently have 3 other rather complex web applications in the same
environment using a copy of the exact same theme, also using one or more
wizard controls and 2 of which are using AJAX, Infragistics and a slurry of
other technologies without any issues similar to this.

The only thing we can find that seems to consistently cause this behavior to
occur in this application, albeit sporradic, is when we enable SSL in IIS and
access the application using https://.

Any help on this would be greatly appreciated as we are banging our heads
against the wall trying to figure this out.
I'll take a stab at this...

For the images, i imagine it's showing a Red "X" where the image
should be? If so, right click where the image should be an look at
the URL. Is it trying to access the image via HTTPS? if not, do you
have absolute addresses pointing to http://mydomain/myimage.gif??

Jul 6 '07 #3
Thanks Larry,

We are not actually using Skins in our theme, just style sheets. We only
have one image in the images directory in our Theme folder for the
background, everything else is drawn using CSS. The single image that was in
the output, our company logo, was outside of the Theme directory and
actually did appear just fine but of course out of place and on a white
background.

The actuall CSS links to the stylesheets from the Theme in the header are
missing when this anomaly occurs in the output HTML, the rest of the page
actually functions fine though.

Thanks,
Chad.

"Larry Bud" <la**********@y ahoo.comwrote in message
news:11******** *************@c 77g2000hse.goog legroups.com...
On Jul 3, 3:52 pm, Chad Scharf <ChadSch...@dis cussions.micros oft.com>
wrote:
>I have a 3 page ASP.NET web application that is using an asp:Wizard
control
on the main page. There is no authentication (completely open) and all
processesing is done on this single page. I have a master page that has
all
of the application layout to match our corporate look and feel and a
folder
called "HBW" under "App_Themes " in the web directory containing 15 style
sheets that were copied over from our corporate site.

On our local development machines everything works as expected and in our
QA
environment everything worked as expected, however once we launched to
production, we were getting reports that every once in a while a user
would
get a page that would be completely white, without any of the images,
background colors, etc.

After several attempts at reproducing the issue in QA, we finally set up
a
QA environment with the same SSL certificate as we were using in
production
and violla! we were able to reproduce the problem, however there was
nothing
in the Application or System logs and no errors in our own application's
internal logging that would indicate that an error or exception had
ocurred
to cause it.

It seems to occur on no particular step of the wizard and does not happen
every time. If we get the issue and then click next, previous, or refresh
the
screen the styles reload just fine and so far we have only gotten it to
re-occur on that particular page. When we view the source code of the
page
when it faults everything looks in place except that all of the style
sheets
and theme applied image paths are missing, which tells me directly that
somehow the ASP.NET theme rendering is breaking during the page
life-cycle.
Is there something I am missing?

We do not have smart navigation turned on as that was the first thing I
checked. We are also not using AJAX although we are using some
Infragistics
data edit controls.

We currently have 3 other rather complex web applications in the same
environment using a copy of the exact same theme, also using one or more
wizard controls and 2 of which are using AJAX, Infragistics and a slurry
of
other technologies without any issues similar to this.

The only thing we can find that seems to consistently cause this behavior
to
occur in this application, albeit sporradic, is when we enable SSL in IIS
and
access the application using https://.

Any help on this would be greatly appreciated as we are banging our heads
against the wall trying to figure this out.

I'll take a stab at this...

For the images, i imagine it's showing a Red "X" where the image
should be? If so, right click where the image should be an look at
the URL. Is it trying to access the image via HTTPS? if not, do you
have absolute addresses pointing to http://mydomain/myimage.gif??

Jul 6 '07 #4

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

Similar topics

13
2356
by: jamie howard | last post by:
Hello there - we have a fairly busy server and we just started to have problems with PHP sessions failing. We've never had this problem before and to be honist, out server traffic is lower than it has been in prior months - so I'm really not sure what could cause this. Could anyone suggest some potentiol avenues to explore for reasons that could cause PHP sessions to fail? Thanks for any suggestions!
6
2885
by: Dan | last post by:
I've created a pocketpc app which has a startup form containing a listview. The form creates an object which in turn creates a System.Threading.Timer. It keeps track of the Timer state using a TimerState object similar to the example in the System.Threading.Timer documentation. The method which handles the timer events, among other things, periodically calls a method in this TimerState object which raises an event to the startup form,...
2
1754
by: clintonG | last post by:
Does anybody know how to use a control such as the DropDownList to change Themes when using MasterPages? I'm also asking in the forum. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/
1
1145
by: Griff | last post by:
We're replacing a CLASSIC ASP application. In this application, we presented a dialogue box that allowed end users to specify exactly how they wanted their screen to look. So, they could set the font size, font colour, border widths/style/colour etc, etc. This information was then held in a database. When the ASP page was loaded, it used an INCLUDE function to include a file "application.css.asp". This was effectively an ASP page...
1
1365
by: sbelgrave | last post by:
First off. Hats off to MS to really doing a good job of major fixes on VS 2K5. It is really a lot better. I have begun using Master Pages with Themes but am a bit confused as to how to make the CSS styles in those themes appear during development (not at run time, i know that most forums explain the css files in the themes are merged 'at run time' to make the page you view). I want to use Master Pages w/ Themes but if sadly I feel the...
4
1685
by: Sean | last post by:
My experience now working with master pages on and off for 6 months is that they can be very dangerous when working with themes. One example in particular is the changes I made to my banner menu which now work just fine with all my themes on my development machine but on my production server my non-standard themes are showing effects that are no longer in place even with a complete re-copy of my project. Problems like this with...
6
2495
by: Clinton Farleigh | last post by:
Hi, I was going to ask a question, but I think I've answered it so now I am going to rant about how crappy ASP.NET themes are instead. As I've indicated above, my problem today is with themes. Per microsoft "Only one theme can be applied to each page. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied."
11
6621
by: New Bee | last post by:
Hi, I have been looking at Themes and Skins today and now resonably understand how they work at a ground level. But I have a couple of questions. 1. ) StyleSheetTheme I dont understand where this would be used. As I understand it the precidence is like this.
2
1771
by: mike | last post by:
Hi. I am having trouble grasping the concept of applying a consistent theme to an ASP.net website. I didn't used to like ASP because it was too hard to apply a theme from a common theme folder like I could do easily in PHP, but now I see that it has some nicer theming features and master files. So I want to use web.config to switch which theme I'm using, and I want to be able to have several themes. My understanding of themes is that I...
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.