Archive for the ‘Scripting’ Category

Install DNN in few easy steps

You can install DNN either in the root folder of the website or under any folder say dnn under your website .

1) Download DNN installtation zip file from DotNetNuke site and extract it under the root folder or any other folder where you want to install dnn .

2) The IUSR should have write as well as modify permission on the folder where you are installing DNN

3) Now create a MSSQL database , database user and password

4) Before browsing the website in the browser and proceeding with the installation make following changes in the web.config file to make the installation easier

Comment the 2 attach database connection strings

Note : Please note that the connection string starts with <>

a) add name=”SiteSqlServer” connectionString=”Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Data base.mdf;” providerName=”System.Data.SqlClient”

b) add key=”SiteSqlServer” value=”Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Data base.mdf;”

Use the following 2 connection strings

a) add name=”SiteSqlServer” connectionString=”Server=IP of the database server;Database=databasename;uid=databaseuser;pwd= password;” providerName=”System.Data.SqlClient”

b) add key=”SiteSqlServer” value=”Server=IP of database server;Database=databasename;uid=databaseuser;pwd= password;”

5) Now browse the website and select auto installation and click next , DNN will be installed on the website .


In What language is Notepad and MS Word written.

Notepad and MS Word are written in C language.

Difference between a Compiler and an Interpreter

Once you have written a program you need to type it and instruct the machine to execute it. To type your program you need another program called Editor. Once the program has been typed it needs to be converted to machine language (0s and 1s) before the machine can execute it. To carry out this conversion we need what is called Compiler .

A compiler compiles the whole program into a language understandable to the machine or your computer and an Interpreter converts the program  line by line into a language understandable by the machine or your computer.

Compiler vendors provide an Integrated Development Environment (IDE) which consists of an Editor as well as the Compiler.
There are several such IDEs available in the market targeted towards different operating systems. For example, Turbo C, Turbo C++ and Microsoft C are some of the popular compilers that work under MS-DOS; Visual C++ and Borland C++ are the compilers that work under Windows, whereas gcc compiler works under Linux.

(adsbygoogle = window.adsbygoogle || []).push({}); //--> Feedjit Flag Counter