Archive for October, 2009

How to connect SQL Server Database?

To connect your database from your local machine by using SQL Server Management Studio, you need to install SQL Server 2008 Express Edition (available free of cost by Microsoft).

If you have already installed SQL Server 2005 on your local machine, then please install SQL Server 2005 Service Pack 3.

We also suggest you to please download SQL Server 2008 Express Edition Runtime with Management Tools flavor from Microsoft website.

Step # 01 – Install SQL Server 2008 Express on your local machine from the url  http://www.microsoft.com/express/sql/download/ by following installation wizard’s instructions.1

Step # 02 – After the installation, please open SQL Server Management Studio (SSMS) by selecting the start button.
Navigate Programs > Microsoft SQL Server 2008 > click on SQL Server Management Studio

2

Step # 03 – Please enter the database(DB) IP, User Name and Password (refer – to the snapshot).

3

Under the Server Name please enter DB Public IP which is available @ Net4.in > Under Data Base Control Panel. Please select SQL Server Authentication and then enter DB Login and Password.
All this information is available on control panel. Please log on www.net4.in by Login your CRN ID and Password.

4

Active Server Pages, ASP 0131 Disallowed Parent Path

Active Server Pages, ASP 0131
Disallowed Parent Path
The Include file ‘../’ cannot contain ‘..’ to indicate the parent directory.
//, line

This error occur, if your web application is using relative path which is including statements with Microsoft’s Active Server Pages (ASP) and the browsing on a Web page there by returns an error message similar to the one displayed above.

This is caused by disabled ASP’s “parent paths” in IIS 6 for a Web site or application while using relative parent paths in an include statement. Enabling ASP’s “parent paths” may constitute a security risk (view of the hackers able exploid this ) because an include path can access critical or confidential files outside the root directory of your web application.

Relative Parent Paths includes statements in the following form:
<–#include file=”../<filename.ext>”–>

The best solution towards this issue is to use absolute virtual paths from the root of the Web site instead of Relative Paths.
The syntax example below illustrates how to implement absolute virtual paths:
<!–#include virtual=”/<virtual path>/<filename.ext>”–>

There by, we request you to make appropriate modifications in your application code to take advantage of the better, robust and more secure environment provided by IIS 6 and avoid the usage of Realtive Paths.

Tags: ,

How to trouble shoot – FTP Issues.

The steps to Trouble shoot FTP issue -

Step1. Please check the domain name and the FTP server IP address on which you would like to host your domain name on (Available @Net4.in Control Panel).

Step2. Verify you domain name is pointing to given IP address in the Panel or not.

For example : Your domain name is net4india.com and FTP server IP address is 202.71.129.26. The steps to check the IP to the said domain name is : To DO A NS Lookup from your Desktop and check whether your domain name is pointing to the right IP address or not.

image001

Incase the said domain name is not ponting to the required IP address, you can still FTP for your domain name via the hosting IP address only and connect to upload.

Step3.

Once you reach the command line as mentioned below type c:\> ftp 202.71.129.26 you shall be able to view the welcome message (Check image below).

image002

As per the image – now you are ready to upload the contents for which you shall be requiring A FTP CLIENT along with Login and password details where by you shall be able to upload easily.

There are many FTP clients available online. To download  any FTP client like such Cuteftp, Filezilla ,Smartftp, Cuteftp the steps are as follow :  http://www.cuteftp.com

Filezilla:  http://filezilla-project.org/download.php?type=client ,

Smart Ftp:  http://www.smartftp.com/ or any other favorite FTP client.

** Please use Explicit TLS/SSL option and Passive mode setting in your FTP client.

To locate the option Check out following documents:

http://net4.in/net4app/docs/ftps_filezilla.doc

http://net4.in/net4app/docs/ftps_cuteftp.doc

OR you can also use our web based FTP Panel http://webftp.net4india.com

Q. How to get a FTP USERNAME and Password ?

Once you place an hosting order @ Net4. in you receive a welcome message that contains all details like FTP User Name, Password and Server IP to connect.
(Initially you can Use the IP address for FTPing until the domain name is not ponited to the said address and after DNS changes you can use your own domain name as User Name).

Incase you do not receive the update on mail, you have an option to log on to Net4.in by using your CRNID and PASSWORD. Please select Hosting > FTP Details > and it shall display your FTP details – Username/ Password along with the IP address.

It also allows you to change the password.
(It is highly recommended to change the password as soon as you receive your ftp details).

Q. I am behind the firewall and having broad band connections.  How to connect ?

We request you to please connect via Passive mode and make sure that the port 21,20 and 50000 to 50040 are open from your firewall. Incase of an issue you can also use our web based FTP service http://ftp.net4india.com to connect from web browser.