I am running a web app on w2k3/IIS 6.0/ASP.net 2.0. This app runs fine on a different server. The error message I get is
Compiler Error Message: CS0006: Metadata file 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
I have seen solutions to remove the "<identity impersonate="true" />" setting from the web.config file. That has not been helpful. Another solution was to delete the system.enterpriseservices.dll from C:\Windows\assembly. I have deleted the file, copied
a new .dll, and that did not work. I have reinstalled IIS and ASP.Net 2.0 as well. So far, no dice. Any other ideas are greatly welcomed!
This may be a dumb question, but is the assembly in the GAC on the deployment server? If it isn't, you should be able to add it by running "gacutil /if System.EnterpriseServices.dll" using the 2.0 version of gacutil.exe.
Thanks for the response. I just got the problem figured out today.
The file permissions were screwed up. Users did not have read and execute permissions to this folder:
C:\WINDOWS\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790
After I fixed that I got a similar error message as before but it mentioned a system.enterpriseServices.Wrapper.dll and found out that this file was missing
C:\WINDOWS\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790\System.EnterpriseServices.Wrapper.dll
Thanks a ton! I would not have thought to look there. For some reason both the System.EnterpriseServices.dll AND System.EnterpriseServices.Wrapper.dll were missing. Copied them from a co-workers machine and am now set to go.
ajk123
Member
10 Points
2 Posts
system.enterpriseservices.dll error
Sep 20, 2006 06:38 PM|LINK
I am running a web app on w2k3/IIS 6.0/ASP.net 2.0. This app runs fine on a different server. The error message I get is
Compiler Error Message: CS0006: Metadata file 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
I have seen solutions to remove the "<identity impersonate="true" />" setting from the web.config file. That has not been helpful. Another solution was to delete the system.enterpriseservices.dll from C:\Windows\assembly. I have deleted the file, copied a new .dll, and that did not work. I have reinstalled IIS and ASP.Net 2.0 as well. So far, no dice. Any other ideas are greatly welcomed!
AJ
ClayCo
Participant
1548 Points
292 Posts
Microsoft
Re: system.enterpriseservices.dll error
Sep 25, 2006 05:11 PM|LINK
Hello AJ,
This may be a dumb question, but is the assembly in the GAC on the deployment server? If it isn't, you should be able to add it by running "gacutil /if System.EnterpriseServices.dll" using the 2.0 version of gacutil.exe.
HTH,
Clay
ajk123
Member
10 Points
2 Posts
Re: system.enterpriseservices.dll error
Sep 25, 2006 08:52 PM|LINK
Clay,
Thanks for the response. I just got the problem figured out today.
The file permissions were screwed up. Users did not have read and execute permissions to this folder:
C:\WINDOWS\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790
After I fixed that I got a similar error message as before but it mentioned a system.enterpriseServices.Wrapper.dll and found out that this file was missing
C:\WINDOWS\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790\System.EnterpriseServices.Wrapper.dll
Now it is running like a champ!
AJ
ultrafastnea...
Member
16 Points
5 Posts
Re: system.enterpriseservices.dll error
Dec 02, 2008 03:09 PM|LINK
Thanks a ton! I would not have thought to look there. For some reason both the System.EnterpriseServices.dll AND System.EnterpriseServices.Wrapper.dll were missing. Copied them from a co-workers machine and am now set to go.
Neal Ganslaw
MCAD, MCDBA