Hi everybody... I'm begginer with Castle project... :D

I'm developing a web application with asp.net mvc, castle active record and
mysql and i'm having some problems. If someone can help-me I appreciate a
lot.

I'm try to deploy in the a host, but it doesn't work. The web application
doesn't throw a exception... but also doesn't data is shown in the page. I
don't know how it can happen... because in my develop machine (my local iis)
it's work without problems...

The global.asax is so:

protected void Application_Start()
{
RegisterRoutes(RouteTable.Routes);

XmlConfigurationSource source = new
XmlConfigurationSource(Server.MapPath("~/ar.config"));
ActiveRecordStarter.Initialize(Assembly.Load("VCps.Data"), source);
}

PS: "VCps.Data" is my namespace (from Class Library, Assembly)

My configuration file for ActiveRecord:

<?xml version="1.0"?>
<activerecord isDebug="true" isWeb="true">

  <config>

    <add key="connection.driver_class"
value="NHibernate.Driver.MySqlDataDriver"/>
    <add key="dialect" value="NHibernate.Dialect.MySQLDialect"/>
    <add key="connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"/>
    <add key="connection.connection_string"
value="server=MY-Server;port=3306;database=My-Database;User
ID=My-User;Password=My-Pass"/>
    <add key="query.substitutions" value="true=1;false=0"/>
    <add key="proxyfactory.factory_class"
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle"/>
    <add key="hbm2ddl.keywords" value="none"/>

  </config>

</activerecord>

In my local machine it works very well.. but the server host don't =/

no erros, no exceptions, and no data!!! The files .hbm.xml is generated...
but the daat doesn't show in the page...

Need I put a specific dll in the Bin folder to do this works ??? Or alter
the configuration ???

Help-me!!!

PS: Sorry for my english...

Thanks..


-- 
______________________________________
Felipe B. Oriani
[email protected] | www.felipeoriani.com.br

"...Examina o sentido, o modo e a direção de tuas palavras, antes de
pronunciá-las.." por Emmanuel

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.


Reply via email to