|
Home > Archive > Commerce Server General > July 2006 > Cannot find assembly or one of its dependencies
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Cannot find assembly or one of its dependencies
|
|
| Loren Whitney 2006-07-20, 7:17 pm |
| I've installed CS 2007 RC and unpacked the CSharp.pup. I then installed the
Business User Applications. I tried to use the various applications (Catalog
Manager, etc) but it gave me an error saying, "The Catalog Service
'http://localhost/CatalogWebService/CatalogWebService.asmx' is currently
unavailable. The Web Service might be experiencing technical difficulties, or
you may need to adjust your connection settings."
I then tried to hit
http://localhost/CatalogWebService/...WebService.asmx straight from my
browser, and I saw the error that I will copy at the bottom of this post,
which basically told me that it could not find Microsoft.CatalogServer,
Version=6.0.1.0, PublicTokenKey=31bf3856ad364e35.
The thing I don't understand is that I can go into my GAC and I actually see
Microsoft.Catalog server there, version 6.0.1.0, public token key
31bf3856ad364e35.
A similar problem occurs when I try to look at OrdersWebService.asmx, etc.
I can't quite figure out why these assemblies aren't being found! Can anyone
help me out?
Thanks, Loren
***THE ERROR I'M GETTING***
Server Error in '/CatalogWebService' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Microsoft.CatalogServer, or one
of its dependencies, was not found.
Source Error:
Line 75: <compilation defaultLanguage="c#" debug="false">
Line 76: <assemblies>
Line 77: <add assembly="Microsoft.CatalogServer, Version=6.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 78: </assemblies>
Line 79: </compilation>
Source File: c:\inetpub\wwwroot\CatalogWebService\web
.config Line: 77
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.CatalogServer' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.CatalogServer, Version=6.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/CatalogWebService
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.CatalogServer, Version=6.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer/Microsoft.CatalogServer.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer/Microsoft.CatalogServer.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer/Microsoft.CatalogServer.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer/Microsoft.CatalogServer.EXE.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300
| |
|
| It seems that you are running CS on .NET 1.1 (the logs shows v1.1.4322).
CS 2007 needs .NET 2.0 framework, so you need to configure the IIS/sites to
use .NET 2.0.
"Loren Whitney" wrote:
> I've installed CS 2007 RC and unpacked the CSharp.pup. I then installed the
> Business User Applications. I tried to use the various applications (Catalog
> Manager, etc) but it gave me an error saying, "The Catalog Service
> 'http://localhost/CatalogWebService/CatalogWebService.asmx' is currently
> unavailable. The Web Service might be experiencing technical difficulties, or
> you may need to adjust your connection settings."
>
> I then tried to hit
> http://localhost/CatalogWebService/...WebService.asmx straight from my
> browser, and I saw the error that I will copy at the bottom of this post,
> which basically told me that it could not find Microsoft.CatalogServer,
> Version=6.0.1.0, PublicTokenKey=31bf3856ad364e35.
>
> The thing I don't understand is that I can go into my GAC and I actually see
> Microsoft.Catalog server there, version 6.0.1.0, public token key
> 31bf3856ad364e35.
>
> A similar problem occurs when I try to look at OrdersWebService.asmx, etc.
>
> I can't quite figure out why these assemblies aren't being found! Can anyone
> help me out?
>
> Thanks, Loren
>
>
>
>
>
> ***THE ERROR I'M GETTING***
>
> Server Error in '/CatalogWebService' Application.
>
> Configuration Error
> Description: An error occurred during the processing of a configuration file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
>
> Parser Error Message: File or assembly name Microsoft.CatalogServer, or one
> of its dependencies, was not found.
>
> Source Error:
>
> Line 75: <compilation defaultLanguage="c#" debug="false">
> Line 76: <assemblies>
> Line 77: <add assembly="Microsoft.CatalogServer, Version=6.0.1.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
> Line 78: </assemblies>
> Line 79: </compilation>
>
> Source File: c:\inetpub\wwwroot\CatalogWebService\web
.config Line: 77
>
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'Microsoft.CatalogServer' could not be loaded.
>
> === Pre-bind state information ===
> LOG: DisplayName = Microsoft.CatalogServer, Version=6.0.1.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35
> (Fully-specified)
> LOG: Appbase = file:///c:/inetpub/wwwroot/CatalogWebService
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Publisher policy file is not found.
> LOG: No redirect found in host configuration file
> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> LOG: Using machine configuration file from
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> LOG: Post-policy reference: Microsoft.CatalogServer, Version=6.0.1.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer/Microsoft.CatalogServer.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer/Microsoft.CatalogServer.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/catalogwebservice/e0004aea/8ce76167/Microsoft.CatalogServer/Microsoft.CatalogServer.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/CatalogWebService/bin/Microsoft.CatalogServer/Microsoft.CatalogServer.EXE.
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
> Version:1.1.4322.2300
| |
| Loren Whitney 2006-07-20, 7:17 pm |
| Ah! Everything works wonderfully now! I don't know how I missed that! 
Thanks, Loren.
"ITP" wrote:
[vbcol=seagreen]
> It seems that you are running CS on .NET 1.1 (the logs shows v1.1.4322).
> CS 2007 needs .NET 2.0 framework, so you need to configure the IIS/sites to
> use .NET 2.0.
>
> "Loren Whitney" wrote:
>
|
|
|
|
|