Build broken (no idea why): SYstem.EnterpriseServices gone

  • Thread starter Thread starter Keith Patrick
  • Start date Start date
K

Keith Patrick

I have the Beta 2 of VS 2005 running an ASP.Net 2.0 app. This thing worked
yesterday, but today, it's telling me:
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.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Config\web.config 42


I'm not even sure why the thing has a problem with the web.config of all
things, as it's just the basic one that gets created with any project. And
to make things worse, I really don't know how to add
SYstem.EnterpriseServices as a reference, as 2.0 does web references
differently. Any ideas from those more familiar with the new platform than
I?
 
are you doing anything with remoting? i believe this is a remoting reference

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
Not doing a thing with it. This is just an ASP.Net 2.0 app that has been
working fine for weeks. This is my config file:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
</appSettings>
<connectionStrings/>
<system.web>
<profile enabled="false"/>
<compilation debug="true"/>
<authentication mode="Windows"/>
<!--
<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
</customErrors>
-->
</system.web>
</configuration>
 
I took out my web.config altogether and it turns out the thing is just
stupid and figures that my web.config is the offending one. It's actually
some root web.config in the framework directory, and it's the part here:
<compilation>
<assemblies>
<add assembly="mscorlib" />
<add assembly="System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Configuration, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.Services, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Drawing, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.EnterpriseServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web.Mobile, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="*" />
</assemblies>


(BTW: if this hasn't been said before, Outlook Express has about the most
annoying format for pasting code out of VS that I have ever seen...makes the
simplicities in life truly a pain in the ass)
 

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

Back
Top