Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 974099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:22:49+00:00 2026-05-16T03:22:49+00:00

I have a classic ASP website (yes they still exist) that needs to call

  • 0

I have a classic ASP website (yes they still exist) that needs to call a .NET DLL registered for COM interop.

A simple VBScript test indicates the component is properly installed.

When the .asp page runs, it creates the component properly, but when a method is called there’s an application-specific error message that leads me to believe that the web.config isn’t being found/processed.

Specifically (though probably not that pertinent to the answer), I get

Specified argument was out of the
range of valid values. Parameter name:
Policy ‘ClientPolicy’ is not
configured in the system

when the .NET component in turn makes a web service call using WSE3. Web.config includes an appropriate policy file with a line like:

<policy fileName="PolicyFile.config"/>

I think the problem is whether web.config is read at all when a classic ASP page is processed and in turn invokes a .NET DLL that needs a .config file, if so how that config file should be named and where it should be located, and if not, how can configuration information be provided.

Complicating the question slightly is whether the external configuration file referenced by the WSE3 configuration should be located in the same directory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:22:49+00:00Added an answer on May 16, 2026 at 3:22 am

    I don’t think you can set up an out-of-the-box config file for classic ASP, and it’s really difficult to create a config file for a DLL (which is what your COM component is, essentially). Your best bet is to either configure the machine.config, or roll your own configuration file reader.

    Edit: or store information in the global.asa, and have that get passed to the .NET component.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website with a mix of ASP (classic) and ASP.NET pages. For
I have been developing in asp.net since its existence (also classic asp before that)
I have a classic asp website that uses Session variables to store login state
I need to call a web service from my classic ASP website. I have
I have recently inherited a website written in Classic ASP, and am currently trying
We have a classic ASP application that simply works and we have been loathe
I have a large classic ASP app that I have to maintain, and I
On a classic ASP website I'm maintaining, on our landing page we have a
I'm converting an old classic asp website to asp.net. The application is basically an
We are replacing an old classic asp website with a .NET 3.5 solution. We

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.