Monday, March 26, 2012

ASP.NET Ajax 1.0 Installation Error

I'm trying to install ASP.NET Ajax 1.0. First, I uninstalled a previous beta version. Now when I run the 1.0 installation and the wizard starts copying files, I get the following error:

Product: Microsoft ASP.NET 2.0 AJAX Extensions 1.0 -- Error 1304. Error writing to file: System.Web.Extensions.Design.dll. Verify that you have access to that directory.

Does anyone know how to resolve this issue?

Thanks.

I had a different problem, I couldn't get a clean uninstall on my XP dev box. But I followed the procedure in the following post:Uninstall issue with ASP.NET AJAX 1.0 Beta 2;http://forums.asp.net/thread/1502566.aspx.

I'm wondering if you got a clean uninstall.

Otherwise, I'd check the obvious. Look for the System.Web.Extensions.Design.dll file in your file system (mine is located at c:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025) and make sure the account you're using for the install has permission to write to the directory (like the error says :).


Thanks for the reply. I've tried both of your suggestions, but neither worked. The version I had installed was the "Atlas" June CTP. I've tried installing Beta 2, RC1, and 1.0. All of these give me this same error:

Product: Microsoft ASP.NET 2.0 AJAX Extensions 1.0 -- Error 1304. Error writing to file: System.Web.Extensions.Design.dll. Verify that you have access to that directory.

Any other ideas?...Please?....Anyone?...Help!


Does the System.Web.Extensions.Design.dll file already exist on your system? Unless it the error message is wrong it sounds like the file is there and you can't overwirte it. I know that I'm stating the obvious and asking you to check the obvious, but unfortunately I've been burned by the obvious too often not to check it :)


No it does not exist on my system. Let me rephrase that...The only time it exists on my system is during the installation of ASP.NET Ajax Extensions. In the middle of the installation, the System.Web.Extensions.Design.dll file is written to the C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 folder. I think (and I'm guessing here) that the problem arises when the installation tries to add this assembly the GAC. I copied the file to another folder before cancelling the installation. Then I tried to add it to the GAC manually, but I received the following error:

You do not have rights to add assemblies to the assembly cache. Contact your system administrator for assistance.

This itself is a bit baffling considering that my user account is in the Aministrators group on this system.


Yes this does sound frustratingly interesting. If I were in your situation I'd try (1) adding then removing another signed assembly with gacutil to the GAC to see if your account really does have a problem. (2) creating a fresh admin account to see if it has the problem.

Also try clearing out the download cache. Try "gacutil /ldl" followed by "gacutil /cdl". During development I've had some problems with the download cache in the past, so clearing it is on my check list.

I guess the good news it seems like it may only be a permission problem. Unless the dll has been corrupted, you know that the dll is OK because Ajax RTM V1 has been widely installed. You could always grab a fresh copy of the Ajax v1 to make sure all is well.

If you haven't already taken the time, you might want to read the upgrade instructions and see if they provide any insights:

http://ajax.asp.net/documentation/default.aspx?tabid=47

http://ajax.asp.net/documentation/Migration_Guide_CTP_to_RTM.aspx

No comments:

Post a Comment