|
by: TheBurgerMan |
last post by:
Hi all.
I am getting an Impersonation failure in my application. I have attached
the stack trace, but it seems to be coming from inside .NET where I cannot
debug!
I know I am being authenticated as I am getting an
WindowsImpersonationContext. However, I tried to
WindowsIdentity.GetCurrent().Name but I get Access is denied. I can do the
WindowsIdentity before the Impersonate and it works great!
|
by: techfuzz |
last post by:
I'm posting my problem experience and solution I found here for other
ASP.NET developers.
I have a web application that uses Forms Authentication with Active
Directory to control access. In this web application, I have search
page that utilizes the Windows Indexing Service (MSIDXS provider).
For reasons I'm not aware of at this time, setting <identity
impersonation="true" /> in the web.config causes an error whenever you
try to search.
|
by: Elliot M. Rodriguez |
last post by:
I have a web app that uses Crystal Reports 8.5 along with VB.Net.
When attempting to access reports by a UNC file share path, I was getting
access denied errors. I solved this problem eventually by running the aspnet
process as a Domain Admin account (changed the processModel attribute in
machine.config).
I tried running the code block using impersonation as the same account, yet
I continued to get Access Denied errors, even on...
|
by: Edward Yang |
last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Access denied to 'C:\Inetpub\wwwroot\myapp\default.aspx'. Failed to start monitoring file changes.
Description: An unhandled exception occurred...
|
by: cjk |
last post by:
Issue
Our web application requires access to write to a custom event log, yet access is denied. This access is denied because we are using impersonation, and our end-users do not (should not) have permissions to write to a custom event log. We would like to know if someone out there has resolved this problem without incorporating registry hacks, elevating end-user account permissions to admin OR calling native code to logon as the account...
|
|
by: Jim Heavey |
last post by:
I am trying to use impersonation. I created a seperate folder in my
application where I have placed any screen that I want to invoke
impersonation on. I created a webconfig file with the appropriate account
and password information. When I navigate to this screen, I originally
received an Access Denied error for the Temporary ASPNet folder under the
Framework version for the ID I was using for impersonation. I added this ID
to be able...
|
by: velvet.graham |
last post by:
I'm having a difficult time with impersonation. I've created an
impersonation class. Here is the code below:
******Impersonation Class Code*********
Imports System
Imports System.Web.Security
Imports System.Runtime.InteropServices
Imports System.Security.Principal
Imports System.DirectoryServices
Imports System.Security.Permissions
|
by: Elroyskimms |
last post by:
I need to execute a batch file via ASP.Net. In my VB.Net code, I'm
using System.Diagnostics.Process to call the batch file and its
appropriate command line arguments. I'm using
System.Diagnostics.Process.StandardError and
System.Diagnostics.Process.StandardOutput to capture and view the
output and error messages. My web.config file has the following:
<identity impersonate="true" userName="administrator"
password="password" />
|
by: Xexon |
last post by:
Hey all, I hope someone out there has got a solution to this rather irritating problem :)
Ok here it goes...
I have a Web App that does 2 things. It uploads word-document files to a folder on my server, scans them with a virus-scanner and then using the office dll's I extract the contents of the document and put it in my database to be able to search through it.
The Virus-Scan part works just great, but the Word thing troubles me a bit. I...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|