473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

BC2017 error

PMK
XP SP2

I create a new web app in VS2005 SP1 and immediately try to view the
default.asp page. I get error BC2017 "could not find library
'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServi ces\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseSer vices.dll'"

I've found other references to this error that suggest either cleaning
out temp files, which I tried, or the MS KB artice at
http://support.microsoft.com/kb/8972...d=7796&sid=118 which
suggests registering the dll. I tried that. It fails with error:
Failure adding assembly to the cache: The system cannot find the
file specified.

Any suggestions would be welcome.

Peter
May 13 '07 #1
2 2837
On May 13, 8:05 am, PMK <expat_th-use...@yahoo.cawrote:
Failure adding assembly to the cache: The system cannot find the
file specified.
Peter,

acc. to KB897299, the workaround is "to register the DLL in the global
assembly cache by using the following command":

gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

and you should try to execute

gacutil -i C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\System.EnterpriseServices.dll

where the System.EnterpriseServices DLL is located.

However, I would recommend to reinstall the .NET Framework.

Hope, it helps

May 13 '07 #2
PMK
Hi Alexey,

Yes, the second registration did it. I did a lot of searching, but
never found any reference to that!

Thanks a lot,

Peter
On 13 May 2007 15:24:46 -0700, Alexey Smirnov
<al************@gmail.comwrote:
>On May 13, 8:05 am, PMK <expat_th-use...@yahoo.cawrote:
>Failure adding assembly to the cache: The system cannot find the
file specified.

Peter,

acc. to KB897299, the workaround is "to register the DLL in the global
assembly cache by using the following command":

gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

and you should try to execute

gacutil -i C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\System.EnterpriseServices.dll

where the System.EnterpriseServices DLL is located.

However, I would recommend to reinstall the .NET Framework.

Hope, it helps
May 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: Don | last post by:
I intermittently get a runtime Compilation Error that says 'The compiler failed with error code 2000'. It appears that a DLL cannot be found in the 'temporary asp.net files' directory. The...
5
by: Mythran | last post by:
I keep having this BC2017 Compiler Error and have been able to duplicate it on several machines...can someone help with a solution to this? I do know of several ways to get this compiler error to...
0
by: Henrik Stidsen | last post by:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.