How to Properly Configure web.config Connection String and Source

Some of our users were facing connection problems after deploying their Asp application in our servers. This was due to the fact of a bad web.config configuration. In this article, I will give you a step by step guide on how to properly configure web.config to work with your ASP application.

Web.config file is the main configuration settings for a Web application in ASP.NET. The file is an XML document that defines configuration information regarding the web application. The web.config file contains information that control module loading, security settings, configurations session state, compile and the language of the application. Web.config files can also contain specific objects such as connection strings to the database.

First, let’s Initialize the file: Learn More

Tags: , , , , , , , , , , , | Posted under ASP .NET 3.5, DotNet/Windows Hosting | 3 Comments

nopCommerce Tips: Adding a Custom 404 Page

It’s highly recommended for a website to have a customized 404 page. Customized 404 pages provide an opportunity to re-direct site visitors to areas of interest and focus, and maintain branding visibility. At this time, nopCommerce (2.65) doesn’t have a built-in 404 customization solution. However, there is a way to implement one, using the MVC framework nopCommerce is based on.

I’d like to express my appreciation to nopCommerce forum user “Threadrock“, who posted the link to Dave Bouwman’s how-to article “Custom 404 Pages for ASP.NET MVC 3“.  In this article, Dave Bouwman covers the steps to create your custom 404 route for an MVC solution. Since nopCommerce is based on Asp.Net MVC, you’ll find the detailed explanation to be very helpful. In the following summary, it’ll be assumed that you’re working from Visual Studio 2010, working on the source version (which can be downloaded from here).

To cover the highlight steps: Learn More

Tags: , , , , , , , , | Posted under nopCommerce | Leave a comment

How to Publish Your ASP Application Using FTP Method in Visual Studio

On a previous post, we showed you how to publish your application with Web Deploy. However some of our users were experiencing issues with Web Deploy and were looking for an alternative way to publish their applications. In this article, I will give you a step by step guide on how to publish your ASP Application using FTP Method in Visual Studio

1. First, create a virtual directory. This is where your application will be installed. If you don’t know how to create one, please read this article Learn More

Tags: , , , , , , , , | Posted under ASP .NET 2, ASP .NET 3.5, DotNet/Windows Hosting | 2 Comments