Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Error installing to GAC: Error writing to file

Mon Mar 03, 2008 10:55 am

Hi again

We've got one client machine where we've gotten this error:

"Error writing to file: [DllName].dll. Verify that you have access to that directory."

The user account is in the adminitrator group. Gacutil also fails with error: "Unknown Error hr=0X80131107", also with "/f" option. I still need to check if there are funny access rights set on the "Windows" or "Assembly" folders.

This works on some machines so it isn't really your problem but any help would be really appreciated (i.e. if you have a suspicion to what might be wrong).

Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact:  Website

Mon Mar 03, 2008 2:29 pm

Hi,

It seems that HRESULT value 0x80131107 represents error code CLDB_E_FILE_OLDVER, which means that the assembly was built against a newer CLR version than the one present on that machine.

The following forum thread may prove useful:
http://www.developmentnow.com/g/58_2005 ... ib-dll.htm

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Mon Mar 03, 2008 2:59 pm

I'll investigate this, but thanks enormously for the info! I google'd a bit with the error but obviously i'm not as proficient yet :).

Return to “Common Problems”