Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Servers > Windows Server
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 22nd, 2007, 11:35 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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
Reply


Thread Tools
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
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 11:17 AM



All times are GMT -4. The time now is 06:57 PM.


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