Recently deployed an ASP Web site, found that a feature of the site calendar on the original server when accessed by a specific date to the day of the bold red display, but deployed to my company's computer room on the win2008 server access when it does not have this effect.
So through the local deployment, using VS for debugging to see the value of the variable to find in the ASP code to get the current date format is yyyy/m/d, and then the code and the other by the concatenation of the date format yyyy-m-d comparison, which is obviously always false, That's why the calendar doesn't have a bold and red display for a particular date.
By finding a solution on the web, the problem is finally solved successfully by the following methods.
1. Run Registry Editor (REGEDIT)
2, enter into the hkey_users/. Default/control panel/international
3, modify the right sdate value is-
4. Modify the right sshortdate value to YYYY-MM-DD
5. Restart your computer
Attach the VS Debug ASP method:
1. Install IIS locally and deploy the ASP Web site. (Note that when installing ASP and ASP, the parent path is enabled when ASP is configured, if the ASP is 32-bit, the 32-bit program is enabled in the application pool setting).
2. Use your browser to access the ASP pages you want to debug.
3. Start vs as an administrator.
4, vs menu bar Select File = "open =" web site, select Local IIS, and then select the deployed ASP site.
5. VS Editor Open the ASP file you want to debug, set breakpoints, and select debug = on the VS menu bar to attach to the process.
6. Set the options in the first red box as shown, and then locate the process w3wp.exe
Note If the process is not found, then check the "Show all user Processes", "show processes in all sessions" above, and if not, refresh the browser's ASP page.
7, add good, refresh the browser ASP page, this time on VS will automatically break the breakpoint to your place.
WINDOW2008+IIS7 date format issues for deployment sites