skhan's blog

Solving DNN deployment issues, Redirecting to localhost and Running DNN in a different port

I was trying to host a small DNN application in one of our Server and I was facing couple of  issues.

Problem 1:
The first problem I faced is it was always redirecting to localhost, whenever I tried http://domain.com/dnn it was redirecting to http://localhost/dnn as a result the site was un-accessible from outside.


Solution

Dotnet Nuke Tips: Two common error while writing the SqlDataProvider

Two common errors done while writing the SqlDataProvider SQL are

1. Not saving the file that contains SqlDataProvider SQL codes in the correct format. A quick trick is to open the files in NotePad and save them as "Unicode".

2. Not putting atleast 2 line breaks after each GO statement in the SQLDataProvider SQL code.

Hope this helps.

Asp.Net Ajax Debugging

Dan Walhin made this good video tutorial to show us steps needed to debug client side script : Video : Debugging ASP.net Ajax Application with Visual Studio 2005 Basically, The following steps need to be performed Step 1: Need to tweak IE to enable client script debugging : Go to Tools > Internet Options > Advanced and uncheck both "Disable script debugging (Internet Explorer)" and "Disable script debugging (Other)" .

About Me: Shahed Khan

I was born in Bangladesh, and recently moved to Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net). I have been programming with C# since its alpha release. Previously I worked with Delphi and Pascal. I was just awarded a Microsoft MVP, in Visual C#. This is awarded because of the work that I have done with the Bangladesh .NET community and also my articles at Code Project.
Syndicate content