Advertisement

03.16.2007 at 07:03AM PDT, ID: 22453879
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

ActiveX component can't create object / dwmapi.dll / windows 2003 / iis 6

Tags: create, activex, component, object, 2003
Hi all, I'm in the process of moving an IIS 5 application to a windows 2003 / IIS 6 environment. I have a com object that supplies part of the shopping cart application and I'm getting this error:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
H:\****************************, line 701

Where line 701 is a sever.createobject line to initialize the com object. After much research, I ran a dependency checker on the dll and found that 2 dll's are missing:

dwmapi.dll
devmgr.dll

I found the devmgr.dll in another part of the system, so I just copied it to the same folder with my com object to make the depends program happy. I have no idea what dwmapi.dll is nor why I need it. My windows 2000 server doesn't have it, and the same dll on that server doesn't depend on it.

The object was created in VB6 and installed using the COM+ services. The only references I have in the project are to ADO 2.8 and XML 4.0.

What's the secret handshake to get this to work right??
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: AJKConcepts
Solution Provided By: jitganguly
Participating Experts: 4
Solution Grade: A
Views: 196
Translate:
Loading Advertisement...
03.16.2007 at 07:10AM PDT, ID: 18734838

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:13AM PDT, ID: 18734865

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:13AM PDT, ID: 18734872

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:17AM PDT, ID: 18734902

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:21AM PDT, ID: 18734933

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:23AM PDT, ID: 18734956

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:40AM PDT, ID: 18735122

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 07:40AM PDT, ID: 18735128

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 08:09AM PDT, ID: 18735364

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 08:10AM PDT, ID: 18735374

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 08:13AM PDT, ID: 18735408

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 08:21AM PDT, ID: 18735454

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 12:20PM PDT, ID: 18737314

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 12:22PM PDT, ID: 18737326

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 12:22PM PDT, ID: 18737334

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 12:29PM PDT, ID: 18737387

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 12:33PM PDT, ID: 18737409

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.16.2007 at 01:49PM PDT, ID: 18737867

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.19.2007 at 02:58PM PDT, ID: 18752081

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
03.16.2007 at 07:10AM PDT, ID: 18734838

Rank: Wizard

Need to assign permissions for IUSR account on the DLLs.  2003/IIS6 has stricter security policies.
 
03.16.2007 at 07:13AM PDT, ID: 18734865

Rank: Sage

You also need to register those 2 dlls on your server.

Go to your server, start-->run --> regsvr32 dwmapi.dll
and repeat the same for devmgr.dll also.

Note you may have to specify the full path of the DLLs

Give IUSR_{yourcomputername} user permission to those DLL
 
03.16.2007 at 07:13AM PDT, ID: 18734872
Thanks for the quick response. That was the first thing I checked. IUSR has read/execute permissions on my dll.

I forgot to mention that the new server has Windows 2003 / 64 bit. The old one is 32. Is this important?
 
03.16.2007 at 07:17AM PDT, ID: 18734902
I was able to register the devmgr.dll but it's not liking the dwmapi.dll. I downloaded it from the Internet and tried to register it. Says it can't find procedure.
 
03.16.2007 at 07:21AM PDT, ID: 18734933
 
03.16.2007 at 07:23AM PDT, ID: 18734956
That's where I got the dll. I feel better that someone else pointed me to the same place.
 
03.16.2007 at 07:40AM PDT, ID: 18735122

Rank: Sage

:-)
Is it possible to reinstall IIS, if you have not done so yet
 
03.16.2007 at 07:40AM PDT, ID: 18735128

Rank: Sage

BTW can I see your code please ?
 
03.16.2007 at 08:09AM PDT, ID: 18735364
set objXMLCart = server.CreateObject("GoCart.Cart")

I have reinstalled IIS. I think the problem lies with the 2 missing dlls but I have no idea how to resolve it.
 
03.16.2007 at 08:10AM PDT, ID: 18735374

Rank: Wizard

What are the exact error messages?
 
03.16.2007 at 08:13AM PDT, ID: 18735408

Rank: Sage

You said those are VB dlls, right. IF you have VB IDE installed on the server, just open the project and make DLL. It would pick up the correct one or at least would say invalid refreences etc.
Accepted Solution
 
03.16.2007 at 08:21AM PDT, ID: 18735454
I have VB installed on my computer, not on the production web server.

Here is the error log from the dependency walker run on my gocar.dll:
Error: Modules with different CPU types were found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

When I run dependency walker on the dwmpai.dll, this is the result:

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
 
03.16.2007 at 12:20PM PDT, ID: 18737314
Ok, I now know enough to know that a VB com object created for 32 bit Windows won't work on 64 bit. Do you happen to know how to create a 64 bit com object?
 
03.16.2007 at 12:22PM PDT, ID: 18737326

Rank: Wizard

Probably need VB.Net.
Assisted Solution
 
03.16.2007 at 12:22PM PDT, ID: 18737334
 
03.16.2007 at 12:29PM PDT, ID: 18737387
I'm starting to seriously regret the decision to upgrade :(

Yes, looks like VB.net might be the way to go. I'll have to get it and try it. I'll let you know how that turns out.
 
03.16.2007 at 12:33PM PDT, ID: 18737409

Rank: Wizard

Yes, MS did not make the progession easy (makes them more money with software, training, etc).
 
03.16.2007 at 01:49PM PDT, ID: 18737867

Rank: Sage

>>
I'm starting to seriously regret the decision to upgrade :(
<<

gotta love those MS freaks!
 
03.19.2007 at 02:58PM PDT, ID: 18752081
Thank you for your efforts! I have to rebuild my application using VB.net
:(
 
 
01.07.2008 at 02:31AM PST, ID: 20598073
Looks like you can enable 32 bit apps on IIS on 64 bit Windows:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true

It advises to run :
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
from c:\inetpub\adminscripts
 
 
 
20080236-EE-VQP-29