• Do we need to create a cgi-bin directory to run PERL cgi files?

    With Windows based hosting any folder can be used as a CGI-BIN or scripting folder. Simply create a folder with your name of choice (be it cgi-bin, cgi, scripts, etc) and publish your CGI scripts there, or run them from any publicly accessible directory. <!– –>

  • Why is it telling me a potentially dangerous Request.Form value was detected?

    ASP.NET versions 1.1 (and higher) contain the feature request validation, which prevents the server from accepting content containing un-encoded HTML. This feature is designed to help prevent some script-injection attacks whereby client script code or HTML can be unknowingly submitted to a server, stored, and then presented to other users. We still strongly recommend that […]

  • Why am I getting the error “provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified?”

    ERROR MESSAGE   An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) RESOLUTION   This error […]

  • What is the aspnet_client folder for?

    The aspnet_net folder is required to run ASP.net on your site. If you do not run ASP.net on your site you may safely delete this folder. <!– –>

  • What is ASP.net?

    The Microsoft® .NET Framework makes the Internet a true distributed computing platform, providing a framework that enables computers, devices, and services to collaborate. “Microsoft® .NET is the Microsoft XML Web services platform. XML Web services allow applications to communicate and share data over the Internet, regardless of operating system, device, or programming language. The Microsoft […]

  • Is ASP.net case sensitive?

    Yes the web.config file as well as Import directives and other portions of ASP.net are case sensitive. If you are using a case insensitive programming language some of this may change. Please consult the .NET Framework documentation for more details on this matter. <!– –>

  • How to fix Server Error in ‘yourApp’ Application

    Part 1: Take a look at the error you are getting. it should tell you what the error is. As detailed in the error page above, the current settings are configured to not show detailed errors. So that you can troubleshoot your issue follow the steps below to turn custom errors off:   Part 2: […]

  • How do I send email using ASP.NET?

    Simply copy the code below and save it as textemail.aspx C# Version <%@ Page Language="C#" %> <%@ Import Namespace="System.Net.Mail" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server">  protected void btnSubmit_Click(object sender, EventArgs e)  {   try   {    MailMessage message = new MailMessage(txtFrom.Text, txtTo.Text, txtSubject.Text, txtBody.Text);    SmtpClient emailClient = new […]