473,724 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Windows 2000 behavior found with ASPNET permissions?!?

Has anyone else come across this?

We are building an ASP.Net application that uses a certficate in the local
machine store to sign XML data before transmitting it to a third-party. The
third party application was getting an "invalid signature" error upon
verification of the signature in our Test environments. I thought perhaps
our Production (www) certificate version was being used instead, so I
exported it from the Production server and tried importing it into Test. I
got this error:

"An internal error occurred. The private key that you are importing might
require a cryptographic service provider that is not installed on your
system."

As it turned out, it was the ASPNET account permissions that I had added to
the C:\Documents and Settings\All Users\Applicati on
Data\Microsoft\ Crypto\RSA\Mach ineKeys folder that was the culprit! When I
remove those permissions, I was then able to import the key and readd the
permissions. The exact permissions I added to the MachineKeys Folders were:

ASPNet (Read & Execute / List Folder Contents / Read) to "this folder,
subfolders and files". I also tried to reproduce the original error using a
different set of permissions on ASPNET as indicated by
http://support.microsoft.com/default...b;en-us;327587 (slightly
different scenario, but similar), but this too caused the error on import.

If this expected behavior when setting permissions on MachineKeys? If so,
I'm surprised there aren't more articles on the web about it.

Happy coding to all!

Michael Bigos
Lead Web Application Developer
The Ayco Company, L.P.
mb****@ayco.com
Nov 18 '05 #1
0 1188

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1905
by: Norman Fritag | last post by:
Hi there, The Problem: I can't write data to an access database in a webfolder of a windows Prof 2000 machine, whereas the same web application runs fine under Windows XP. I looked into the windows security setting for the database and found that is set to deny write access! The deny setting applies only to the Windows Security Web application and Web Anonymous setting, it is Ok for all other User and Admin settings. Now how do I...
3
2212
by: John Kuhn | last post by:
What additional steps are needed to allow web apps to access oracle ODP.NET resources under Windows Server 2003? When using Oracle's ODP.NET (9.2.0.401) from a WebForm I get permission errors when invoking oracle - System Error: Unable to load DLL (OraOps9.dll). Impersonation fixes the error - but cannot be used as a production solution. Under Windows 2000 all you needed to do after installing the Oracle ODP was granting read and...
7
3926
by: Lucas | last post by:
Hi, I have an ASP.Net application written with VS.Net 2002 (Net FWK 1.0). This Web Application uses Exception Management Application Block to log Events to Windows Event Log. We registered the Exception Management Application Block using installutil. Our Application uses impersonation and used to work fine on Windows 2000 Server. Now we installed it on a Windows Server 2003 and when an exception is raised, we get an "Access is denied"...
1
1459
by: Brian | last post by:
I have a complex problem that needs a lot of background explanation before I can ask questions, so here goes.... Our system consists of two servers. -WebUI server - Windows 2000 - runs asp.net pages, and handles http requests. All requests go through this frontend public server. Business objects are then called, which execute stored procs, etc on the WebSQL server. -WebSQL server - Windows 2000 - SQLServer2000 database and file...
2
3213
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
0
1190
by: Chris | last post by:
I'm moving an app to my server and got this strange error. The previous developer created a web service and has two C++ COM+ objects in the project. I'm getting: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\tec-trac\5660ae43\6c7dad27" is denied. He runs the app on a Win2K server, I'm using a Win 2003 Standard server. I found two articles but not sure:
0
1204
by: hagaiy | last post by:
Has anyone else come across this? We are building an ASP.Net application that uses a certificate and private key in the local machine store. (we are testing it both on windows 2000 & 2003) We failed accessing the private key of the certificate and as we tried to figure out what is the problem we came across the following Microsoft Article: http://support.microsoft.com/d­efault.aspx?scid=kb;en-us;3275­87
17
5097
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows XP IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm trying to run an ASP.NET 2 site with 1.1 framework). I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the...
4
2055
by: =?Utf-8?B?ZGlub28=?= | last post by:
We are currently in the process of upgrading our web server from Windows 2000 advanced server to Windows 2003 SP2. We have few ASP.Net applications built with .NET framework 1.1 running on the web server. I am looking for the known issues that I need to go over before we start the upgrade. Appreiciate your help.
0
8868
marktang
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...
0
9389
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9160
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,...
0
8063
agi2029
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...
0
5996
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();...
0
4504
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4771
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3210
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
3
2149
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.