I want to use NHRepository in ASP.NET 3.5. But I have run into problem
setting it up.

For a new created ASP.NET website project. I added a Global.ascx with
its codebehind file.

Global is inherited from
Rhino.Commons.HttpModules.UnitOfWorkApplication in Global.asax.cs
public class Global : Rhino.Commons.HttpModules.UnitOfWorkApplication
    {
    }

The website project has referenced
Castle.Core,
Castle.MicroKernel,
Castle.Windsor,
Rhino.Commons,
Rhino.Commons.NHibernate

The complilation is succeeded not. Then I view the default.aspx in IE
and get error

File D:\LocalWorkspace\PerformancePortal\Windsor could not be found

Stack Trace:


[ResourceException: File D:\LocalWorkspace\PerformancePortal\Source
\Product\HTInns.PerformancePortalUnitOfWorkSite\Windsor could not be
found]
   Castle.Core.Resource.FileResource.CheckFileExists(String path) +235
   Castle.Core.Resource.FileResource.CreateStreamFromPath(String
resourcePath, String rootPath) +254
   Castle.Core.Resource.<>c__DisplayClassa.<.ctor>b__8() +64
   Castle.Core.Resource.AbstractStreamResource.GetStreamReader() +42
 
Castle.Windsor.Configuration.Interpreters.XmlProcessor.XmlProcessor.Process
(IResource resource) +137

[ConfigurationProcessingException: Error processing node resource
FileResource: [] []]
 
Castle.Windsor.Configuration.Interpreters.XmlProcessor.XmlProcessor.Process
(IResource resource) +371
 
Castle.Windsor.Configuration.Interpreters.XmlInterpreter.ProcessResource
(IResource source, IConfigurationStore store) +217
   Rhino.Commons.RhinoContainer.InitalizeFromConfigurationSource
(IConfigurationInterpreter interpreter, IEnvironmentInfo env) +252
   Rhino.Commons.RhinoContainer..ctor(String fileName,
IEnvironmentInfo env) +185
   Rhino.Commons.RhinoContainer..ctor(String fileName) +38
   Rhino.Commons.HttpModules.UnitOfWorkApplication.CreateContainer
(String windsorConfig) +55
   Rhino.Commons.HttpModules.UnitOfWorkApplication.CreateContainer()
+272
   Rhino.Commons.HttpModules.UnitOfWorkApplication.InitializeContainer
(UnitOfWorkApplication self) +82
   Rhino.Commons.HttpModules.UnitOfWorkApplication.Application_Start
(Object sender, EventArgs e) +35


I'm totally new to the Rhino tools. Any help is appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to