Ok, I've had this issues since yesterday and I cannot figure out what's
causing it.
Basically, I have a Visual Studio 2005 Web Service. The service runs
completely find on my local development environment (running WinXP, with .NET
1.1 & .NET 2.0 installed).
I would normally Publish the website to another machine using the built in
"Publish" in VS 2005. I publish to a file system on a remote machine running
..NET 2.0 Framework. I used to have no problems until yesterday.
Now, the web service crashes with
"The specified module could not be found. (Exception from HRESULT:
0x8007007E)"
I ran fuslogvw on the machine, and I noticed the CppCodeProvider &
VJSharpCodeProv ider failed. (Below are the fuslogs). The weird thing is, I
don't reference these anywhere in my project! I do use a few third-party
dll's, but I can't tell if they need these dependencies.
Do I need to re-install the .NET 2.0 Framework on the remote machine to get
these to work? I just don't get why it worked before, and doesn't work now.
Does someone know how to fix this cleanly?
Any help would be appriciated.
Thanks,
Felix
*************** *************** *************** **
FUSLOG Attachments
*************** *************** *************** **
*** Assembly Binder Log Entry (4/11/2006 @ 12:48:14 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \mscorwks.dll
Running under executable c:\windows\syst em32\inetsrv\w3 wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTE M
LOG: DisplayName = CppCodeProvider , Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a
(Fully-specified)
LOG: Appbase = file:///C:/Satellite-TEST/SatelliteWebSer vices/
LOG: Initial PrivatePath = C:\Satellite-TEST\SatelliteW ebServices\bin
LOG: Dynamic Base = C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\eliteimag ingwebservices\ d859e513
LOG: Cache Base = C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\eliteimag ingwebservices\ d859e513
LOG: AppName = 20c4b58b
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Satellite-TEST\SatelliteW ebServices\web. config
LOG: Using host configuration file:
\\?\c:\windows\ microsoft.net\f ramework\v2.0.5 0727\aspnet.con fig
LOG: Using machine configuration file from
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \config\machine .config.
LOG: Post-policy reference: CppCodeProvider , Version=8.0.0.0 ,
Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/CppCodeProvider .DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/CppCodeProvider/CppCodeProvider .DLL.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/CppCodeProvider .DLL.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/CppCodeProvider/CppCodeProvider .DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/CppCodeProvider .EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/CppCodeProvider/CppCodeProvider .EXE.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/CppCodeProvider .EXE.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/CppCodeProvider/CppCodeProvider .EXE.
LOG: All probing URLs attempted and failed.
*** Assembly Binder Log Entry (4/11/2006 @ 12:48:14 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \mscorwks.dll
Running under executable c:\windows\syst em32\inetsrv\w3 wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTE M
LOG: DisplayName = VJSharpCodeProv ider, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b03f5f7f11d50a3 a
(Fully-specified)
LOG: Appbase = file:///C:/Satellite-TEST/SatelliteWebSer vices/
LOG: Initial PrivatePath = C:\Satellite-TEST\SatelliteW ebServices\bin
LOG: Dynamic Base = C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\eliteimag ingwebservices\ d859e513
LOG: Cache Base = C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET Files\eliteimag ingwebservices\ d859e513
LOG: AppName = 20c4b58b
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Satellite-TEST\SatelliteW ebServices\web. config
LOG: Using host configuration file:
\\?\c:\windows\ microsoft.net\f ramework\v2.0.5 0727\aspnet.con fig
LOG: Using machine configuration file from
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \config\machine .config.
LOG: Post-policy reference: VJSharpCodeProv ider, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/VJSharpCodeProv ider.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/VJSharpCodeProv ider/VJSharpCodeProv ider.DLL.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/VJSharpCodeProv ider.DLL.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/VJSharpCodeProv ider/VJSharpCodeProv ider.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/VJSharpCodeProv ider.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/eliteimagingweb services/d859e513/20c4b58b/VJSharpCodeProv ider/VJSharpCodeProv ider.EXE.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/VJSharpCodeProv ider.EXE.
LOG: Attempting download of new URL
file:///C:/Satellite-TEST/SatelliteWebSer vices/bin/VJSharpCodeProv ider/VJSharpCodeProv ider.EXE.
LOG: All probing URLs attempted and failed.