I can get the above function working in an HTML page but have not been
able to make it work in a Web page.
I always get the following message can anyone help? What file is it
needing? XenrollNET is the output from TlbImp.exe with Xenroll.dll as
the input.
Cheers, Phil
Server Error in '/BoleroID' Application.
---------------------------------------------------------------------------
-----
The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: The system cannot find
the file specified.
Source Error:
Line 60:
Line 61: ' Create the PKCS #10 request.
Line 62: strReq = x.createPKCS10(strDN, "1.3.6.1.4.1.311.2.1.21")
Line 63:
Line 64: MakeCert = strReq
Source File: c:\inetpub\wwwroot\BoleroID\Util.vb Line: 62
Stack Trace:
[FileNotFoundException: The system cannot find the file specified.]
xenrollNET.CEnrollClass.createPKCS10(String DNName, String Usage) +0
BoleroID.Util.MakeCert() in c:\inetpub\wwwroot\BoleroID\Util.vb:62
BoleroID.WebForm1.btnEmail_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\BoleroID\BoleroID.aspx.vb:82
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaiseP
ostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1263
---------------------------------------------------------------------------
-----
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET
Version:1.0.3705.0