Solved

Visual Studio 2008 Website not reflecting changes

Posted on 2013-12-13
3
411 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
  • 2
3 Comments
 
LVL 35

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 35

Accepted Solution

by:
Miguel Oz earned 500 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now