&nbsp;<BR>We have an application for that we had written in VB6 that <BR>referenced a DLL CLAPICOM.dll to create an objects to be <BR>used in our project. This DLL is used to access the <BR>controls of the DAVAOX dialer.<BR><BR>Now we are trying to build a web based interface for the <BR>same. But when i try to instance an object from the DLL i <BR>get an error on runtime. [UnauthorizedAccessException: <BR>Access is denied.] The error says that the file might not <BR>have write permission but i am running Windows 2000 with <BR>FAT32 partition so there is no problem with file <BR>permissions.<BR><BR>Do please let me know if some one can help me. Mail me at <BR>saurabh.bhatia@ittglobal.com<BR><BR>-----------------------------------------------------<BR>CODE<BR><BR>Dim objDvx As CLAPICOMLib.AsiClapi<BR>objDvx = New CLAPICOMLib.AsiClapi()<BR><BR>I have also tried<BR><BR>Dim objDvx As New CLAPICOMLib.AsiClapi()<BR><BR>-------------------------------------------------------<BR>ERROR Message as it appears<BR>-------------------------------------------------------<BR>Access is denied. <BR>Description: An unhandled exception occurred during the <BR>execution of the current web request. Please review the <BR>stack trace for more information about the error and where <BR>it originated in the code. <BR><BR>Exception Details: System.UnauthorizedAccessException: <BR>Access is denied. <BR><BR>The ASP.NET process is not authorized to access the <BR>requested resource. For security reasons the default <BR>ASP.NET process identity is &#039;{machinename}ASPNET&#039;, which <BR>has limited privileges. Consider granting access rights to <BR>the resource to the ASP.NET process identity. <BR><BR>To grant ASP.NET write access to a file, right-click the <BR>file in Explorer, choose "Properties" and select the <BR>Security tab. Click "Add" to add the "{machinename}<BR>ASPNET" user. Highlight the ASP.NET account, and check <BR>the Write box in the Allow column.<BR><BR>Source Error: <BR><BR><BR>Line 28: Private Sub Submit_Click(ByVal sender As <BR>System.Object, ByVal e As System.EventArgs) Handles <BR>Submit.Click<BR>Line 29: Dim objDvx As CLAPICOMLib.AsiClapi<BR>Line 30: objDvx = New CLAPICOMLib.AsiClapi()<BR>Line 31: Dim objDvxEvent As New <BR>CLAPICOMLib.AsiClapiEvent()<BR>Line 32: Dim tmp As String<BR><BR><BR>Source File: <BR>c:inetpubwwwrootaspnetdavoxlogin.aspx.vb Line: 30 <BR><BR>Stack Trace: <BR><BR><BR>[UnauthorizedAccessException: Access is denied.]<BR>davox.WebForm1.Submit_Click(Object sender, EventArgs e) <BR>in c:inetpubwwwrootaspnetdavoxlogin.aspx.vb:30<BR>Sys tem.Web.UI.WebControls.Button.OnClick(EventArgs e)<BR><BR>System.Web.UI.WebControls.Button.System. Web.UI.IPostBackEve<BR>ntHandler.RaisePostBackEven t(String eventArgument)<BR>System.Web.UI.Page.RaisePostBack Event<BR>(IPostBackEventHandler sourceControl, String eventArgument)<BR>System.Web.UI.Page.RaisePostBack Event<BR>(NameValueCollection postData)<BR>System.Web.UI.Page.ProcessRequestMain ()<BR> <BR>