RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon)

While trying to connect to a SAP server from Visual Studio – Consume Adapter Service,  you might encounter the following error Microsoft.ServiceModel.Channels.Common.ConnectionException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon).  AdapterErrorMessage=. —> Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Name or password is incorrect (repeat logon).  AdapterErrorMessage=.   This need not be a username/password issue. The…

0

.NET 4.5 – Information of Caller Function (Caller Attributes in .NET 4.5)

While debugging code “Who called my function ?” is  a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or  a debugger or the most common…

0

Fingerprinting IIS

  You can analyze the responses sent from a webserver to determine the version of IIS running (And in turn the version of the Windows Server). I have seen a lot of people discuss this. So here is my guide … The easiest way is to capture a network trace or Fiddler trace and analyze…

0

MIB OIDs for IIS 6.0

Here is a list of the OID values related to IIS that you can query using SNMP.     TotalBytesSent_HighWord 1.3.6.1.4.1.311.1.7.3.1.1.0 TotalBytesSent_LowWord 1.3.6.1.4.1.311.1.7.3.1.2.0 TotalBytesReceived_HighWord 1.3.6.1.4.1.311.1.7.3.1.3.0 TotalBytesReceived_LowWord 1.3.6.1.4.1.311.1.7.3.1.4.0 TotalFilesSent 1.3.6.1.4.1.311.1.7.3.1.5.0 TotalFilesReceived 1.3.6.1.4.1.311.1.7.3.1.6.0 CurrentAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.7.0 CurrentNonAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.8.0 TotalAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.9.0 TotalNonAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.10.0 MaxAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.11.0 MaxNonAnonymousUsers 1.3.6.1.4.1.311.1.7.3.1.12.0 CurrentConnections 1.3.6.1.4.1.311.1.7.3.1.13.0 MaxConnections 1.3.6.1.4.1.311.1.7.3.1.14.0 ConnectionAttempts 1.3.6.1.4.1.311.1.7.3.1.15.0 LogonAttempts 1.3.6.1.4.1.311.1.7.3.1.16.0 TotalOptions 1.3.6.1.4.1.311.1.7.3.1.17.0 TotalGets 1.3.6.1.4.1.311.1.7.3.1.18.0…

1

64 bit IIS manager,32 bit worker process and root web.config settings

The IIS 7 manager provides a UI for almost all sections for the web.config. It does simplify things for administrators but I have seen a couple of cases where this has lead to interesting problems. Let us consider the Machine Key feature that the IIS 7 manager provides. It is well known that when you…

0

ASP.NET Debugger Extension – Manual Install / Uninstall

In case you have problems with the setup files for ASP.NET Debugger Extension you can manually install the module. FILES ADE.dll This is the main module that loads in IIS Location : GAC ADEWOWHelper.exe This is a helper exe that is used in x64 environments to support WOW worker processes Location : system32\inetsrv MdbgCore.dll This…

0

ASP.NET Debugger Extension – Trace Process for Debug Events

With ASP.NET Debugger Extension you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every time an exceptions occurs you…

0

ASP.NET Debugger Extension – Find Debug Modules

ASP.NET Debugger Extension has an useful feature to find modules that are built in debug mode. You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. Debug modules should usually not be deployed on production servers as the code…

2

ASP.NET Debugger Extension – Callstack Viewer

I recently created an ASP.NET Debugger Extension for IIS 7 that you can use to troubleshoot issues that would usually involve taking a memory dump of the process. One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running…

1