Mitchel's Forums

Subject: Live site restore to Windows Vista local machine
Prev Next
You are not authorized to post a reply.

AuthorMessages
ccaddellUser is Offline
New Poster
New Poster
Posts:5

06/27/2008 3:18 PM  

 I recently tried to perform a site restore to my local windows Vista machine from a backup from my live site.

I followed the vista setup from the video tutorial (nicely done btw)

I tried to keep everything as close to the live site as possible
1. Added the same database user (instructions from video)
2. Restored the database backup to SQL Server Express
3. Copied the website backup to a local directory.
4. Performed setup for IIS setup (instructions from video) (Virtual directory, Classic App Pool, permissions)
5. Modified web.config connection strings (both) for my local machine server name (left everything else the same)
6. Tried to start the site via Web Developer Express
7. Figured out that I needed to modify the Portal Alias to be "localhost/virtualDirName" (modified by hand via  SQL Server Express Management Studio) otherwise you get redirected back to the live site (oops)
8. Figured out that SQL Server Express Management Studio has to be configured for Windows and SQL Authentication (database user error message)
9. Also added default.aspx to the top of the Default document list.

Now I get "Internet Explorer cannot display the webpage"

I have tried going over the video and repeating the steps many time with the same result

I must be missing something. Any thoughts?


Thanks
Casey

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5501

06/27/2008 4:23 PM  
Casey,

Can you access image files or other standard files inside the dnn install?

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
ccaddellUser is Offline
New Poster
New Poster
Posts:5

06/27/2008 4:55 PM  

Thanks for the quick response!

It appears so.

If I put http://localhost:8000/images/action_rss.gif in the browser window for example I get the rss icon.

I tried creating a simple test.htm page at the root level and that also seems to work.

I tried navaigating directly to http://localhost:8000/default.aspx and I get the cannot display message.

I tried navigating to something that does not exist in the directory http://localhost:8000/default.htm and I get an IIS7 404 - Not Found page.

This all made more sense to me with XP.

thanks

casey

ccaddellUser is Offline
New Poster
New Poster
Posts:5

06/27/2008 4:58 PM  

I just noticed that if I try going through the virtual directory (http://localhost/utrt) that nothing works. Only when I specify the port number (but not for default.aspx in either case)

thanks

casey

 

ccaddellUser is Offline
New Poster
New Poster
Posts:5

06/27/2008 5:36 PM  
Sorry, One more thing. What I was describing above was from me creating a new website in IIS (forgot I had done that late last night when I could not get it to work). When I created a virtual dir in the Default Website I could never get passed the "cannot" display message alothough I do know that it was partially working because when I had the portal alias wrong it was at least redirecting me to the live site.

The new website defined (with the 8000 binding and portal alias set to localhost:8000) at least lets me display other things within the site (as described above).

Also I am noticing that it can sometimes take a long time (like several minutes) before it comes back with the "cannot display" message and other times it take seconds. Is it attempting to restart the app at those times?

thanks
casey
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5501

07/01/2008 10:17 AM  
If you are using a non-standard port, you must set the UsePortNumber setting in the web.config to true, to ensure that DNN keeps the port number in links.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
ccaddellUser is Offline
New Poster
New Poster
Posts:5

07/02/2008 2:47 PM  

That seems to have worked. I can do my local development now.

Thanks Mitchel!

Still curious why the virtual directory didnt work though?

 

thanks
casey

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5501

07/07/2008 8:56 AM  
The reason that the standard http://localhost/yourdirectory didn't work is that you had IIS installed to run on a different port. That causes issues unless DNN is configured to run on that other port.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Live site restore to Windows Vista local machine



ActiveForums 3.7