.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘parameter’

“0×0000007E” Stop error when you create snapshots in Windows Server 2008 or in Windows Vista

Symptoms
On a computer that is running Windows Server 2008 or Windows Vista, you receive the following Stop error message when you create a snapshot of a volume:?

STOP: 0×0000007E (parameter1, parameter2, parameter3, parameter4)
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED Notes The parameters in this error message vary, depending on the configuration of the computer.Not all “0×0000007E” Stop errors are caused by this issue.For example, you receive this Stop error message after you enable Volume Shadow Copy Service on a volume for a secondary Data Protection Manager (DPM) server.
Resolution
This issue occurs because of a race condition in the Volume Shadow Copy Service driver (Volsnap.sys).
When the volume size is being changed in the snapshot creation process, the race condition might be encountered.

“0×0000003B” Stop error on a terminal server in Windows Server 2008

Symptoms
Consider the following scenario:
You install the Terminal Services role on a computer that is running Windows Server 2008.You connect to this terminal server, and then you perform some window-related operations in a terminal server session.
For example, you open and then close some windows in the terminal server session.In this scenario, the computer may restart unexpectedly. Additionally, you receive a Stop error message that resembles the following:

STOP 0×0000003B (parameter1, parameter2, parameter3, parameter4)
SYSTEM_SERVICE_EXCEPTION
Notes
The parameters in this Stop error message may vary, depending on the configuration of the computer.Not all the “Stop 0×0000003B” Stop errors are caused by this issue.

Resolution
This issue occurs because the Rdpwd.sys driver does not check whether a returned list is NULL or not.
When the returned list is NULL, the Rdpwd.sys driver accesses the wrong memory location. Therefore, an access violation exception occurs.

“0×0000001E” Stop error when you perform disk I/O-intensive operations on dynamic disks in Windows Server 2008 or in Windows Server 2008 R2

Symptoms
Consider the following scenario:
You have a computer that is running Windows Server 2008 or Windows Server 2008 R2.You set up a software RAID5 volume on the computer by using dynamic disks.You perform some disk I/O-intensive operations on the volume.
For example, you use Distributed File System (DFS) Replication to replicate files.In this scenario, you receive a Stop error message that resembles the following:

STOP 0×0000001E (parameter1, parameter2 , parameter3 , parameter4)
KERNEL_MODE_EXCEPTION_NOT_HANDLED
NotesThe parameters in this Stop error message vary, depending on the configuration of the computer. Not all “Stop 0×0000001E” error messages are caused by this issue.
Resolution
This issue occurs because of an error in the Volmgrx.sys driver.

FIX: A NullReferenceException error occurs when you use a method that has the default null value as a parameter in the .NET Framework 1.1

Symptoms
A NullReferenceException error may occur in the Microsoft .NET Framework version 1.1 when one of the following conditions is true: You use reflection to obtain a default value of a parameter out of a method that uses a default null value for a parameter.You use reflection to invoke a method that uses a default null value for a parameter.
Resolution
To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.1. For more information, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyId=A8F5654F-088E-40B2-BBDB-A83353618B38(http://www.microsoft.com/downloads/details.aspx?FamilyId=A8F5654F-088E-40B2-BBDB-A83353618B38)

Description of the documentation error in the “HttpServerUtility.Transfer Method (String, Boolean)” topic in the Microsoft Developer Network

Symptoms
This article describes the undocumented change in behavior of the HttpServerUtility.Transfer method call from the Microsoft .NET Framework 1.0 to the Microsoft .NET Framework 1.1.
For more information, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/aa332847(VS.71).aspx(http://msdn2.microsoft.com/en-us/library/aa332847(VS.71).aspx)
Resolution
The HttpServerUtility.Transfer method contains two parameters. The first parameter is a URL path of the new page on the server to execute.The second optional parameter indicates whether the Form and the QueryString values can pass from the calling page to the page that the user is being transferred to.

HttpServerUtility.Transfer(String, Boolean); In the .NET Framework 1.0, if the second optional parameter of the HttpServerUtility.Transfer method is not specified, the second parameter is set to false.
In the .NET Framework 1.1, if the second optional parameter of the HttpServerUtility.Transfer method is not specified, the second parameter is set to true.
The “Parameters” section of the “HttpServerUtility.Transfer Method (String, Boolean)” topic in MSDN states the following:
path
The URL path of the new page on the server to execute.
preserveForm
If true, the QueryString and Form collections are preserved. If false, they are cleared. The default is false.
The following is the correct information:
path
The URL path of the new page on the server to execute.
preserveForm
If true, the QueryString and Form collections are preserved. If false, they are cleared. In the .NET Framework 1.0, the default value of the preserveForm parameter is false. In the .NET Framework 1.1, the default value of the preserveForm parameter is true.