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

  • Home
  • SEARCH
  • 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 162471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:23:49+00:00 2026-05-11T11:23:49+00:00

I’ve run into this problem before and the solution has usually been to restart

  • 0

I’ve run into this problem before and the solution has usually been to restart IIS. Basically I’ve made a number of changes to a .wsc file on our server. But when it runs it doesn’t run the new code changes I made. I’ve verified this with event logging at the beginning of the file and it doesn’t show up.

My problem is that obviously restarting IIS on our production server is something I’m loathe to do, but we need this running today. I’ve tried re-registering the file but to no avail.

The server is a 32-bit Server 2008 OS. And the code is running, it still generates the file it is supposed to, but like I said, it’s not using the latest changes.

Any other info I can provide, please leave a comment and I’ll edit.

Thank you, Jeff

Edit: Oisin, thanks for the reply and yes I know I hate VBScript, and anything related to it including these Window Script Components. I’ve expressed such feelings to my manager, but it’s a dirty job and someone has to do it!

Yes it’s using a Server.CreateObject to call the component.

ANSWER: I’ve since realized my mistake. I was only ‘registering’ it over and over, when I should have first ‘unregester’ed it the ‘register’ed it. Man I feel stupid, but haste makes waste as they say.

Thanks for the response and link!

  • 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. 2026-05-11T11:23:49+00:00Added an answer on May 11, 2026 at 11:23 am

    Eek, you mean WSC as in a Windows Script Component? I haven’t written one of them since 2000.

    Are you loading it using CreateObject (e.g. it’s registered as a COM object via regsvr32), or are you using a file-based moniker to load it? (not registered).

    If it’s registered, it probably is cached until app restart. If you switched to a file based moniker, e.g. like: Set o = GetObject(‘script:c:\path\obj.wsc’), you might get away with runtime changes to the .wsc file.

    (man, how did I even remember this)

    more info here – quick before it’s archived! 😀 http://www.microsoft.com/technet/scriptcenter/resources/scriptshop/default.mspx

    -Oisin

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

Sidebar

Ask A Question

Stats

  • Questions 78k
  • Answers 78k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Since you have full control over the process, OPTION 3… May 11, 2026 at 3:52 pm
  • added an answer You would be able to join to the UDF if… May 11, 2026 at 3:52 pm
  • added an answer You're probably encoding the links incorrectly. Yes, they do need… May 11, 2026 at 3:52 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.