![]() |
|
|
|||||||
![]() |
ASP Net - Build broken (no idea why): SYstem.EnterpriseServices gone |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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\Conf ig\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? Keith Patrick |
|
|
|
|
#2 |
|
Posts: n/a
|
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 ------------------------------------------------------- "Keith Patrick" <> wrote in message news:u#... > 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\Conf ig\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? > > Alvin Bruney - ASP.NET MVP |
|
|
|
#3 |
|
Posts: n/a
|
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> Keith Patrick |
|
|
|
#4 |
|
Posts: n/a
|
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) Keith Patrick |
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2006
Posts: 1
|
Can you tell me what you did to solve this? I'm a newbie and couldn't really figure out exactly what you did by your post.
Thanks! mtoguz |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Oct 2006
Posts: 1
|
Like you it was working yesterday - the only thing I did that might have caused the problem was - I did a system restore to a couple of weeks ago - then restored back to today. The error then appeared attempting to connect to my web service. I guess it wasn't as completely reversable as it claimed.
I got the ASP.Net v2 download from microsoft and reran it using the repair option and this solved my problem. Hornbeam |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Broken Outlook Express Inbox File? | John O | A+ Certification | 0 | 01-19-2006 09:11 PM |
| Blockbuster broken movie question | Rick | DVD Video | 2 | 01-08-2006 07:21 PM |
| A win-win idea | Alwen | DVD Video | 0 | 12-08-2005 02:52 PM |
| Alias Season 1 Broken DVD Cases | Scanz | DVD Video | 1 | 09-05-2003 06:48 PM |
| Re: 7. The truth about our creator. .7 | john smith | DVD Video | 2 | 07-25-2003 03:54 AM |