Freigeben über


Error 1304. Error writing to file: Microsoft.VisualStudio.Editors.dll

Operating System: Windows XP Media Center SP2

Trying to install Visual Studio 2005 and it fails at the point where Document Explorer tries to get install

Log Says:

MSI (s) (20:E4) [14:44:06:031]: Assembly Error:Version %d.%d is not a compatible version.
MSI (s) (20:E4) [14:44:06:031]: Note: 1: 1935 2:  3: 0x80131107 4: IStream 5: Commit 6: 
MSI (s) (20:A8) [14:44:06:031]: Note: 1: 1304 2: microsoft.visualstudio.commonide.dll
MSI (s) (20:A8) [14:44:06:046]: Product: Microsoft Document Explorer 2005 -- Error 1304.Error writing to file: microsoft.visualstudio.commonide.dll.  Verify that you have access to that directory.

Error 1304.Error writing to file: microsoft.visualstudio.commonide.dll.  Verify that you have access to that directory.
MSI (s) (20:A8) [14:44:06:046]: User policy value 'DisableRollback' is 0
MSI (s) (20:A8) [14:44:06:046]: Machine policy value 'DisableRollback' is 0
Action ended 14:44:06: InstallFinalize. Return value 3.

Tried the Below Steps it did not worked

== Clean the GAC_MSIL and GAC_32 folder again
== Clean the NativeImage*2.0* folder inside %windir%\assembly
== Reboot the machine
== Use regedit to search for "Microsoft.VisualStudio.Editors" and rename any key you found
== Browse for the file dotnetfx.exe (in \wcu\dotnetframework) and double click the file to choose repair
== Run VS setup again

THE ISSUE GOT RESOLVED BY FOLLOWING THE BELOW STEPS

== Remove Framework 2.0 from Add/Remove
== Used the Framework cleanup Tool to remove Framework 2.0
== Found few entries of Visual Studio in Assembly GAC
== Most of them was not registered
== It was not giving the option for uninstall
== Tried manually deleting the entries
== That also did not help
== Hence decided to rename the Assembly folder
== This worked

The issue was with the Assembly as per the the MSI Log

MSI (s) (20:E4) [14:44:06:031]: Assembly Error:Version %d.%d is not a compatible version

== So once the Assembly was renamed the Visual Studio 2005 installation went successfully

Comments

  • Anonymous
    July 27, 2009
    hello...i m getting d same error.. but i could not found the assembly GAC...Which assembly u have remaned? Plz reply

  • Anonymous
    July 28, 2009
    Please check C:Windows you will find Assembly there. Thanks Joy

  • Anonymous
    August 21, 2011
    Hello, I'm not a very much of a tech person, but I have a few questions. I've been looking for the GAC folder you were talking about, but I can't find it in the assembly. Can you explain this even further into detail, "The issue was with the Assembly as per the the MSI Log"? Is there something I'm doing wrong or is it that I don't know what I'm doing? Please response, thank you, Juvia Kassmen

  • Anonymous
    June 06, 2015
    Error 1310.Error writing to file: mfcd.dll. Verify that you have access to that directory. This is the error I get when I try to install MS visual studio. Please help me with this problem

  • Anonymous
    June 06, 2015
    Error 1310.Error writing to file: mfcd.dll. Verify that you have access to that directory. This is the error I get when I try to install MS visual studio. Pleas help me with this problem