dotnet component services:
- I have a class lib C# project that has a few methods and the (I
think) proper magic for managing via COM+.
- I can expose it via SOAP using the property dialog (identity tab)
uses soap checkbox.
- A virtual directory magically shows up in IIS.
- I am running on Windows Server 2003 Standard
When I hit the url for the service (http://localhost/Cache/
COMPlusCache.Cache.soap?WSDL) I get some FileNotFoundException mess
(see below).
So, what have I tried? glad you asked...
- giving the C:\WINDOWS\Temp directory very open permissions (as
suggested by someone)
- giving C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files very open permissions
- trying ASP.NET 2.0.50727 (instead of 1.1.4322) - just get nothing
from the wsdl url
- switching to release mode when I build my dll
Setup wise, I have...
- signed dll
- regsvcs Cache.dll
- gacutil /i Cache.dll
ANY HELP !!! pleeeeeaaaaase
result from http://localhost/Cache/COMPlusCache.Cache.soap?WSDL
System.IO.FileNotFoundException: File or assembly name Cache, or one
of its dependencies, was not found.
File name: "Cache"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Boolean stringized, Evidence assemblySecurity,
StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Runtime.Remoting.RemotingConfigInfo.LoadType(String
typeName, String assemblyName)
at
System.Runtime.Remoting.RemotingConfigInfo.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.CanServiceRequest(HttpContext
context)
at
System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.InternalProcessRequest(HttpContext
context)
=== Pre-bind state information ===
LOG: DisplayName = Cache, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=fcc054921a88ed92
(Fully-specified)
LOG: Appbase = file:///C:/WINDOWS/system32/com/SoapVRoots/Cache
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: Cache, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=fcc054921a88ed92
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/cache/b38bb36f/b2e75973/Cache.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/cache/b38bb36f/b2e75973/Cache/Cache.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/cache/b38bb36f/b2e75973/Cache.EXE.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/cache/b38bb36f/b2e75973/Cache/Cache.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache.EXE.