IIS Server Security >> IIS 6.0 Error -2147022675

by Mike Silva » Fri, 23 Jan 2004 23:37:42 GMT

Getting this message when user account is flagged to
change password on next logon. Connecting to a Microsoft
SharePoint Server via the users browser. when I log in I
am prompted to change the password but when I submit the
change, I get this error.


Similar Threads

1. Error message: -2147022675 attempting to change password through w

2. Error message: -2147022675 When trying to change password through

Users are unable to change their password and get the above error when 
authenticating their AD account. Old accounts set up directly on the web 
server do not experience this problem

Any ideas?

Thanks,

Greg Terry

3. error -2147022675 - IIS Server Security

4. IIS 6.0, windows 2003, VB 6.0, ASP -BinaryRead() Error

A simple ASP webpage in the IIS server 6.0 invokes the T3SessionMgrMQ.dll 
developed in VB 6.0. This component is added in COM+. 
This has OnStartPage() that reads the Request message from the asp and 
process it in the ValidateInput(). The code from my application is provided 
below.

On executing the RPT load test on this page with stream of requests that 
invokes the above asp page, the application works fine for some time(10- 20 
min) and then it is observed that the MAspRequest.TotalBytes has a value(say 
322 bytes) but does not give any content on reading the request using 
MAspRequest.BinaryRead(). 

Need to know why MAspRequest.BinaryRead() did not read the content but it 
gives the length the content of it? 
Because of which it is throwing an error from the AsiiByte2String() method: 
ErrorCode: 9 Error Description: Subscript out of range 

We are trying to figure out the cause for this problem with the IIS 6.0 and 
VB 6.0 COM+ components in Windows server 2003.

After encountering this, it is also observed in COM+ that the "Activated" 
components count and the "Call Time" growing exponentially. Sometime after 
this error the ASP page does not respond for any requests, and need to 
restart the server to bring it up.

Environment:
            Windows server 2003
            IIS 6.0
            Classic ASP
            VB 6.0

Code:
Asp page:
<%
            session("CountryCD")= "03"
            set T3oSessionMgr = 
server.CreateObject("T3SessionMgrMQ.T3SessMgrMQ")
            set T3oSessionMgr = nothing
%>
------------------------------------------------------------------
The vb component T3SessionMgrMQ:

Public Function OnStartPage(oIIS As ScriptingContext)

    Const PROC_ID = "OnStartPage::"
   
    Dim lSuccess As Long
    
    Set MAspRequest = oIIS.Request()
    Set MAspResponse = oIIS.Response()
            
    lSuccess = 0
    lSuccess = ValidateInput()
..
End Function

Private Function ValidateInput() As Long
Dim sRawData As String 
Dim buff() As Byte

buff = MAspRequest.BinaryRead(MAspRequest.TotalBytes)
sRawData = AsiiByte2String(buff)

End Function

Private Function AsiiByte2String(InputBuff() As Byte) As String
Dim Outbuff() As Byte
Dim lFileLen As Long
Dim i As Long

AsiiByte2String = ""
lFileLen = UBound(InputBuff)
ReDim Outbuff(lFileLen * 2) As Byte

For i = 0 To lFileLen - 1
    Outbuff(i * 2) = InputBuff(i)
    Outbuff((i * 2) + 1) = CByte(0)
Next i
AsiiByte2String = Outbuff

End Function


5. IIS 6.0, ASP pages, HTTP Error 500.13 - Server error - ASP