ASP and IIS

1. In Asp.net, "The name starts with an invalid character" solution: the reason is that net is not registered with IIS. Run "C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_regiis.exe-I" in the Command window to solve the problem. 2. What is

About: "The session status cannot be serialized. In "StateServer" or "sqlserver" mode, ASP. NET serializes session State objects and therefore does not allow the use of non-serializable objects or externalbyref objects. If you customize

Error description: Unable to serialize session status. In "StateServer" or "sqlserver" mode, ASP. NET serializes session State objects and therefore does not allow the use of non-serializable objects or externalbyref objects. If a custom session

Default focus in ASP. NET and response to the carriage return key

ASP. net1.1: Let the text box focus as soon as it is opened on the page: Page. registerstartupscript ("Focus", "Medium 2.0:   3. As the browser is constantly changing, compatibility has become a major issue. The above is no longer

ASP Online Pressure Reduction (compression) RAR

Tomorrow I will see an article on the Internet that uses WinRAR for Online Pressure relief operationsArticleI made one by myself and found it was good. Role. It is said that wscript. Shell is unavailable to many virtual hosts, but I have tried it

Deployment of Asp.net MVC 2 RC on IIS

1. If you directly deploy Asp.net MVC2 RC on iis5.1, the page cannot be displayed, probably because path ing does not work.   Solution:   1. In routes. maproute ("Default", // route name"{Controller}/{action}/{ID}", // URL with ParametersNew

Controllers of ASP. NET MVC

The following is the definition of a controller: public class ProductController : Controller { // // GET: /Product/ public ActionResult Index() { return View(); } public ActionResult Help()

Generate image ASP Code directly with random numbers

  A random number directly generates the ASP code of the image, which can be used as a verification code.Xbm. aspResponse. Buffer = trueWith response. Expires =-1. Addheader "Pragma", "No-Cache". Addheader "cache-ctrol", "No-Cache"EndDim

ASP Chinese character conversion UTF-8 and UTF-8 to gb2312 do not know traditional Chinese can?

Converting Chinese characters to UTF-8 Function chinese2unicode (STR)Dim IDim str_oneDim str_unicodeFor I = 1 to Len (STR)Str_one = mid (STR, I, 1)Str_unicode = str_unicode & CHR (38)Str_unicode = str_unicode & CHR (35)Str_unicode = str_unicode &

ASP programming BASICS (11): chat program

Author: cnbruce resending from: 5D multimedia The common chat room program, that is, the chat program, does not use the basic structure of the database. So what technology is used? We know that session variables in ASP variables are used to record

500-100.asp File

File Path: C:/winnt/help/IISHelp/common/500-100.asp Option explicit Const lngmaxformbytes = 200 Dim objasperror, blnerrorwritten, strservername, strserverip, strremoteipDim strmethod, lngpos, datnow, strquerystring, strurl If response. Buffer

Coolite toolkit-Web controls supporting ASP. NET Ajax

Introduction Coolite toolkit is a web control that supports ASP. NET Ajax. Coolite toolkit is developed based on a cross-browser extjs library and simplifies the development steps and contains a wide range of Ajax applications. Both coolite

Excel in ASP. NET: (3) accessing worksheet data

You have created an Excel. Application Object and opened the workbook. Now you can traverse the worksheet and cells to obtain data. Not all cells have data, but most of them are empty. Therefore, xmldocument is a good idea to save the obtained data.

Asp.net two methods to prevent Page scrolling [Reference]

I,Private void RetainScrollPosition (){StringBuilder saveScrollPosition = new StringBuilder ();StringBuilder setScrollPosition = new StringBuilder (); RegisterHiddenField ("_ SCROLLPOS", "0 "); SaveScrollPosition. Append (" "); RegisterStartupScript

ASP. NET two common exceptions-do not create mutex or network service and do not have temporary ASP. NET files write access permission ???

1. The current identity (nt authority/network service) does not have write access to "C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/Temporary ASP. NET Files" Code highlighting produced by Actipro CodeHighlighter

Use of MDF database files in Asp.net

The asp. ne source code downloaded from the internet has an mdf database. Now let's take a look at its usage.Note that there is a difference between sqlexpress and the official version of mssqlserver connection string. You can check the information

RBAC permission design in ASP. NET

This is the basic idea. We know that permissions are a combination of resources and operations, and each ASP. controls on the NET page can be seen as the carrier of this effective combination. For example, the DataGrid is the carrier for

20 methods and tools for viewing asp source code

As we all know, the windows platform is full of loopholes, patch one by one, but it is always incomplete. I summarized the 20 methods I know to view the asp source code, and wrote an application in c # to scan these vulnerabilities, I found that

ASP. net eval Performance

Write ASP. NET is a common method to use Eval, as if any of the ASP. NET will describe how to bind a able to a control and use Eval to set values. However, in the current Domain Driven Design era, we often operate on Domain model objects. We can use

Usage of DataBinder. Eval in ASP. NET

// Bind a field // implement automatic numbering Common method Other usage // If the attribute is of the string type, ToString () is not required. Example of DataBinder. Eval usageThe format string parameter is optional. If the parameter is ignored,

Several notes when writing ASP. NET application code

1.Minimize form delivery Every time you click the Button, LinkButton, or ImageButton control on a Web page, the form is sent to the server. If the AutoPostBack attribute of the control is set to true, if the status of the control such as CheckBox

Total Pages: 1800 1 .... 863 864 865 866 867 .... 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.