How to Set Up ASP detailed error message

I often encounter a 500 Error prompt when my website cannot be opened, which makes people unable to cope with the problem. How can I view the detailed error prompt and find the error? Next, we take Windows XP as an example. 1. Open IE and select

Code for adding watermarks to ASP Images

CopyCode The Code is as follows: 'text watermark Function wordwatermark (ImagePath) Dim image Set image = server. Createobject ("persits. jpeg") 'creates an object Image. Open Server. mappath (ImagePath) 'image location Image. Canvas. Font. Color = &

Asp.net code for uploading images to the database

Database: stores the binary data storage fields of images. Front-end: CopyCode The Code is as follows: Background: Copy code The Code is as follows: using system;Using system. Collections. Generic;Using system.

Asp.net textbox javascript implements enter and ctrl + enter interchange text boxes to send messages and line breaks (similar to QQ)

1. It may be a bit elementary to explain. I hope that the experts will not "spray" me, because I know that not everyone is a master, and I am afraid that the experts will say that I have installed 13; 2. If there is anything wrong with it, I hope

Share an asp.net pager Control

Effect: Js: Copy codeThe Code is as follows: $. fn. extend ({JPager: function (cfg, pageIndex, pageSize ){ If (cfg & pageIndex> 0 & pageSize> 0 ){ Var token = "#" + this. attr ("id "); This. empty (); Var pageFirst = function (){ $ (Token). JPager

Asp.net (read/write lock)

Most problems are as follows: 1: write some content to a file and report an exception when reading the file content in another process, thread, or subsequent operations.System. IO. IOException: the file "XXX" is being used by another process, so

Asp.net deleting project files/folders IIS restart, Session loss issues

After careful consideration, the ticket returned by SSO is also different, and the original IIS is restarted. The final solution is as follows: Create a class that inherits the IHttpModuleCopy codeThe Code is as follows: // /// Stops the ASP. NET

Asp.net BackgroundWorker: download files in the background

Example: The following code example demonstrates how to use the BackgroundWorker component to load an XML file from a URL. When you Click the "Download" button, the Click event handler calls the RunWorkerAsync method of the BackgroundWorker

Pseudo-static implementation code of ASP. NET MVC3

Now let's take a look at the first step, how to define your own routing rules to meet the pseudo-static functional requirements. The basic implementation principles are as follows: First, about the namespace. The Routing function is used for all

Analysis on 10 causes of Asp. Net site restart

1. Reclaim the application pool will cause the site to restart. The reason for recording is: HostingEnvironment initiated shutdown HostingEnvironment caused shutdown 2. modifying the application pool recycle rule will cause a restart. Record the

Asp statistics implementation code/Article daily, weekly, monthly, and total visits

Copy codeThe Code is as follows: '// Hittime date type: Get the last access time '// Hits numeric type: obtains the total page views. '// Hitsday numeric type: get today's page views '// Hitsweeks numeric type: Get the page views of this week '//

Add an ASP-based upload handler for SWFUpload.

However, as asp gradually fades out of web development, the official website only provides upload processing programs for. net, php, and other versions. for asp developers, they need to process the server-side data reception on their own. When I

Asp simple static generation method (template tag replacement)

CreateHtml Generate all articles with high resource usage Method 1: Copy codeThe Code is as follows: 'start HTML Generation Method Set Rs = Server. Createobject ("Adodb. Recordset ") SQL = "Select KQIQI_ID, KQIQI_Title, KQIQI_Pinyin, KQIQI_Explain,

Asp.net session loss solution Summary

Now I will write down the cause and solution. Cause of ASP. NET Session loss:Because the Asp.net program is configured by default, the Session settings in the Web. Config file are as follows: The sessionState label has an attribute mode. It can

URLEncode decoding function of ASP URLDecode

The following code is extracted from the kesion system. It is really good and supports the utf8 format. Copy codeThe Code is as follows: '================================================ ========== 'Function name: URLDecode 'Usage: URL Decoding '====

Solution to the failure to repeatedly bind voting titles and options in asp.net

Problem: 1. The title and option of the vote cannot be bound cyclically.Solution: add the ItemDataBound event to the Repeater binding. Use RadioButtonList to bind the event with the source code: Default Page, Source Page Copy codeThe Code is as

Implementation Code disabled after clicking the button under asp.net

1. Enable the button to be disabled using a script after it is clicked: Copy codeThe Code is as follows: However, it is a pity that this method does not work: the page will not be sent back. Therefore, we have to look for other

Asp.net verification prompt beautification effect code (package download)

Some time ago, I saw a high-hand handwriting Effect of pure css + js in the garden. I combined it with the asp.net verification control, use this highly handwritten effect as a prompt for asp.net's difficult controls. For example Compared with

Asp.net use the ajax script on the master page to retrieve data

The method is as follows: 1. Drag ScriptManager into the page. To facilitate the use of Ajax scripts. It is also placed in other client controls to trigger the NetPost method. Client controls are not listed here. Copy codeThe Code is as follows:

Asp.net Page Status Management cookie and server status management Session

Cookie: a small amount of data stored in the Client File System text file or client browser Dialog Memory. When a user requests a webpage, the application first checks whether the user has logged on to the webpage, we can read the Cookie to obtain

Total Pages: 1800 1 .... 803 804 805 806 807 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.