[Mono-list] missing assembly!?!

Brian Chan bchanb at gmail.com
Fri Jul 6 15:56:57 EDT 2007


Hi all,
 
I am trying to create a monorail project to be run using mono.  But whenever
I try to run the app I get the following error:
 root at ndev-linux /home/httpd/html/test# xsp2 
xsp2 
Listening on port: 8080 (non-secure) 
Listening on address: 0.0.0.0 
Root directory: /home/httpd/html/test 
Hit Return to stop the server. 
Internal error: OutputPage threw an exception 
System.IO.FileNotFoundException: Could not load file or assembly 
'Castle.Services.Transaction, Version=0.1.0.0, Culture=neutral, 
PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The 
system cannot find the file specified. 
File name: 'Castle.Services.Transaction, Version=0.1.0.0, 
Culture=neutral, PublicKeyToken=407dd0808d44fbdc' 
  at (wrapper xdomain-invoke) Mono.WebServer.XSPRequestBroker:Close 
(int,bool) 
  at (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPRequestBroker:Close (int,bool) 
  at Mono.WebServer.XSPWorkerRequest.CloseConnection () [0x00000] 
  at System.Web.HttpResponse.Close () [0x00000] 
  at System.Web.HttpApplication.FinalErrorWrite 
(System.Web.HttpResponse response, System.String error) [0x00000] 
  at System.Web.HttpApplication.OutputPage () [0x00000] 
  at System.Web.HttpApplication.PipelineDone () [0x00000] 
Tick caught an exception that has not been propagated: 
System.IO.FileNotFoundException: Could not load file or assembly 
'Castle.Services.Transaction, Version=0.1.0.0, Culture=neutral, 
PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The 
system cannot find the file specified. 
File name: 'Castle.Services.Transaction, Version=0.1.0.0, 
Culture=neutral, PublicKeyToken=407dd0808d44fbdc' 
  at (wrapper xdomain-invoke) 
Mono.WebServer.BaseRequestBroker:UnregisterRequest (int) 
  at (wrapper remoting-invoke-with-check) 
Mono.WebServer.BaseRequestBroker:UnregisterRequest (int) 
  at Mono.WebServer.BaseApplicationHost.EndOfRequest 
(Mono.WebServer.MonoWorkerRequest mwr) [0x00000] 
  at (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_MonoWorkerRequest 
(Mono.WebServer.MonoWorkerRequest) 
  at Mono.WebServer.MonoWorkerRequest.EndOfRequest () [0x00000] 
  at System.Web.HttpApplication.PipelineDone () [0x00000] 
  at System.Web.HttpApplication.Tick () [0x00000] 
 
I have another project that works on mono.  When I delete the
Castle.Services.Transaction dll I get a different error:
oot at ndev-linux /home/httpd/html/ARTest# xsp2 
xsp2 
Listening on port: 8080 (non-secure) 
Listening on address: 0.0.0.0 
Root directory: /home/httpd/html/ARTest 
Hit Return to stop the server. 


** (/usr/local/lib/mono/2.0/xsp2.exe:10722): WARNING **: The following 
assembly referenced from /home/httpd/html/ARTest/bin/ 
Castle.Facilities.ActiveRecordIntegration.dll could not be loaded: 
     Assembly:   Castle.Services.Transaction    (assemblyref_index=4) 
     Version:    0.1.0.0 
     Public Key: 407dd0808d44fbdc 
The assembly was not found in the Global Assembly Cache, a path listed 
in the MONO_PATH environment variable, or in the location of the 
executing assembly (/home/httpd/html/ARTest/bin). 


** (/usr/local/lib/mono/2.0/xsp2.exe:10722): WARNING **: Could not 
load file or assembly 'Castle.Services.Transaction, Version=0.1.0.0, 
Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its 
dependencies. 

 

So what does the first error mean?  Since it seems mono will give the 2nd
error message when the assembly is actually missing.  

Thanks in advance for any help/info.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070706/22438711/attachment.html 


More information about the Mono-list mailing list