Re: Parser error

2009-02-25 Thread Adeel
Ayende, thank you for your response. Well actually it is YOUR view ;-), I just tried to get a part of exesto running. The error occurs in the default.brail view of the layouts folder in exesto. Regards, Adeel On 24 feb, 19:23, Ayende Rahien aye...@ayende.com wrote: Please send me your view.

Re: RenderMailMessage obsolete method replacement on trunk

2009-02-25 Thread Ricardo Lopes
If the problem is on DeliverMail then is not the same problem. Did you configure the EmailSender correctly ? 2009/2/25 eyal ebarda...@gmail.com Thanks for the reply Ricardo The example you have still does not work for me. It crushes on DeliverMail() thanks eyal here is the stacktrace:

Re: Parser error

2009-02-25 Thread Ayende Rahien
What version of MR is this?If this is the version that comes with Exesto, that one is _old_. On Wed, Feb 25, 2009 at 3:47 AM, Adeel adeelsiddi...@gmail.com wrote: Ayende, thank you for your response. Well actually it is YOUR view ;-), I just tried to get a part of exesto running. The error

Re: Parser error

2009-02-25 Thread Adeel
The version of the Castle.MonoRail.Framework dll is 1.0.3.5561. This should be the one as in the trunk. All the references used in the project are the latest from the trunk. On Feb 25, 3:37 pm, Ayende Rahien aye...@ayende.com wrote: What version of MR is this?If this is the version that comes

nvarchar vs. varchar - ColumnType

2009-02-25 Thread jasonsirota
By default, AR is passing string properties as nvarchar instead of varchar, my SQL Server 2000 existing database uses varchar as its string type and is causing a full-table scan on the query. Is there any way to force AR/NH to pass varchar instead of nvarchar. What it's currently passing: exec

Re: Parser error

2009-02-25 Thread Adeel
Doe I use only the exesto version of Castle.MonoRail.Framework dll or all other assemblies of exesto too? On Feb 25, 7:25 pm, Ayende Rahien aye...@ayende.com wrote: Hm, that is interesting. what happen when you use the version that comes with Exesto? On Wed, Feb 25, 2009 at 9:58 AM, Adeel

Re: nvarchar vs. varchar - ColumnType

2009-02-25 Thread jasonsirota
I found the answer from a colleague, AnsiString but I still can't find the actual ilist/i On Feb 25, 11:05 am, jasonsirota jsir...@theknot.com wrote: By default, AR is passing string properties as nvarchar instead of varchar, my SQL Server 2000 existing database uses varchar as its string

Re: nvarchar vs. varchar - ColumnType

2009-02-25 Thread Colin Ramsay
NH docs would be a good place to look http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-types-basictypes On Wed, Feb 25, 2009 at 9:16 PM, jasonsirota jsir...@theknot.com wrote: I found the answer from a colleague, AnsiString but I still can't find the

Re: Parser error

2009-02-25 Thread Ayende Rahien
The versions with Exesto On Wed, Feb 25, 2009 at 11:25 AM, Adeel adeelsiddi...@gmail.com wrote: Doe I use only the exesto version of Castle.MonoRail.Framework dll or all other assemblies of exesto too? On Feb 25, 7:25 pm, Ayende Rahien aye...@ayende.com wrote: Hm, that is interesting.

Re: Parser error

2009-02-25 Thread Adeel
Hi, I finally got it working with the assemblies from the exesto project. It is still a mistery why it does not work with latest versions from the trunk. That is what I want it to do. When I try to use NHibernate and try to get the UnitOfWorkApplication working, the whole application blows up.

Re: RenderMailMessage obsolete method replacement on trunk

2009-02-25 Thread eyal
this is how i configured EmailSender: monorail smtpHost=smtp.hostname.com smtpUsername=myem...@hostname.com smtpPassword=mypass useWindsorIntegration=false controllers assemblySN/assembly /controllers viewEngines viewPathRoot=Views

Re: RenderMailMessage obsolete method replacement on trunk

2009-02-25 Thread eyal
Ok resolved problem all i had to do was replace smtp.hostname with mail.hostname in my config file thanks for the direction Ricardo Eyal On Feb 25, 1:27 am, Ricardo Lopes rjlo...@gmail.com wrote: If the problem is on DeliverMail then is not the same problem. Did you configure the EmailSender

Re: Clearing Cache when using Cache Attribute in Controller

2009-02-25 Thread Ken Egozi
These are two different caches. HttpRuntime.Cache is the server side cache - that caches data on the server. the CacheAttribute has to do with CACHE headers of the HttpResponse being sent to the browser - resulting with browsers and proxies caching the responses (or not) On Thu, Feb 26, 2009