Monoral dll loading Error

View: New views
2 Messages — Rating Filter:   Alert me  

Monoral dll loading Error

by Sandeep Kumar-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi
  I am completely new to Monorail. I am using VS 2008 and wanted to
build an application on monorail . I did a simple application by
referencing Castle.Monorail.Framework dll . I took this dll from
"castleproject-1.1-build_971-net-2.0-debug" from castle build site. I
also installed CVSI-0.3.2.msi for coloring and intellisence.

Is this the one we need to refer. Is there anything else i need to
install while working on VS2008?.

But i am getting the following error
"Parser Error Message: Could not load file or assembly
'Castle.MonoRail.Framework' or one of its dependencies. The system
cannot find the file specified"

Line 19:     </httpHandlers>
Line 20:     <httpModules>
Line 21:       <add name="monorail"
type="Castle.MonoRail.Framework.EngineContextModule,
Castle.MonoRail.Framework" />
Line 22:     </httpModules>
Line 23:     <compilation debug="true"/>

The same code works in another PC? I could not find out any
enviormental differences? What cane be the reason?

Intellisence is not working in the IDE of VS2008 even after installing
MSI.Am i missing some thing? Is there any good site/documentation/
vedio cast on how to get strated on VS2008 for monorail.
Any help in this regard will be highly appreciated as i need to submit
an evaluation findings soon.


Regards
SSK
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-project-devel@...
To unsubscribe from this group, send email to castle-project-devel+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Monoral dll loading Error

by Colin Ramsay-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are using the latest trunk then your web.config needs to be different. Get rid of the monorail httpmodule and add this httphandler:

<httpHandlers>
            <add verb="*" path="*.castle" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
</httpHandlers>



On Thu, Oct 16, 2008 at 2:22 PM, SSK <sandeepgulecha@...> wrote:

Hi
 I am completely new to Monorail. I am using VS 2008 and wanted to
build an application on monorail . I did a simple application by
referencing Castle.Monorail.Framework dll . I took this dll from
"castleproject-1.1-build_971-net-2.0-debug" from castle build site. I
also installed CVSI-0.3.2.msi for coloring and intellisence.

Is this the one we need to refer. Is there anything else i need to
install while working on VS2008?.

But i am getting the following error
"Parser Error Message: Could not load file or assembly
'Castle.MonoRail.Framework' or one of its dependencies. The system
cannot find the file specified"

Line 19:     </httpHandlers>
Line 20:     <httpModules>
Line 21:       <add name="monorail"
type="Castle.MonoRail.Framework.EngineContextModule,
Castle.MonoRail.Framework" />
Line 22:     </httpModules>
Line 23:     <compilation debug="true"/>

The same code works in another PC? I could not find out any
enviormental differences? What cane be the reason?

Intellisence is not working in the IDE of VS2008 even after installing
MSI.Am i missing some thing? Is there any good site/documentation/
vedio cast on how to get strated on VS2008 for monorail.
Any help in this regard will be highly appreciated as i need to submit
an evaluation findings soon.


Regards
SSK



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-project-devel@...
To unsubscribe from this group, send email to castle-project-devel+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price!