Could not load file or assembly 'System.EnterpriseService'...

  • Thread starter Thread starter Rabbit
  • Start date Start date
R

Rabbit

dear all,

I was ok to use Visual Studio 2005 built-in Web Server to develop my web
application. When I deploy it onto IIS, the compliation prompts following:
Error 1 Could not load file or assembly 'System.EnterpriseServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
its dependencies. The system cannot find the file specified.
I knew such assembly was initialized from web.config on
[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG] and i have checked
that such file existed on [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727],
so I don't know how to fix such error in order to run my web application!

Can anyone give me hint on how to resolve this problem?

Thanks in advance.
Rabbit
 
Make sure that :

1. the ASP.Net has been properly registered in your deployment box.

To check, run aspnet_regiis -i from a command window in
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

2. Make sure your configured ASP.NET account has the proper file permissions.

See : http://msdn2.microsoft.com/library/kwzs111e.aspx

If you're using IIS 6.0, additionally, see :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000009.asp
and, if you're using impersonation, see :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000023.asp






Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
==================================
Rabbit said:
dear all,

I was ok to use Visual Studio 2005 built-in Web Server to develop my web application. When I
deploy it onto IIS, the compliation prompts following:
Error 1 Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified.
I knew such assembly was initialized from web.config on
[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG] and i have checked that such file existed
on [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727], so I don't know how to fix such error in order
to run my web application!

Can anyone give me hint on how to resolve this problem?

Thanks in advance.
Rabbit
 
Thanks for your help, at the end I opened .Net Framework 2.0 configuration,
added the missed Assembly file System.EnterpriseService into Assembly Cache
list, then the problem seems fixed, but I don't know how come this file is
missed from there.


Juan T. Llibre said:
Make sure that :

1. the ASP.Net has been properly registered in your deployment box.

To check, run aspnet_regiis -i from a command window in
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

2. Make sure your configured ASP.NET account has the proper file
permissions.

See : http://msdn2.microsoft.com/library/kwzs111e.aspx

If you're using IIS 6.0, additionally, see :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000009.asp
and, if you're using impersonation, see :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000023.asp






Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
==================================
Rabbit said:
dear all,

I was ok to use Visual Studio 2005 built-in Web Server to develop my web
application. When I deploy it onto IIS, the compliation prompts
following:
Error 1 Could not load file or assembly 'System.EnterpriseServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The system cannot find the file specified.
I knew such assembly was initialized from web.config on
[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG] and i have checked
that such file existed on
[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727], so I don't know how to
fix such error in order to run my web application!

Can anyone give me hint on how to resolve this problem?

Thanks in advance.
Rabbit
 
Back
Top