PRB: ASP 0234 Error "Server Side Include Directives May Not Be Present in Script Blocks" with PageObject DTC
(275447) - When you use the PageObject Design-Time Control (DTC) in a Web application that was created in Visual InterDev 6.0 Service Pack (SP) 2 or earlier, and you specify a server-side function or procedure as an Execute method of the PageObject, you may...
HOWTO: Use Active Server Pages to Dynamically Generate XML
(281099) - This article describes how to use Active Server Pages (ASP) to dynamically create eXtensible Markup Language (XML). The example uses an XSL style sheet to format the results. NOTE : The sample only works in XML-enabled browsers such as Microsoft...
HOW TO: Debug Visual Basic COM Components That Are Used Within Active Server Pages
(299633) - This step-by-step procedure demonstrates how to debug (or step through) Microsoft Visual Basic (VB) Component Object Model (COM) components that are used within Active Server Pages (ASP) pages. Debugging VB COM Components That Are Used in ASP Pages On...
INFO: Behavior of Date/Time Format Differs When Accessed from Active Server Pages
(306044) - When you use the Now , Date , or Time functions from Active Server Pages (ASP), the Date and Time formats differ depending on parameters such as the impersonating user, the authenticating user, the logged-on user, and the version of the operating...
HOW TO: Use NTFS Security to Protect a Web Page Running on IIS 4.0 or 5.0
(299970) - This is a step-by-step guide to using Windows NTFS security to protect Web pages that are running on Internet Information Server (IIS) version 4.0 or 5.0. To protect your pages, you put the pages in a separate folder and then apply permissions to that...
PRB: Request.ServerVariables("LOGON_USER") Returns Empty String in ASP.NET
(306359) - If you try to access the Request.ServerVariables("LOGON_USER") variable in ASP.NET, an empty string is returned. NOTE : If you are using Microsoft Visual C# .NET, the following syntax accesses this variable: Request.ServerVariables["LOGON_USER"]
PRB: Security Toolkit Breaks ASP.NET Debugging in Visual Studio .NET
(310588) - When you debug ASP.NET programs in Visual Studio .NET after you install the Microsoft Security Toolkit, you receive the following error message: Error while trying to run project: Unable to start debugging on the web server. The project is not...
INFO: Permissions to Connect to a Remote Access Database from ASP.NET
(307901) - This article lists the minimum security settings that are required to connect to a remote Microsoft Access database from ASP.NET, including: Windows NT File System (NTFS) settings Microsoft Internet Information Services (IIS) settings Local security...
HOW TO: Secure an ASP.NET Application Using Client-Side Certificates
(315588) - For highly secure Web applications, such as Internet banking sites, you may want to implement a more secure solution for user authentication than the user name and password combination. You can use client-side digital certificates to verify the...
HOW TO: Create a Local Web Server ASP.NET Application
(321748) - This article describes how to create a local Web Server ASP.NET application. Create a Local Web Server ASP.NET Application Start Microsoft Visual Studio .NET. On the File menu, point to New , and then click Project . In the New Project dialog box,...
PRB: Access Denied Error When You Make Code Modifications with Index Services Running
(329065) - When you access a page after an AppDomain load, for example, when you modify the Bin directory or the Web.config file on computers running Microsoft Index Services, you may receive the following error message: Server Error in '/MyWebApp' Application...
FIX: Requests Current and Requests in Application Queue Performance Monitor Counters Added in ASP.NET
(329959) - The following two Performance Monitor counters have been added to diagnose and monitor ASP.NET applications: Requests Current : The number of requests in the application request queue. Requests in Application Queue : The current number of requests,...
PRB: Error "Cannot Open File Unknown" Using Access
(166029) - When using Active Server Pages (ASP) to query an Access database, you may encounter the following error message. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine...
PRB: Session Variables Are Lost When ASP Is Located in Frameset
(178037) - Session variables that are defined in an Active Server Pages (ASP) page are empty when you attempt to access the values from other ASP pages within the frameset.
HOWTO: Use MTS to Trap Error 'ASP 0113' Script Timed Out
(182036) - In a production environment, it is common to trap any errors that occur in your Active Server Pages (ASP) page by using the statement "On Error Resume Next." However, if a script time-out error occurs, it is not possible to trap that error by using...
HOWTO: SQL Server with Integrated Security, IIS on Same Machine
(176378) - This article describes how to set up Microsoft SQL Server using Integrated Security on the same physical machine as Microsoft Internet Information Server.
HOWTO: IIS and SQL Server on Separate Machines with Trusted Connection
(176379) - Microsoft SQL Server 6.5 can be used with Active Server Pages (ASP) and Internet Information Server 3.0 (IIS). When SQL Server is configured for Mixed or Integrated Security, certain configuration changes must be made to enable ASP to connect to SQL...
PRB: COM Objects Fail to Print When Called From ASP
(184291) - A COM object that sends output to a printer fails when called from Active Server Pages (ASP), but functions correctly when called from an interactive application. This COM object could be either a commercial product such as a Microsoft Office...
PRB: Implements Keyword Fails in Visual Basic DLL Called from ASP
(188716) - When calling a server side ActiveX component written in Visual Basic 6.0 from an Active Server Pages (ASP) page, using the "Implements" keyword to get implementation inheritance between classes, ASP will report the following error: Microsoft VBScript...
PRB: AppendChunk from ADO or RDS Doubles Binary Field Size
(200261) - When you use AppendChunk from either ADO or Remote Data Service (RDS) from scripting (JScript or Visual Basic(r) Scripting Edition) to update a binary field, the result is twice as large as the original.
HOW TO: Implement Array Arguments in Visual Basic COM Objects for Active Server Pages
(217114) - This step-by-step article describes how to implement arrays to be passed as parameters from Active Server Pages (ASP) to a Visual Basic Component Object Model (COM) Object. Array Argument Declarations IMPORTANT : If array arguments are for methods,...
PRB: Session.Timeout Has a Maximum of 24 Hours
(233477) - Setting the value of the Session.Timeout property to greater than 24 hours (1440 minutes) produces the following symptoms: If you set Session.Timeout in an ASP script or in the Global.asa file, you see the following error messages: - SessionID error...
BUG: JScript from ASP Page Sends Mixed-Case Boolean Values to Client
(236889) - Active Server Pages (ASP) script sends Microsoft JScript Boolean values to the client as "True" and "False" instead of "true" and "false". JScript is case-sensitive and expects "true" and "false" for Boolean values, so the values...
HOW TO: Turn Off ASP Session State in Active Server Pages and IIS
(244465) - This step-by-step article describes how to improve the performance of your Web server by turning off Active Server Pages (ASP) session state. The Web server with ASP automatically creates a Session object when a Web page from the application is...
Error Message: Error 406, No Acceptable Objects Were Found
(251215) - When you use the Accept-Language header and the file name specified does not include the file extension, the following error message occurs: Error 406, No acceptable objects were found.
Process and request identity in ASP.NET
(317012) - This article outlines the access rights that are granted to the default process account and describes some situations in which these rights may be too restrictive for certain tasks. In the default installation of ASP.NET on Microsoft Windows 2000 and...
FIX: Downloading Large Files Causes a Large Memory Loss and Causes the Aspnet_wp.exe Process to Recycle
(823409) - When you use the Response.BinaryWrite method to download files that are 400 MB or larger from an ASP.NET page, the Aspnet_wp.exe process may recycle. You may see the following event logged in the application log of the Event Viewer: Event Type: Error...
A System.Security.SecurityException exception occurs when you try to impersonate a user from a secondary thread in an ASP.NET Web application
(842790) - Explains that a SecurityException exception may occur when you try to impersonate a user from a secondary thread in an ASP.NET Web application. Describes three workarounds to solve this problem.
MS02-026: Unchecked Buffer in ASP.NET Worker Process (English)
(322289) - A buffer overrun vulnerability exists in Microsoft ASP.NET. An attacker who was able to successfully exploit this vulnerability could cause the application that is running on the Web server to restart. Additionally, although Microsoft has not been...
MS02-026: Unchecked Buffer in ASP.NET Worker Process (Simplified Chinese)
(322299) - A buffer overrun vulnerability exists in Microsoft ASP.NET. An attacker who was able to successfully exploit this vulnerability could cause the application that is running on the Web server to restart. Additionally, although Microsoft has not been...
MS02-026: Unchecked Buffer in ASP.NET Worker Process (Traditional Chinese)
(322300) - A buffer overrun vulnerability exists in Microsoft ASP.NET. An attacker who was able to successfully exploit this vulnerability could cause the application that is running on the Web server to restart. Additionally, although Microsoft has not been...
MS02-026: Unchecked Buffer in ASP.NET Worker Process (Korean)
(322301) - A buffer overrun vulnerability exists in Microsoft ASP.NET. An attacker who was able to successfully exploit this vulnerability could cause the application that is running on the Web server to restart. Additionally, although Microsoft has not been...
Support WebCast: Microsoft ASP.NET Server Controls
(324457) - Session Summary In this session we will review the different types of controls available in ASP.NET, including HTML controls, validation controls, WebForms controls, list controls, and rich controls. We will cover databinding in .NET, and then we will...
Support WebCast: Microsoft COM and ASP.NET
(324472) - Session Summary In this presentation, you will hear about the development practice of accessing Component Object Model (COM) objects from ASP.NET. Because of the investment many developers have placed in COM, using it with newly created .NET...
HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State Connection Strings
(329290) - This step-by-step article describes how to use the Aspnet_setreg.exe utility to encrypt credentials and session state connection strings. ASP.NET version 1.0 requires that you store plain text credentials in configuration files if you want to do any...
FIX: Downloading Large Files Causes a Large Memory Loss and Causes the Aspnet_wp.exe Process to Recycle
(821387) - When you use the Response.BinaryWrite method to download files that are 400 MB or larger from an ASP.NET page, the Aspnet_wp.exe process may stop responding (crash). You may see the following event logged in the application log of the Event Viewer:...
INFO: Usage of Strong Credentials to Store Connection Strings in the SessionState Element
(821616) - IMPORTANT : This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back...
The Microsoft guide to building an ASP.NET menu server control
(832856) - This article contains information about the Microsoft guide Building an ASP.NET Menu Server Control . This guide describes how to build a Microsoft ASP.NET menu server control. The guide also describes how to use an ASP.NET menu server control in...
You receive a "logon failure: unknown user name or bad" error message while accessing remote security-enhanced resources from an ASP.NET application
(842789) - Discusses the problem of not being able to access a security-enhanced remote resource from an ASP.NET application. Describes several workarounds for this problem.