Using DLL's in ASP.net
Thu, 17 Jul 2008 21:27:55 -0700 (PDT)
Hi,
I tried to use a dll in my .net application to generate charts.
The following was done:
The dll was registered using regsrv32.
A sample .net program was written to generate charts.
Now I am getting the following Exception while running the
application.
Security Exception
Description: The applicat ...
|
DsCrackName with DS_NAME_FLAG_TRUST_REFERRAL flag not working
Thu, 17 Jul 2008 16:36:05 -0700
Hi I'm using the code from this url
http://www.pinvoke.net/default.aspx/ntdsapi/DsCrackNames.html?diff=y
My code:
NamesCracked = DSAPI.DSAPI.HandleDsCrackNames(hds,
DSAPI.DSAPI.DS_NAME_FLAGS.DS_NAME_FLAG_TRUST_REFERRAL,
DSAPI.DSAPI.DS_NAME_FORMAT.DS_SID_O ...
|
Importing a PFX file using X509Certificate2 from ASP fails
Thu, 17 Jul 2008 14:22:55 +0200
Hi all!
I have a problem while importing a pfx file (or a pfx-byte-array) with
X509Certificate2 constructor.
When I call
X509Certificate2 cert = new X509Certificate2("a.pfx", "password");
I get the following Exception:
+++++++++++++++++++++++++
System.Security.Cryptography.CryptographicException: The ...
|
HttpWebRequest With SSL, Problem while deploying to IIS
Thu, 17 Jul 2008 03:50:01 -0700
Hi, In one of my Asp.Net 2.0 application i have to retrieve the data from
other server which is using the SSL Client certificates to authenticate.
to accomplish this i have used the HttpWebRequest and pass the SSL
Certificate to it, and it works fine while running the project from the
Visual Studio every t ...
|
Microsoft .NET 2.0 Framework Configuration
Wed, 16 Jul 2008 04:59:23 -0700
I've noticed on many of the computers in my company, the Microsoft .NET 2.0
Framework Configuration is missing from Administrative Tools. The only way I
have found to get it onto those PCs is to load the NET Framework 2.0 SDK
except for the fact that it's a 354 MB download. The install also takes a
while.
...
|
dot net interviews
Tue, 15 Jul 2008 17:00:37 -0700 (PDT)
.NET database dev questions
http://freedownloadablebooks.blogspot.com/2008/03/net-database-dev-questions.html
Some general quickies
http://freedownloadablebooks.blogspot.com/2008/03/some-general-quickies.html
.NET WebDev interview questions - Part 1
http://freedownloadablebooks.blogspot.com/2008/03/net-webdev-i ...
|
XP SP3 Password Change
Tue, 15 Jul 2008 07:52:01 -0700
I am running Windows Server 2003 R2 SP1 with XP and 2k clients.
The newer machines I have are running XP SP3.
The problem I have on the SP3 machines is that I cannot perform a Change
Password. The Change Password Dialog box appears, but the New password is
never accepted as valid. It comes back with the enha ...
|
|
|
Changing execution context in the app.
Mon, 14 Jul 2008 16:58:59 -0700
Hello,
I am trying to see if I can change the execution context of my code to
'NT Authority\Network Service'. How can I do that?
If I execute my code, it will run as myself, but I would like some part
of my code to run as Network Service.
This is for testing purpose, my unit test ideally run some part of ...
|
RC4 without interop with older Crypto API.
Fri, 11 Jul 2008 16:47:20 +0100
People,
I've got a current application written r C++ and VB6 which uses RC4 (yes I
know its not very strong but was sufficient at the time) for certain
communications. All participants have access to a locally held shared
secret key which is a simple string on which I use a SHA1 hash to derive a
key.
Now ...
|
PSEXEC
Wed, 9 Jul 2008 10:51:11 -0700
I am using PSEXEC to remote install register some dlls and apps to my
workstations. Corp has decided to block the PSEXEC.EXE via McAfee. I got
around part of that by renameing my file to another name. The issue is that
when I am running my commands, the PSEXEC command window does not go away. I
am thinking t ...
|