Quantcast
Channel: port135.com
Browsing all 306 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Allowing 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Resolution 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 Article

Image may be NSFW.
Clik here to view.

Resolved: 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

Resolved: 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 Article

Image may be NSFW.
Clik here to view.

Resolved: 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 Article

Image may be NSFW.
Clik here to view.

Calculating 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 Article


Image may be NSFW.
Clik here to view.

Resolved: 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 Article

Image may be NSFW.
Clik here to view.

Protection 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 Article


Image may be NSFW.
Clik here to view.

Bandwith 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 Article

Image may be NSFW.
Clik here to view.

Working 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 Article


Image may be NSFW.
Clik here to view.

Solved: “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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

JSON 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
Browsing all 306 articles
Browse latest View live