IIS – Manipulating the Metabase

IIS – Manipulating the Metabase

I have been trying to change settings for the IIS server in order that I can set the flag to allow an out-of-process Active X EXE Server to be used from within an ASP page. It seems that one can call an in-process DLL server without a problem, but an error occurs when I try to call the EXE. How does one call an Active X EXE (out of process) from within ASP, and set the flags for the metabase?

The sample code such as:

Dim ComputerObjDim MaxBWSet ComputerObj = GetObject("IIS://LocalHost")MaxBW = ComputerObj.MaxBandwidth

and the code such as

	Set VSvrObj = GetObject("IIS://LocalHost/W3SVC") 	VSvrObj.AspAllowOutOfProcComponents = True

fails to execute.

There are issues to be concerned with when using ActiveX
EXEs on a Web Server. These concerns boil down
to security and performance. If you must use an ActiveX EXE,
then you need to change the metabase settings to allow this,
as you stated. The easiest method is to do it from the command
lineusing adsutil:

C:WINNTsystem32inetsrvadminsamples>adsutil set
w3svc/1/AspAllowOutOfProcComponents True

This works for IIS 4.0. To manipulate the
setting in IIS 3.0, you just need to change the registry
value for AllowOutOfProcCmpnts to 1 in the following registry key:

HKEY_LOCAL_MACHINESYSTEM   CurrentControlSet    Services     W3SVC      ASP       Parameters 

Once you have made this change you will need to stop
and restart your IIS service in order for the change
to take effect.

The last thing to mention is that you need the proper rights
to make this change. If you do not have the administrative rights you may get an invalid syntax message.

Share the Post:
XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes

ransomware cyber attack

Why Is Ransomware Such a Major Threat?

One of the most significant cyber threats faced by modern organizations is a ransomware attack. Ransomware attacks have grown in both sophistication and frequency over the past few years, forcing

data dictionary

Tools You Need to Make a Data Dictionary

Data dictionaries are crucial for organizations of all sizes that deal with large amounts of data. they are centralized repositories of all the data in organizations, including metadata such as