Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Components
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 6th, 2005, 02:50 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Type Miss match error for Server.CreateObject

Hi,
I am using a VB 6.0 component in ASP page.I get a "Type miss match" error wherever i used Server.CreateObject method. This method i used for creating a class object of a DLL.
 Here is the code i am using.

Dim objLogin
Set objLogin = Server.CreateObject(Cstr(strComponentName) ".clsLogin")

'Call ValidateUser method of login object.
Set objRSValidLogin = objLogin.ValidateUser(strUserID, strPassword)


strComponentName contains component name.
I am surprised that even if get this error for a page,it does not come if i refresh the page.
Please let me know if you have any ideas on the same.Because i am really not able to find any solution for it.
Thankx in advance!

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Type miss match for Server.CreatObject Deepmala VBScript 2 October 16th, 2006 04:02 PM
CreateObject Type mismatch error Deepmala Classic ASP Professional 1 February 7th, 2006 04:28 AM
Type miss match error Deepmala Classic ASP Databases 0 December 6th, 2005 02:36 AM
How To use server.createobject in c# ranakdinesh C# 0 November 4th, 2005 08:18 AM



All times are GMT -4. The time now is 09:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.