Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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
 
Old June 22nd, 2006, 08:14 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default Permissions Problem

Hello All,
I am working on an application where I have to use P/Invoke to call: advapi32.dll and kernel32.dll from within an ASP.NET page; I have correctly imported the DLL's into the page but when I try to make a call to the function LogonUser of the advapi32.dll I am receiving the Win32 error 1314 which is: "A required privelage isn't held by the client."

The account that .NET is running under is the IWAM account and have gone so far as to create a local policy on my WebServer that allows this account to run as part of the operating system, again I am still getting the 1314 error. The only thing left that i can think of would be to change the account to 'system' in the process model of the machine.config file and I will not do that. Any ideas?

Thanks everyone.

-Doug

"The one language all programmers understand is profanity."
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Solve The Problem of Permissions? manojbhoyar ASP.NET 1.0 and 1.1 Basics 0 July 28th, 2008 12:23 AM
Access Permissions problem Meanwhile Classic ASP Databases 8 February 15th, 2005 11:39 PM
Roles Permissions Many to Many ... Why? seanmayhew BOOK: ASP.NET Website Programming Problem-Design-Solution 2 November 5th, 2004 10:51 AM
Permissions rwalker Crystal Reports 1 June 23rd, 2004 04:33 PM
Wscript Permissions Problem orph351 Classic ASP Components 0 September 4th, 2003 03:25 PM





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