Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Windows Server
|
Windows Server Please be sure to specify which version of Windows Server your question/post applies to.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Server section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 22nd, 2007, 11:35 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default Access Problem From Upgrade WinNt -> 2003

We have a web application suite that has been working fine.

There are 4 VB6 WebClass applications that hand off flow from one to another.

The 1st gathers login info and presents a switchboard, the other 3 are the selections from that switchboard.

For those who are not familiar with the WebClass paradigm, there is a "front door" ASP. This instantiates a WebClassManager. Once instantiated, a method of that object is used to host the DLL that the VB6 WebClass project creates. That DLL has all the code that is developed—none of the code is in the ASP. The DLL is provided with references to the IIS Application, Server, Request, Response & Session objects.

I have created a support class that has a .Path & .File property, and a .Log method that writes text to the log file pointed to by the 2 properties.

All 4 of my web apps use this library (a ‘library of one,’ so to speak) by creating their own instance of it.

I have an EXE that is invoked with a Shell command from within one of the WebClass DLLs, and preforms its actions in accordance with command-line arguments provided to it. This EXE also uses the logging library.

Now, my understanding is that anything spawned by a program uses the same user account & credentials of the calling process to invoke the new one.


All of this has worked fine until the server computer was upgraded to Windows Server 2003, and the latest version of IIS.

But now, everything works fine except the EXE. All of the WebClass DLLs are able to perform their logging through the library. But in the EXE, when I try to set the .Path property of the logging library I get a "Registry Key could not be read" error.

I am mystified by how it could be that the IWAM user account could have the necessary authority/access to operate this library when running one of the WebClass processes, but a process spawned from that point does not.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 Problem allenle37 BOOK: Access 2003 VBA Programmer's Reference 2 May 7th, 2007 11:55 PM
Access Problem From Upgrade WinNt -> 2003 BrianWren Internet Information Services 0 March 22nd, 2007 11:39 AM
Access 2000 & 2002 upgrade problem brianharding Access 4 May 3rd, 2004 04:55 AM
Visual Studio.NET 2003 Upgrade cjo ASP.NET 1.0 and 1.1 Basics 2 November 20th, 2003 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.