?
Solved

Visual Studio 2008 Website not reflecting changes

Posted on 2013-12-13
3
Medium Priority
?
420 Views
Last Modified: 2013-12-13
I inherited a website that acts as a Vacation request workflow.  Each year, as the company announces the holidays for the next year, the website gets changed and republished.  I've done this for a couple of years, but this year republishing doesn't reflect the changes.

I've rebuilt it with the changes, published and restarted IIS, am I missing a step?

The only difference (that I can think of) is that this year we are using Windows 7 and in previous years XP.
0
Comment
Question by:urthrilled
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Expert Comment

by:Miguel Oz
ID: 39717719
Is windows 7 the host server or the development enviroment?
if it is the host then  IIS versions are completely different (Windows 7 is IIS 7 whereas XP is IIS 5.1) and you will need to check that your site in configured to run in IIS 7.
0
 
LVL 4

Author Comment

by:urthrilled
ID: 39717791
The site resides in a Server 2003 environment with IIS 5.2

Our workstations use Windows 7.  I don't understand if I published the rebuilt site how it acknowledges the old dates and not the new ones?   I left the remaining dates (Christmas and New Years) and added the new holidays for 2014.

Here's the statement I changed

old:

        While startDate < endDate
            If (startDate.Date = CDate("11/27/13") OrElse startDate.Date = CDate("12/24/13") OrElse startDate.Date = CDate("12/31/13")) Then
                total += 0.5
            ElseIf Not (startDate.DayOfWeek = DayOfWeek.Sunday OrElse startDate.DayOfWeek = DayOfWeek.Saturday OrElse startDate.Date = CDate("1/1/13") OrElse startDate.Date = CDate("2/18/13") OrElse startDate.Date = CDate("5/27/13") OrElse startDate.Date = CDate("7/4/13") OrElse startDate.Date = CDate("9/2/13") OrElse startDate.Date = CDate("11/11/13") OrElse startDate.Date = CDate("11/28/13") OrElse startDate.Date = CDate("11/29/13") OrElse startDate.Date = CDate("12/25/13") OrElse startDate.Date = CDate("1/1/14")) Then
                total += 1.0
            Else
            End If
            startDate = startDate.AddDays(0.5 Or 1.0)

        End While

new:

        While startDate < endDate
            If (startDate.Date = CDate("11/26/14") OrElse startDate.Date = CDate("12/24/13") OrElse startDate.Date = CDate("12/24/14") OrElse startDate.Date = CDate("12/31/13") OrElse startDate.Date = CDate("12/31/14")) Then
                total += 0.5
            ElseIf Not (startDate.DayOfWeek = DayOfWeek.Sunday OrElse startDate.DayOfWeek = DayOfWeek.Saturday OrElse startDate.Date = CDate("1/1/14") OrElse startDate.Date = CDate("2/17/14") OrElse startDate.Date = CDate("5/26/14") OrElse startDate.Date = CDate("7/4/14") OrElse startDate.Date = CDate("9/1/14") OrElse startDate.Date = CDate("11/11/14") OrElse startDate.Date = CDate("11/27/14") OrElse startDate.Date = CDate("11/28/14") OrElse startDate.Date = CDate("12/25/13") OrElse startDate.Date = CDate("12/25/14") OrElse startDate.Date = CDate("1/1/15")) Then
                total += 1.0
            Else
            End If
            startDate = startDate.AddDays(0.5 Or 1.0)

        End While
0
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 2000 total points
ID: 39718034
If the site still works with the old dates, ti means that publish has not been successful in update your site. (This is nothing to do with code changeshown above, there may be issues with VS2008 dealing with older IIS versions though)

In VS, please rebuild solution and publish it again (as per instructions here. .
If it does not work, please send me the output window messages (when publishing) and any warnings when you rebuild solution.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question