So I seem to make a habit of not getting things to work in umbraco :(
I have a .NET usercontrol which is working on my testing server.
I recreated all the document types, templates, content and uploaded all the required files - duplicated my testing server exactly - but when I go to test the page - I get the following error:
as bfi correctly mentioned if you 'recreate' your live site it still won't be a mirror of it as generated ID's etc. will most likely not match.
For creating a copy of your live site on your local machine I would roughly do the following:
1. make a backup of the database and restore it on your local machine (you can also just connect to your live database but it's certainly not advisable and a bit beside the point); make sure you can log in with the db user and the connection settings are set properly (TCP/IP and named pipes)
1.a you might have to create the sql user the first time, preferably using the exact same properties as on the live site
2. copy over the all files from your server
3. check permissions on the files so it works with your local app pool
4. Create a new web site for localhost
And that should pretty much be it. Depending on your configuration you might have to do a couple of steps more but this way you should get an exact copy of your live site.
No node exists with id '0'
So I seem to make a habit of not getting things to work in umbraco :(
I have a .NET usercontrol which is working on my testing server.
I recreated all the document types, templates, content and uploaded all the required files - duplicated my testing server exactly - but when I go to test the page - I get the following error:
I have read some forum posts about memberships problems which sometimes arise with this error - but I am not using members at all - any ideas?
What does your usercontrol do? Did you copy the whole database or manually recreated the content? If so, the node ids are different.
Hi Tye,
as bfi correctly mentioned if you 'recreate' your live site it still won't be a mirror of it as generated ID's etc. will most likely not match.
For creating a copy of your live site on your local machine I would roughly do the following:
1. make a backup of the database and restore it on your local machine (you can also just connect to your live database but it's certainly not advisable and a bit beside the point); make sure you can log in with the db user and the connection settings are set properly (TCP/IP and named pipes)
1.a you might have to create the sql user the first time, preferably using the exact same properties as on the live site
2. copy over the all files from your server
3. check permissions on the files so it works with your local app pool
4. Create a new web site for localhost
And that should pretty much be it. Depending on your configuration you might have to do a couple of steps more but this way you should get an exact copy of your live site.
Hope that helps,
Sascha
is working on a reply...