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

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
 
J

Juan T. Llibre

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
 
R

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top