How to use membership system in ASP.NET project?
If you want to add membership capabilities (register, log in, managing roles etc.), to your web page, follow the post below. You must have noticed that there are “Log in” and “Register” links in the...
View ArticleAllowing user to download a file in ASP.NET web page
There are two ways to allow your end-users to download a file from your web site: Uploading the file to a FTP server then showing the link Starting the download in user’s browser without having user...
View ArticleHow to send emails using Gmail in C# and ASP.NET
Sending emails in your .NET applications requires right SMTP server configuration (it is Gmail in my case). I will use my Gmail address and password to succeed it. First of all, you need to import...
View ArticleHow to send a post to your WordPress blog in C# and ASP.NET
XML-RPC service is used to send posts to WordPress blogs remotely. You can download the corresponding .NET library from here: http://xml-rpc.net Add this library as a reference in your Visual Studio...
View ArticleHow to upload a file via FTP in C#
I will be showing how to upload a file via FTP by using .NET Framework’s native libraries. The libraries we need are: using System; using System.IO; using System.Net; using System.Text; The code block...
View ArticleResolution for the error “ManagedPipelineHandler” in IIS
If you try to publish an ASP.NET web site in a computer on which ASP.NET wasn’t completely installed, you may face this annoying error: HTTP Error 500.21 – Internal Server Error Handler...
View ArticleResolved: OneNote doesn’t sync and keep asking SkyDrive username and password
OneNote was prompting me annoying log in window for a while. Even though I entered my credentials correctly, It was asking them again and again. This is why this problem occurs (in my case): I signed...
View ArticleHow to clear AD RMS super user group membership cache
Active Directory Rights Management Services (AD RMS) is an information protection technology. One of the areas in which AD RMS becomes useful is that preventing leakage of sensitive information that...
View ArticleHow to resolve “No logged on Office users are configured for Information...
IRM is used to protect emails and documents against information leakage. Users in your company can use IRM by choosing an IRM template in New Email window at Outlook. However, they may get this error...
View ArticleHow to debug PHP projects in Eclipse?
Debugging is one of most important features that an IDE should have. In Eclipse, debugging is built-in for Java but not PHP. Keep reading this post for enabling debugging for PHP. First of all, you...
View ArticleResolved: Truncation error on SQL Server Import and Export Wizard
You may run into this annoying error while exporting Excel data to SQL Server database: Executing (Error) Messages Error 0xc020901c: Data Flow Task 1: There was an error with Source –...
View ArticleResolved: Port 3389 is not being listened on Windows 8
I wasn’t able to make remote desktop connection to my fresh installation of Windows 8. After running “netstat -an“, I noticed that port 3389 which is required for remote destop connection isn’t being...
View ArticleCalculating the remaining character count in TextBox in ASP.NET
In order to show your users how many characters they can enter in a specific TextBox, use the code below. I used ASPxMemo which is a component from DevExpress but it is similar in regular TextBox of...
View ArticleResolved: Error while using apt-get: “Failed to fetch. Not Found [IP:...
Ubuntu has a great tool named apt-get to install and manage applications. However, if you’re using old version of Ubuntu, you may run into this error: Failed to fetch...
View ArticleProtection against malware for your Ubuntu server
If you want to have more secure server against viruses, rootkits, trojans and other type of malware, I recommend these three packages: ClamAv (Anti-virus) # Install: sudo apt-get install clamav #...
View ArticleBandwith monitoring for Ubuntu server
If you’re using a hosting account, you will probably have a monthly bandwidth limit. You may be charged for over-use. To monitor your bandwidth, you can use vnStat. # Install: apt-get install vnstat...
View ArticleWorking with big XML files
Text editors you use daily may have trouble to open big XML files that are over 100 MB. Use the tricks and applications in this page to sort this problem out. Trick 1: Use the browser! If you just want...
View ArticleSolved: “Application trust level” error on ASP.NET pages
You may come across this error when you run your ASP.NET application first time: Description: The application attempted to perform an operation not allowed by the security policy. To grant this...
View ArticleHow to create database tables for ASPxScheduler?
DevExpress ASPxScheduler component requires you to create two tables for appointments and resources. The script below will create those tables for you. Then you will need to add them to SqlDataSources...
View ArticleJSON read/write operations with a remote server using HTTP POST in C#
In order to accomplish read/write operations with JSON, you will need a library. Json.NET is a fast and well-documented library that you can use for free. Add Json.NET DLL file into Resources of your...
View Article