Posted in General

.NET Framework patch: All ImageButtons don’t work.

Ok .NET framework had a recent patch, and it broke many of our web sites. All imageButtons just don’t do anything.

Cause:
The patch damaged the client scripts in aspnet_client folder. We need to update them properly.

Solution:
Run the following command lines

aspnet_regiis -ea
aspnet_regiis -c

Option -ea will remove all scripts in all aspnet_client folder. -c will install the scripts again.

But, sometimes it complains about insufficent Administrator Privileges. This was really tough one to figure out. Some scripts in aspnet_client folder were somehow marked READONLY (might be because one of our developer added aspnet_client folder into sourcesafe and it marked them as readonly). Manually deleting those script folder did the trick in this case.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s