 |
| Website Design India
Website Hosting India |
|
CALL
US: 09391 32 36 39 Email:
info@websitedesignindia.in |
|
 |
|
|
|
|
|
 |
|
| Programming Support |
| 1. |
|
| 2. |
|
| 3. |
| 3. |
| 4. |
| 5. |
|
| 6. |
|
| 7. |
|
| 8. |
|
| 9. |
|
| 10. |
|
| 11. |
|
| 12. |
|
| 13. |
|
| 14. |
|
| 15. |
|
| 16. |
|
| 17. |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
|
| |
| 1. How to Create email account
in Dot Net Panel |
1. Login to the Control
Panel Provided in your email
2. Mouse over Mail Icon and Click Accounts (See
the below Picture)

3. Click "Create Mail
Account" button.
4. Give Email Address : and select the Main Domain
from the dropdown.
5. Give the "Password" and enter the
same for "confirm password"
6. By defaul the webspace for emails would be
"20MB"
7. Click "Create buttun" and you are
done!
|
| TOP |
| 4. How to Create Database |
1. Login to the Control
Panel
2. Mouse Over "Database" and Click on
"MySql" or "SQL Server 2008"
based on the database you required
3. Click "Create Database" button
4. GIve the Database name and clikc save
5. Do not forget to Create Users for the databse.
|
| TOP |
| 4. How to update the .Net Frame
work version |
1. Login to the Control
Panel
2. Mouse Over Web and Click on Websites
3. Again Click the Domain Name
4. Click on the Tab "Extensions"
5. Select the .NET version from the Drop Down
and Click "Update" button and wait for
the confirmation message for the update.
|
| TOP |
| 4. How to update the .Net Frame
work version |
1. Login to the Control
Panel
2. Mouse Over Web and Click on Websites
3. Again Click the Domain Name
4. Click on the Tab "Extensions"
5. Select the .NET version from the Drop Down
and Click "Update" button and wait for
the confirmation message for the update.
|
| TOP |
|
| |
| 2. How to Check Email from a Browser
Internet Explorer, Ferefox, Crome etc., |
You can check the emails
by opening mail.domain.com.
Replace domain.com with
your actual domain name. |
| TOP |
|
| |
| 1. MS SQL - SAMPLE CONNECTION
STRING (ASP.NET) |
| This is a sample connection
string which you can use with MS SQL 2005 / 2008
under ASP.NET: <connectionStrings>
<add name="connStr" providerName="System.Data.SqlClient"
connectionString="Data Source=localhost;Initial
Catalog=XXXX;User ID=XXXXX;Password=XXXXX;"
/>
</connectionStrings>
For security reasons, we
have changed specific settings with XXXX
NOTE: You MUST include the
full database name, which consit of the user prefix
and the name that you have given, for example
XXX_DB |
| TOP |
|
| 2.
MS SQL - SAMPLE CONNECTION STRING (ASP) |
This is a sample connection
string which you can use with MS SQL 2005 / 2008
under ASP:
<%
dim conn
dim rs
strConn = "Driver={SQL Server};Server=localhost;Database=XXXX;uid=XXXX;pwd=XXXX"
Set cnt = Server.CreateObject("ADODB.Connection")
cnt.ConnectionString= strConn
cnt.Open
%>
For security reasons, we have changed specific
settings with XXXX
NOTE: You MUST include the full database name,
which consit of the user prefix and the name that
you have given, for example XXX_DB |
| TOP |
|
| 3.How
can I connect to my MSSQL database remotely? |
To connect to your MSSQL
database remotely, please use a client that is
capable of communicating with our MSSQL 2008 server
on the TCP protocol. A free client is provided
by Microsoft at: http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displaylang=en
We recommend using Microsoft SQL Server 2008
Management Studio (link above) as many other tutorials
and knowledgebase articles are written around
supporting this free client by Microsoft. Only
the 2008 version will be able to connect to our
MSSQL servers. If you have the 2005 version, please
upgrade. The 2008 client is backwards compatible
with 2005 servers so you will still be able to
connect to your MSSQL 2005 servers with the 2008
version.
|
| TOP |
|
| 3.
Adding .NET Framework v3.5 support |
To add .NET Framework
v3.5 support you need to insert the following
entries in your web.config file. Please make sure
that you insert them in the proper root elements
as they may already exist in the file.
<configuration>
<configSections>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"
/>
<sectionGroup name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"
/>
<section name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"
/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"
/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<add assembly="System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<add assembly="System.Xml.Linq, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<add assembly="System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
</assemblies>
</compilation>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls"
assembly="System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</controls>
</pages>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp"
extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
warningLevel="4">
<providerOption name="CompilerVersion"
value="v3.5" />
<providerOption name="WarnAsError"
value="false" />
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript"
extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider,
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
warningLevel="4">
<providerOption name="CompilerVersion"
value="v3.5" />
<providerOption name="OptionInfer"
value="true" />
<providerOption name="WarnAsError"
value="false" />
</compiler>
</compilers>
</system.codedom>
<system.webServer>
<modules>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0"
newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design"
publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0"
newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
|
| TOP |
|
| |
| 4.
Moving an ASP.NET Application from IIS 6.0 to IIS
7.0 |
When you upload IIS 6
applications to IIS 7 you need to change of the
settings in the web.config . For are detail information
please review: http://msdn.microsoft.com/en-us/library/bb515251.aspx
|
| TOP |
|
| 5. Error when connecting with
MS SQL Managment Studio to MS SQL Server 2008 |
Error when connecting
with MS SQL Managment Studio to MS SQL Server
2008
If you receive Microsoft
SQL Server, Error: 916, when you connect with
Microsoft SQL Studio:
The server principal "XXXXX"
is not able to access the database "XXX"
under the current security context. (Microsoft
SQL Server, Error: 916)
You need to unselect the
Collation for the databases.
1. Navigate to 'Databases' in Object Explorer
and open Object Explorer Details in that context
2. Right click on the column header and unselect
'Collation'
3. Refresh the server in Object Explorer and enumerate
the databases |
| TOP |
|
|
| 6. Manual installation of WordPress
in DotNetPanel |
Step 1: Download the latest
WordPress installation file from the http://wordpress.org/download/
, download it by clicking on "Download" button.
Step 2: You could upload it via
FTP or the DNP control panel File Manager and unzip
the file. For your information, if you upload the file
to wwwroot folder, after the installation is completed,
the file script will appear once you visit your website
is http://yourdomainname.com
Another option is to create a
subfolder in your hosting account and upload the file
in it. The WordPress installation will be accessible
at http://yourdomainname.com/subfolder
Step 3: Create a MySQL database
for WordPress in Do Net Panel.
Step
4: Open the URL http://domainname.com in Internet browser.
Then click on the "Create a Configuration File"
button. Fill in the database detail and site detail
then finish the installation. |
| TOP |
|
| 7. Connect to MSSQL via PHP |
<?php
//Code for connection on Arvixe
$myServer = "localhost\SQLEXPRESS";
$myUser = "Database User Name"; // replace
with your values
$myPass = "Database Password"; // replace
with your values
$myDB = "Database Name"; // replace with your
values
//create an instance of the ADO
connection object
$conn = new COM ("ADODB.Connection")
or die("Cannot start ADO");
//define connection string, specify
database driver
$connStr = "PROVIDER=SQLOLEDB;SERVER=".$myServer.";UID=".$myUser.";PWD=".$myPass.";DATABASE=".$myDB;
$conn->open($connStr); //Open the connection to the
database
?>
|
| TOP |
|
| 8. Connecting to Microsoft SQL Server
2008 R2 Express via EMS SQL Manager for SQL Server |
EMS SQL Manager for SQL Server
is a high performance tool for Microsoft SQL Server
database development and administration. It can be used
as an alternative to Microsoft SQL Server Management
Studio.
# Make sure you have installed
"Microsoft ® SQL Server ® 2008 R2 Native
Client" to download this link http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ceb4346f-657f-4d28-83f5-aae0c5c83d52
The Microsoft® SQL Server®
2008 R2 Feature Pack is a collection of stand-alone
packages which provide additional value for Microsoft®
SQL Server® 2008 R2.
Microsoft SQL Server 2008 R2 Native
Client (SQL Server Native Client) is a single dynamic-link
library (DLL) containing both the SQL OLE DB provider
and SQL ODBC driver. It contains run-time support for
applications using native-code APIs (ODBC, OLE DB and
ADO) to connect to Microsoft SQL Server 2000, 2005,
or 2008.
SQL Server Native Client should
be used to create new applications or enhance existing
applications that need to take advantage of new SQL
Server 2008 R2 features.
This redistributable installer
for SQL Server Native Client installs the client components
needed during run time to take advantage of new SQL
Server 2008 R2 features, and optionally installs the
header files needed to develop an application that uses
the SQL Server Native Client API.
|
| TOP |
|
| 9. Do you allow remote MSSQL access?
|
Yes. We do allow remote access
to the MSSQL. It is offered on the regular port 1433.
|
| TOP |
|
| 10. Do you have a connection string
I can use to connect to the local MSSQL database? |
Yes. Please use the following
connection string and fill in the necessary spots with
your database's information:
<add name="strConn"
connectionString="Data Source=localhost;Initial
Catalog=DBNAME;Integrated Security=false;User ID=DBUSERNAME;Password=DBPASSWORD"
/>
DBNAME is what you specified as
your database name in the control panel
DBUSERNAME is the username you created to connect to
the database (and was associated with the database in
the control panel)
DBPASSWORD is the password you associated with the username
above
An example script:
<%@ Import Namespace="System.Data.SqlClient"
%>
<%
Dim conn As SqlConnection
Dim sqlQuery As SqlCommand
Dim dtrTbl As SqlDataReader
conn = New SqlConnection( "Server=localhost;uid=USERNAME;pwd=PASSWORD;database=DBID"
)
conn.Open()
sqlQuery = New SqlCommand( "Select COLLUMN_NAME
From TABLE_NAME", condDBID)
dtrTbl = sqlQuery.ExecuteReader()
While dtrTbl.Read()
Response.Write(“<li>" )
Response.Write(dtrTbl( "COLUMN_NAME" ) )
End While
dtrTbl.Close()
conn.Close()
%>
|
| TOP |
|
| 11. Error 916 for Microsoft SQL Server
Management Studio |
If, when opening Microsoft SQL
Server Management Studio, you receive the following
error: The server principal <username> is not
able to access the database <databasename> under
the current security context. (Microsoft SQL Server,
Error: 916)
The following steps should fix
the problem:
1. In Object Explorer, click Databases
2. Display “Object Explorer Details” (F7)
or “View –> Object Explorer Details”
3. Right click the column headers and deselect “collation”
4. Refresh Databases
|
| TOP |
|
| 12. Fix for Error: This server version
is not supported. Only servers up to Microsoft SQL Server
2005 are supported. |
For users using Visual Studio
2005 with an SQL 2008 database, you may run into the
following error:
This server version is not supported.
Only servers up to Microsoft SQL Server
2005 are supported.
If you have a specific need Visual
Studio 2005 which Visual Studio 2008 does not provide
you, then you should be able to by pass this error by
running the following hotfix provided by Microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e1109aef-1aa2-408d-aa0f-9df094f993bf&displaylang=en
|
| TOP |
|
| 13. How can I connect to my MSSQL database
remotely? |
To connect to your MSSQL database
remotely, please use a client that is capable of communicating
with our MSSQL 2008 server on the TCP protocol. A free
client is provided by Microsoft at: http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displaylang=en
We recommend using Microsoft SQL
Server 2008 Management Studio (link above) as many other
tutorials and knowledgebase articles are written around
supporting this free client by Microsoft. Only the 2008
version will be able to connect to our MSSQL servers.
If you have the 2005 version, please upgrade. The 2008
client is backwards compatible with 2005 servers so
you will still be able to connect to your MSSQL 2005
servers with the 2008 version.
|
| TOP |
|
| 14. SQL Management 2008 Error: `Saving
changes is not permitted.` |
Are you getting this error when
you try to change any of the information in your database?
Saving changes is not permitted.
The changes you have made require the following tables
to be dropped and re-created. You have either made changes
to a table that can't be re-created or enabled the option
Prevent saving changes that require the table to be
re-created.
To fix this error, go to
*Tools* -> *Options* -> *Designers* -> *Table
and Database Designers* and uncheck the Prevent saving
changes that require table re-creation checkbox. This
will remove the block that was enabled.
|
| TOP |
|
| 15. What is the instance name of MSSQL
on the local server? |
The instance name of the MSSQL
2008 server on any of our Windows accounts is "SQLEXPRESS".
This is good to have when trying to connect to the specific
instance locally when the instance was not installed
as the Default Instance on the server. Please refer
to the knowledgebase article on classic ASP connection
strings in the ASP .NET category for more information.
|
| TOP |
|
| 16. How to create Subdomains in Dot
Net Panel? |
Login to the Hosting control
panel
1. Click Domains
2. Click Add Domain
3. Click Sub-domain
4. Give the Sub Domains Name Example "Forum"
5. Click Add Domain
You are Done!
|
| TOP |
|
| 17. Send a mail from .NET |
To send an email from .NET, use
this code:
Dim msg As New MailMessage("to@example.com",
"<emailaddress in your domain>")
msg.Subject = "Subject here"
msg.Body = "Body here"
Dim client As New SmtpClient("localhost")
client.Credentials = New Net.NetworkCredential("<email
address in your domain>", "<password
of this emailaccount>")
client.Send(msg)
C# Version
System.Net.Mail.MailMessage eMail
= new System.Net.Mail.MailMessage();
eMail.IsBodyHtml = true;
eMail.Body = body;
eMail.From = new System.Net.Mail.MailAddress(fromEmail);
eMail.To.Add(toEmail);
eMail.Subject = subject;
System.Net.Mail.SmtpClient SMTP = new System.Net.Mail.SmtpClient();
SMTP.Credentials = new System.Net.NetworkCredential("user","pass");
SMTP.Host = "localhost";
SMTP.Send(eMail);
|
| TOP |
|
| 18. What connection string should I
be using for my DNN (DotNetNuke) Installation? |
Inside
your web.config, please make sure your connection string
looks similar to this:
<add name="SiteSqlServer" connectionString="Data
Source={local}; Initial Catalog=DB_NAME; User ID=DB_USERNAME;
Password=DB_PASSWORD;" providerName="System.Data.SqlClient"
/>
or
<add name="SiteSqlServer" connectionString="Data
Source=localhost; Initial Catalog=DB_NAME; User ID=DB_USERNAME;
Password=DB_PASSWORD;" providerName="System.Data.SqlClient"
/>
Of course DB_NAME, DB_USERNAME and DB_PASSWORD would
have to match the username and database you've created
through the control panel.
|
| TOP |
| 19. |
Related
documents:
1. Download IIS Manager for Remote Administration
2. How to install Internet Information Services (IIS)
7 Manager
Vision Studio offers Remote IIS Management with all
ASP/ASP.NET packages. To make a remote IIS Management
username, use the “Management” tab in your
control panel. The tab is located under the website
properties of the website you wish to manage.
Now follow these steps to make the connection from
your PC
* Open Internet Information Services (IIS) 7 Manager
* Click on Connect to site… (picture 1)
Click Image to enlarge
Enter the Server name (you can
use your domain name or the server’s alternate
address or even the shared IP of the server)(picture
2) and click Next.

Click Image to enlarge
Now put in the User name and Password
as we provided them to you for this (picture 3) and
click Next.

Click Image to enlarge
A popup will appear about the
Server Certificate Alert. Click on Connect to continue.
Now give the connection a name
(picture 5) and click Next.
Click Image to enlarge
That’s it, you’re
now connected! (picture 6)
Click Image to enlarge
|
| TOP |
|
| 20. SMTP Details for Dot
Net Panel Hosting |
Incoming
Mail Server (POP or IMAP): mail.domainname.com
Alternate: mail.pink.mysitehosted.com
Outgoing Mail Server (SMTP):
mail.domainname.com
Alternate: mail.pink.mysitehosted.com
Username: you@domainname.com
(this must have been setup in the control panel already)
Password: (the password entered when you setup your
e-mail account)
Extra Information (Advanced): To use SSL, please use
the following ports - POP: 995, IMAP: 993,
(Advanced): SMTP: 465
|
| TOP |
| 21. |
This post
will give you step by step instructions on how to fix
the server principal error in Microsoft SQL Server Management
Studio. The error you are getting is a bug/security
issue in the latest Microsoft SQL Management program.
You can find a tutorial on how to set up a database
here and you can find a tutorial on how to use Microsoft
SQL Server 2008 here. After logging in with the proper
user name, password and database name (which you specified
in the DotNetPanel), you will need to follow these instructions:
1) Click “View” and
then “Object Explorer Details”. You could
also hit the F7 key on your keyboard.

2) Double click on the “Databases”
folder.

3) Right-click on the column header
“Policy Health State”.

4) Deselect the option “Collation”.

5) Click “Refresh”.

6) Your window should now look
like this.

This concludes how to fix the server principal error
in Microsoft SQL Server Management Studio.
|
| TOP |
|
| |
| |
|
| Other
Packages on Linux Server |
|
| Server
Configuration |
We stay
on top of the latest technologies, and try to utilize
the latest server hardware specs available on the current
market.
We are currently utilizing the latest Dell PowerEdge servers
with at least a minimum of:
1) Dual Quad Core Xeon CPUs
2) 8GB of RAM
3) Redundant (RAID) SAS (SCSI)
15K RPM drives
Our Server are monitored 24/7, using the latest technologies
available, and apply strict security policies to make
sure that your information is always available to you
and your clients while maintaining safety and confidentiality.
Our data centers (SAS 70 Type II Certified, located
in Dallas and Houston, Texas) are equipped with multiple
backbone Internet lines, backup power diesel generators,
backup tape libraries, 24/7 surveillance ensuring speed,
safety, and redundancy.
|
|
|
|