Thursday, April 26, 2012

Windows Server keeps changing the time/date back

When I try to change the date, say from 4/26/2012 to 4/25/2012, it automatically changes back within a few seconds.

This turned out to be because the server is a virtual, and it's set to sync with the virtual host in Hyper-V.

1. Open Hyper-V
2. Right-click on the virtual
3. Select Settings
4. In Integration uncheck Time synchronization, and save

CD will not AutoPlay

CD won't AutoPlay.

I tried many proposed solutions but it ultimately ended up being a program that was interfering with AutoPlay.

I followed the steps here:, and by process of elimination determined it was HP Update causing the problem.

1.  Start->type msconfig

2. In General tab select Selective Startup

3. Click Services tab

4. Check Hide all Microsoft Services

5. Uncheck half of the checked services

6. Click Apply

7. Restart

8. If the CD still won't autoplay, repeat steps 3-7 until all of the services have been disabled or until it works. If you've tried all the services and it won't work do the same thing in Startup.

9. If the last disable batch caused it to start now reverse the process, by enabling half of the ones you just disabled, and continue to do this until it stops working again. Keep enabling/disabling until you narrow it down to one item.

Once you find the culprit keep it disabled. In my case it was a program that wasn't vital or necessary so i uninstalled it.

Other Solutions to try 



Wednesday, April 25, 2012

XML File Changes not updating to new [PROPERTY] in Installshield

Problem: XML File Changes feature is not properly updating an element's content to a [PROPERTYNAME] changed value. This can be found by navigating to "XML File Changes" -> Click on a node -> click on "Advanced tab"

Workaround: First set the content to "[PROPERTYNAME]" (with qutoation marks), build it, and then remove the quotation marks, and build again.

Note: This is a bug and it's not known why this workaround actually works, but it does.

Friday, April 13, 2012

ASP.NET Your login attempt was not successful. Please try again.

When logging into my website on my dev machine, i was getting "Your login attempt was not successful. Please try again."

I verified that my username/password were correct. No other settings in the web.config changed since the last time i logged in.

For some reason I had double-clicked on the Login control and created   
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)


and left it empty. So this means when I was trying to login it was literally doing nothing, which is why the login was not successful. Since I didn't need to customize the authentication process the solution was simply to delete this method.