Written by: Aderson Tuesday, August 30, 2011
10 min : 47 sec
This video will show how to setup your computer to run a domain locally while you have your site under development. This is not a video specifically about DotNetNuke but it helps a lot when developing a site.
8 comment(s) so far...
Re: How to trick your computer to run a domain locally, and why - Video #257 It's nice to learn there is a way to work around. However, it is stuck when I come to "Configure Database Connection" of www.mysite.com/Install/InstallWizard.aspx.The errors shown as below:Connection Error(s):Index #: 0Source: .Net SqlClient Data ProviderClass: 14Number: 18456Message: Sql login failedActually, the first step "DotNetNuke Installation Wizard - Version 06.00.01" of your video clip also shown the connection problem as below."The Auto option has been disabled as the DotNetNuke Application cannot connect to a valid SQL Server database. You can continue to use either of the other two Wizard options and configure the Database settings at the appropriate Wizard step."When I change back to the former way "localhost with directory", there is no such connection problem. Actually, I really want to setup as the video shown. Is there a way to solve this problem? Thank you!
Re: How to trick your computer to run a domain locally, and why - Video #257
It's nice to learn there is a way to work around. However, it is stuck when I come to "Configure Database Connection" of www.mysite.com/Install/InstallWizard.aspx.The errors shown as below:Connection Error(s):Index #: 0Source: .Net SqlClient Data ProviderClass: 14Number: 18456Message: Sql login failedActually, the first step "DotNetNuke Installation Wizard - Version 06.00.01" of your video clip also shown the connection problem as below."The Auto option has been disabled as the DotNetNuke Application cannot connect to a valid SQL Server database. You can continue to use either of the other two Wizard options and configure the Database settings at the appropriate Wizard step."When I change back to the former way "localhost with directory", there is no such connection problem. Actually, I really want to setup as the video shown. Is there a way to solve this problem? Thank you!
Re: How to trick your computer to run a domain locally, and why - Video #257 Hi Jim, I got your message:"The problem not able to connect to the mssql server mentioned yesterday has been tackled. I discover that the Server Login needs to match with the Security Login. If Sql Server Authentication is used, both need to be set in the same format. Your videos help me a lot and save me a lot of time. Thank you again! Jim"I'm glad you found the problem!Cheers,Aderson
Hi Jim, I got your message:"The problem not able to connect to the mssql server mentioned yesterday has been tackled. I discover that the Server Login needs to match with the Security Login. If Sql Server Authentication is used, both need to be set in the same format. Your videos help me a lot and save me a lot of time. Thank you again! Jim"I'm glad you found the problem!Cheers,Aderson
Re: How to trick your computer to run a domain locally, and why - Video #257 Aderson,As always... great videos. My question is this. Have you ever seen a "script" or "applet" that will allow a user to switch back and forth between two versions of "Host" files so you can turn off the redirection of your local url? I want to be able to decide if I am looking at my local site or at the actual hosted version when using the URL.ThanksBen
Aderson,As always... great videos. My question is this. Have you ever seen a "script" or "applet" that will allow a user to switch back and forth between two versions of "Host" files so you can turn off the redirection of your local url? I want to be able to decide if I am looking at my local site or at the actual hosted version when using the URL.ThanksBen
Re: How to trick your computer to run a domain locally, and why - Video #257 Hi Ben,Thanks for you comment! You could create 2 simple batch files (.BAT):1 - One To copy over the modified "hosts" with you domain pointing locally;2 - Another one to copy the original hosts file over;Have a look at this link in case you need to understand how to create a batch file: www.makeuseof.com/tag/write-simple-batch-bat-file/ Cheers,Aderson
Hi Ben,Thanks for you comment! You could create 2 simple batch files (.BAT):1 - One To copy over the modified "hosts" with you domain pointing locally;2 - Another one to copy the original hosts file over;Have a look at this link in case you need to understand how to create a batch file: www.makeuseof.com/tag/write-simple-batch-bat-file/ Cheers,Aderson
Re: How to trick your computer to run a domain locally, and why - Video #257 Hi Anderson,I am getting the following error while installationConnection Error(s):Index #: 0Source: .Net SqlClient Data ProviderClass: 20Number: 2Message: The interesting thing is that I have installed DNN yesterday without any errors. Today it again starts from the installation process. I dont know why ?
Hi Anderson,I am getting the following error while installationConnection Error(s):Index #: 0Source: .Net SqlClient Data ProviderClass: 20Number: 2Message: The interesting thing is that I have installed DNN yesterday without any errors. Today it again starts from the installation process. I dont know why ?
Re: How to trick your computer to run a domain locally, and why - Video #257 Hi Subrahmanya,You should check a few things:1 - Is SQL server running?2 - Are the Database user credentials still valid? Maybe you need to reset the password.I'm pretty sure this error is due to some connectivity problems between the site and the database. So try some of those suggestions.Cheers,Aderson
Hi Subrahmanya,You should check a few things:1 - Is SQL server running?2 - Are the Database user credentials still valid? Maybe you need to reset the password.I'm pretty sure this error is due to some connectivity problems between the site and the database. So try some of those suggestions.Cheers,Aderson
Re: How to trick your computer to run a domain locally, and why - Video #257 Oi Aderson,Great article! Could this work in some manner with my DNN development site running on a different server within a network (IIS and SQL) rather than locally on my machine?Mark
Oi Aderson,Great article! Could this work in some manner with my DNN development site running on a different server within a network (IIS and SQL) rather than locally on my machine?Mark
Re: How to trick your computer to run a domain locally, and why - Video #257 Hi Mark,Yes it could. Instead of putting your local IP address on your local hosts file, just put the ip address of your server. Then when you try the site's URL from your computer's browser, it will be pointing to your server's IP.Cheers,Aderson
Hi Mark,Yes it could. Instead of putting your local IP address on your local hosts file, just put the ip address of your server. Then when you try the site's URL from your computer's browser, it will be pointing to your server's IP.Cheers,Aderson
Try DotNetNuke
DotNetNuke Support
DotNetNuke Modules and Skins
Design and Skin Development
Toronto Area DotNetNukeUser Group Grupo de UsuáriosDotNetNuke no Brasil