all groups > dotnet component services > january 2008 >
You're in the dotnet component services group:
exhausted, beaten - C# COM+ component as a web services...FileNotFoundException
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.
On Jan 22, 7:12 pm, "John Saunders [MVP]" <john.saunders at [quoted text, click to view] trizetto.com> wrote: > "uncle" <akt...@gmail.com> wrote in message > > news:a5606cb0-7783-4105-ab52-9b2f9204f9a4@d4g2000prg.googlegroups.com... > > > > >- 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 fromhttp://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. > > LOG: Attempting download of new URL > > file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.EXE. > > So, where _is_ Cache.dll located? It appears that it should be in > C:\Windows\System32\com\SoapVRoots\Cache\bin\Cache.dll. > -- > -------------------------------------------------------------------------------- > John Saunders | MVP - Windows Server System - Connected System Developer
The Cache.dll the comes from building my project is in c:\aktxyz\Cache \Cache.dll - I then register the dll into the GAC - I then register the dll as a com+ component - I then enable the com+ component for soap activation This last step is supposed to automagically create the virtual directory (in the C:\Windows\System32\com\SoapVRoots folder). I have read different things about the dll automatically being generated for the SoapVRoots and something about the ASP.NET temp directory. All the instructions I have been able to find imply that there should be
[quoted text, click to view] On Jan 22, 8:23 pm, uncle <akt...@gmail.com> wrote: > On Jan 22, 7:12 pm, "John Saunders [MVP]" <john.saunders at > > > > trizetto.com> wrote: > > "uncle" <akt...@gmail.com> wrote in message > > >news:a5606cb0-7783-4105-ab52-9b2f9204f9a4@d4g2000prg.googlegroups.com... > > > >- 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 fromhttp://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. > > > LOG: Attempting download of new URL > > > file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.EXE. > > > So, where _is_ Cache.dll located? It appears that it should be in > > C:\Windows\System32\com\SoapVRoots\Cache\bin\Cache.dll. > > -- > > -------------------------------------------------------------------------------- > > John Saunders | MVP - Windows Server System - Connected System Developer > > The Cache.dll the comes from building my project is in c:\aktxyz\Cache > \Cache.dll > - I then register the dll into the GAC > - I then register the dll as a com+ component > - I then enable the com+ component for soap activation > > This last step is supposed to automagically create the virtual > directory (in the C:\Windows\System32\com\SoapVRoots folder). I have > read different things about the dll automatically being generated for > the SoapVRoots and something about the ASP.NET temp directory. All > the instructions I have been able to find imply that there should be > no DLL copying around required.
So, another set of questions would be - where should the Cache.DLL go? - who should put it there? - is it the same Cache.DLL as spit out by my class lib C# project? - I don't think so, I think it is some auto generated proxy of some sort
[quoted text, click to view] "uncle" <aktxyz@gmail.com> wrote in message news:a5606cb0-7783-4105-ab52-9b2f9204f9a4@d4g2000prg.googlegroups.com... >- 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. > LOG: Attempting download of new URL > file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.EXE.
So, where _is_ Cache.dll located? It appears that it should be in C:\Windows\System32\com\SoapVRoots\Cache\bin\Cache.dll. -- -------------------------------------------------------------------------------- John Saunders | MVP - Windows Server System - Connected System Developer
[quoted text, click to view] "uncle" <aktxyz@gmail.com> wrote in message news:c1383a17-d803-41ae-88d2-e982a600b8d0@e23g2000prf.googlegroups.com... > On Jan 22, 8:23 pm, uncle <akt...@gmail.com> wrote: >> On Jan 22, 7:12 pm, "John Saunders [MVP]" <john.saunders at >> >> >> >> trizetto.com> wrote: >> > "uncle" <akt...@gmail.com> wrote in message >> >> >news:a5606cb0-7783-4105-ab52-9b2f9204f9a4@d4g2000prg.googlegroups.com... >> >> > >- 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 fromhttp://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. >> > > LOG: Attempting download of new URL >> > > file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.EXE. >> >> > So, where _is_ Cache.dll located? It appears that it should be in >> > C:\Windows\System32\com\SoapVRoots\Cache\bin\Cache.dll. >> > -- >> > -------------------------------------------------------------------------------- >> > John Saunders | MVP - Windows Server System - Connected System >> > Developer >> >> The Cache.dll the comes from building my project is in c:\aktxyz\Cache >> \Cache.dll >> - I then register the dll into the GAC >> - I then register the dll as a com+ component >> - I then enable the com+ component for soap activation >> >> This last step is supposed to automagically create the virtual >> directory (in the C:\Windows\System32\com\SoapVRoots folder). I have >> read different things about the dll automatically being generated for >> the SoapVRoots and something about the ASP.NET temp directory. All >> the instructions I have been able to find imply that there should be >> no DLL copying around required. > > > > So, another set of questions would be > - where should the Cache.DLL go? > - who should put it there? > - is it the same Cache.DLL as spit out by my class lib C# project? > - I don't think so, I think it is some auto generated proxy of some > sort
Why not try copying your Cache.dll to C:\Windows\System32\com\SoapVRoots\Cache\bin\ and see what happens? -- -------------------------------------------------------------------------------- John Saunders | MVP - Windows Server System - Connected System Developer
Tried that, BadImageFormatException. On Jan 23, 12:40 pm, "John Saunders [MVP]" <john.saunders at [quoted text, click to view] trizetto.com> wrote: > "uncle" <akt...@gmail.com> wrote in message > > news:c1383a17-d803-41ae-88d2-e982a600b8d0@e23g2000prf.googlegroups.com... > > > > > On Jan 22, 8:23 pm, uncle <akt...@gmail.com> wrote: > >> On Jan 22, 7:12 pm, "John Saunders [MVP]" <john.saunders at > > >> trizetto.com> wrote: > >> > "uncle" <akt...@gmail.com> wrote in message > > >> >news:a5606cb0-7783-4105-ab52-9b2f9204f9a4@d4g2000prg.googlegroups.com... > > >> > >- 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 fromhttp://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. > >> > > LOG: Attempting download of new URL > >> > > file:///C:/WINDOWS/system32/com/SoapVRoots/Cache/bin/Cache/Cache.EXE. > > >> > So, where _is_ Cache.dll located? It appears that it should be in > >> > C:\Windows\System32\com\SoapVRoots\Cache\bin\Cache.dll. > >> > -- > >> > -------------------------------------------------------------------------------- > >> > John Saunders | MVP - Windows Server System - Connected System > >> > Developer > > >> The Cache.dll the comes from building my project is in c:\aktxyz\Cache > >> \Cache.dll > >> - I then register the dll into the GAC > >> - I then register the dll as a com+ component > >> - I then enable the com+ component for soap activation > > >> This last step is supposed to automagically create the virtual > >> directory (in the C:\Windows\System32\com\SoapVRoots folder). I have > >> read different things about the dll automatically being generated for > >> the SoapVRoots and something about the ASP.NET temp directory. All > >> the instructions I have been able to find imply that there should be > >> no DLL copying around required. > > > So, another set of questions would be > > - where should the Cache.DLL go? > > - who should put it there? > > - is it the same Cache.DLL as spit out by my class lib C# project? > > - I don't think so, I think it is some auto generated proxy of some > > sort > > Why not try copying your Cache.dll to > C:\Windows\System32\com\SoapVRoots\Cache\bin\ and see what happens? > -- > -------------------------------------------------------------------------------- > John Saunders | MVP - Windows Server System - Connected System Developer
[quoted text, click to view] "uncle" <aktxyz@gmail.com> wrote in message news:1a239c19-4229-49fa-9f31-b61f6c08fa52@k39g2000hsf.googlegroups.com... > Tried that, BadImageFormatException.
If the DLL isn't in C:\Windows\System32\com\SoapVRoots\Cache\bin\, then you get a file not found. If it _is_ in C:\Windows\System32\com\SoapVRoots\Cache\bin\, you get bad image format instead of file not found. I think that means that it *found* the file and that it has a bad image format. -- -------------------------------------------------------------------------------- John Saunders | MVP - Windows Server System - Connected System Developer
I am having trouble in this area, but I solved the File not Found message: Ensure that the DLL containing your interfaces is also installed into the GAC. It's your DLL's dependencies that are not being found. I moved my interfaces into the ServicedComponent DLL before I understood the problem. With regard to the discussion up to this point - it's in the GAC. You do not need to copy it anywhere. I am having ongoing problems with this in VISTA on .NET 2.0. I can't get SOAP to work on serviced components - there's no WSDL support and the .soap url reports tht the service cannot be found. At least I managed to figure out that you MUST have an HTTPS binding on the defauilt web site to even enable 'Uses SOAP'. Guys, please update your documentation! We're exhausted, beaten. [quoted text, click to view] "John Saunders [MVP]" wrote: > "uncle" <aktxyz@gmail.com> wrote in message > news:1a239c19-4229-49fa-9f31-b61f6c08fa52@k39g2000hsf.googlegroups.com... > > Tried that, BadImageFormatException. > > If the DLL isn't in C:\Windows\System32\com\SoapVRoots\Cache\bin\, then you > get a file not found. If it _is_ in > C:\Windows\System32\com\SoapVRoots\Cache\bin\, you get bad image format > instead of file not found. I think that means that it *found* the file and > that it has a bad image format. > -- > -------------------------------------------------------------------------------- > John Saunders | MVP - Windows Server System - Connected System Developer > >
[quoted text, click to view] "caractacus" <caractacus@discussions.microsoft.com> wrote in message news:44688302-30BC-48AC-BBB3-6BA6605B1229@microsoft.com... > I am having ongoing problems with this in VISTA on .NET 2.0. I can't get > SOAP to work on serviced components - there's no WSDL support and the > .soap > url reports tht the service cannot be found. At least I managed to figure > out > that you MUST have an HTTPS binding on the defauilt web site to even > enable > 'Uses SOAP'. > > Guys, please update your documentation! We're exhausted, beaten.
I'd suggest you start a new thread about your ongoing problems. -- -------------------------------------------------------------------------------- John Saunders | MVP - Windows Server System - Connected System Developer
Don't see what you're looking for? Try a search.
|
|
|