This project is read-only.

How to create a new orchard site and use database and configurations from the older site?

Topics: Installing Orchard
Oct 29, 2012 at 6:21 PM

I have a project almost done and i have to move this project to another computer.
1) I did a database backup
2) i created a new site using an empty database.
3) i restored the older database to another empty database
4) i went to settings.txt, and i changed the connection string to the restored one
when the project runs it shows me directory listing on http://localhost:30320/OrchardLocal/
http://localhost:30320/OrchardLocal/admin does not exists too.

i wanna know if i can export/reuse the changes i did from the older site to the new.

in the log i have this erro:

NHibernate.Util.ADOExceptionReporter - A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) 

Oct 29, 2012 at 7:00 PM

Just copy the entire website to the new computer.

If you just want to move the project from one computer to another, just copy it. If you restore the database on the new computer just as it was on the original computer, there should be no reason to manually change the connectionstring. All of that is stored in App_Data and will move with the website.

If you are performing an Orchard upgrade, say from 1.5.1 to 1.6, this is a completely different scenario than your question. In that case, check the release notes on how to properly upgrade an Orchard Website.

Based on the following thread, the error may be caused by a database permissions problem, but I am not familiar with the error personally.

I recommend using your favorite search engine to search the internet for generic ADO errors like the one you received, which is what I did in this case. If you are getting database errors ( orchard cannot connect to the database ), that would explain why the pages aren't showing up. Double and triple check your connectionstring, your credentials, and that the database is working correctly. Try to connect to the database with that connectionstring and credentials outside of Orchard CMS to be sure. Sounds like a connection problem.