Web Development

Windows and Linux-based Web development: PHP – Node,js – ASP.NET – C#
IIS – Apache / Visual Studio – Atom – Notepad++

Store ASP.NET User Security Inside Your SQL Database

2017/11/21
By
Modified: 2017/11/05

How to move all ASP.NET security tables to your custom SQL database and how make it all work together. Consists of three steps: -01- Create security tables in your current custom database; -02- Generate a machine key -03- Modify web.config

Read more »


XML Parsing Error in Firefox; Cannot Display This Feed in IE

2017/11/19
By
Modified: 2017/11/05
Firefox-XML-Parsing-Error

This article describes, how to fix RSS Feed error messages in WordPress. In Firefox the error is “XML Parsing Error”.  In IE you see “Internet Explorer cannot display this feed”.   Symptoms When you click on RRS link in WordPress (or bbPress), you are getting this error message (see images bellow).  The message is different depending on your browser. Firefox Internet Explorer XML Parsing Error: XML or text declaration not at start of entity  Location: http://www.domainwebcenter.com/wp-content/bbpress/rss.php?topic=29 Line Number 4, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?>   Internet Explorer cannot display this feed  This feed contains code errors. Go back to the previous page. More information Invalid xml declaration. Line: 4 Character: 3 <?xml…

Read more »

Moving Old ASP Sites to 2008 Server, IIS 7, and SQL 2008

2017/11/13
By
Modified: 2017/11/12
IIS75-ASP-is-not-Installed

It was time to move many sites from W2K3 Server (Windows 2003 Server) and SQL 2000 Server to a new W2K8 Server (Windows 2008 Server) and SQL 2008 Server.  And if I ever have to do it again, I will check with these notes. The greatest secret in technical life (and may be wider) is to change before you have to.  Anticipate and change before circumstances force you.  For a long time I was planning this migration, but I didn’t expect to go through so many hurdles and error messages.  Luckily, I found solutions that seem logical and clean.  So, let’s go into step-by-step details. COPY DATABASE AND SITES – Backup…

Read more »

Block Remote Comments on a WordPress site

2017/11/12
By
Modified: 2017/11/05
Ban Remote Comments on a WordPress site

How to block remote comments on a WordPress site?   How indeed?   Here is a question for all of you – WordPress masters out there.   Right now I am a bit puzzled. Problem – Comments without Visits I am noticing that people are posting a spam comments in a very tricky way.  Somehow comments arrive with Site URL field populated, but I do not even have that field on the “Leave a Comment” form. It means that there is an automated way to send a comment without actually visiting the site.  Is it true?  I am searching all over the Internet right now. Looks like there is a product out there called CxxGxx. …

Read more »

How to make favicon.ico to work in IE

2017/11/09
By
Modified: 2017/11/05
favicon.ico Works in IE8

Did you notice that some sites have an icon next to the address in your browser?  And this icon will be saved next to the link, if you add the site to your Favorites. This article is about how to make this icon to appear not only in all other web browsers, but also in IE8. This article is a response to a great many  blogs, and comments, and posts.  People are complaining that, if you place favicon.ico in the root of your site, it immediately works for Firefox, but stubbornly will not work in IE8.  I hope  I am providing here a comprehensive answer on how to solve this problem.…

Read more »

IIS Reverse Proxy. It Even Works. Can’t Modify HTTP Response Headers.

2017/10/30
By
Modified: 2017/10/31
IIS-Reverse-Proxy

Description of a Problem You have a custom WEB application that runs inside your enterprise on some internal server and on some custom port.  How to make this application accessible from outside through a published HTTP link on port 80?   Proposed Solution On your production IIS server you create a directory that is accessible from outside on port 80.  Then you configure a Reverse Proxy solution described here.  This way neither you, nor your clients have to open custom ports on their firewalls.   How Does It Work IIS server receives HTTP request on port 80 through corporate firewalls. It then translates request according to routing rules to a destination on…

Read more »

How to limit a WordPress plugin to just one page?

2017/10/22
By
Modified: 2017/09/16
How to limit a WordPress plugin to just one page?

How to limit a plugin to just one page, or a few pages?  How to load a plugin only where you need it? I encountered a problem, where plugin Contact Form 7, if activated, would slow down entire WordPress site to a crawl.  Contact Form 7 is great, and I want to continue to use it.  However, this one plugin makes every page load to the count of 13 or 14.  Without it, every page loads to the count of 2 or 3.  What can I do? The solution turns out to be a very simple one.  Simply disable entire plugin unless you are loading certain pages that require this plugin.…

Read more »

How to Install WordPress 4.X on Windows 10 and IIS 7.5

2017/10/20
By
Modified: 2017/09/16
Pick-IIS-FastCGI-Option

This article is written for those who need to test/evaluate features of new WordPress release on a local machine before rolling it out to all the serves. This article describes running PHP on IIS 7.5 through FastCGI. For best results, reader is required to be able to start and stop services, understand registry manipulations, be comfortable with copy and paste inside a command prompt (Alt+Space, E, P). To achieve better portability, try to match your test machine directory structure as close as possible with your server. Other IIS Features to Pick If you are planning to test old ASP sites on the same machine, you also need to pick: - ASP…

Read more »

Moving a IIS WordPress Site to Amazon EC2 (New Prices!)

2017/10/16
By
Modified: 2017/11/12
RDP-Options

What is Wrong with Home Server? After a RAID drive hiccup on my local Windows 2008 Server, I was more inclined to consider an external hosting options.  And one of my friends already uses Amazon hosting for at least 4 years now.  So I decided to invest some time to explore this option.   What is Covered Here? – Terminology – Pricing – How to  extract your original ADMIN password – How to open a Custom Port on My Amazon Server – How to transfer files using RDP – How to launch an instance with Instance Store – What if I am Using SQL Express and need a regular D/B Backup…

Read more »

Amazon Linux Apache 2.4 reverse proxy with SSL to serve Node.js application

2017/10/09
By
Modified: 2017/10/09
SSL Test Report

Recently, I spent about 36 hours researching, and thinking, and trying, and learning a lot about Apache server before I could crack this one.  After I found a solution, a had a long <VirtualHost> entry.  In this article I present only entries that are required for reverse proxy to work and your Node.js app still to be aware of client IP address. Problem: You want Apache 2.4 to be your front end for your Node.js application.  All the transaction should occur over HTTPS. Your visitors do not have to specify a post number in URL. I do not cover here: – how to install and configure Node.js; – how to get a…

Read more »

SQL Error 80004005 – “Specified SQL server not found” – Solved

2017/10/08
By
Modified: 2017/09/16
SQL CFG Manager - Enable TCPIP

  Environment ASP or ASP.NET site is running on IIS 7.5. SQL Server 2008 R2 Express (10.50.1600.1) running on Windows 2008 Server R2 (W2K8 R2) x64.     Problem You will see one of two errors depending on whether you dealing with ASP or ASP.NET sites. On ASP.NET sites you will see  “Server Error – Error: 26 – Error Locating Server/Instance Specified” Server Error in '/YourApps' Application. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26…

Read more »