Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

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

 
Thread Tools Search this Thread
Old 11-03-2005, 05:31 PM   #1
Default Build broken (no idea why): SYstem.EnterpriseServices gone


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
  Reply With Quote
Old 11-03-2005, 05:59 PM   #2
Alvin Bruney - ASP.NET MVP
 
Posts: n/a
Default Re: Build broken (no idea why): SYstem.EnterpriseServices gone
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
  Reply With Quote
Old 11-03-2005, 07:05 PM   #3
Keith Patrick
 
Posts: n/a
Default Re: Build broken (no idea why): SYstem.EnterpriseServices gone
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
  Reply With Quote
Old 11-03-2005, 07:09 PM   #4
Keith Patrick
 
Posts: n/a
Default Re: Build broken (no idea why): SYstem.EnterpriseServices gone
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
  Reply With Quote
Old 09-24-2006, 05:16 AM   #5
mtoguz
Junior Member
 
Join Date: Sep 2006
Posts: 1
Default more help
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
mtoguz is offline   Reply With Quote
Old 10-30-2006, 04:26 PM   #6
Hornbeam
Junior Member
 
Join Date: Oct 2006
Posts: 1
Default Same problem here - quick fix that worked for me
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
Hornbeam is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46