connectionString with Nhibernate

Oct 27, 2009 at 4:48 PM


first I wanna thank you Ahmad for answering me yesterday, now I meet another problem, it's when I want to put the site online, the online  server name is different than the server wich I use to develop, also the parameters in the Nhibernate.cfg.xml are not the same for the server on line, so every time i want to put it online I need to change manualy the connection string in this xml file, So is there another way to do this? what do you recommend me to resolve this problem?

Note: iam using Nhibernate, SQL server 2005