ASP Classic How To Use On Error Resume Next

by ebarcza 5/15/2013 7:49:00 AM
  Err.Clear
  On Error Resume Next ' resume if an error occurs
 'Do somethign that might cause an error 
  If Err.number <> 0 Then ' check if any errors were raised and handle them
       'Handle the Error
    response.write(Err.Description)
  End If
  On Error GoTo 0 ' turn off resume next

Tags: ,

ASP Classic

Server.CreateObject Failed VB6 DLL

by ebarcza 7/31/2012 6:54:00 AM

This usually means that you have not registered the DLL, or the dll is missing from the system.

Make sure the dll is in the proper location and then register the dll with regsvr32 like this in a command window, make sure you run as administrator!

Also, if you are running this as a classic app on IIS7, make sure you enable the app pool to run in 32 bit mode... Click here to see how

regsvr32 D:\Domains\uesdev\components\UESGasManagement.dll

Tags:

ASP Classic

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  November 2017  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign in