Re: weonlydo.client.sftp - access denied - WeOnlyDo Discussion board

Re: weonlydo.client.sftp - access denied (General questions)

by Howie, Monday, June 12, 2006, 22:59 (6738 days ago) @ wodDrazen

Drazen,
No, this has nothing to do with the server we are trying to connect to. I have pasted below the error message my user is getting when she tries running the application with your client assembly in it.
This works for me.
By server, I meant our IIS Server.

Server Error in '/d000300m' Application.

--------------------------------------------------------------------------------

Access is denied: 'WeOnlyDo.Client.SFTP'.
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.FileLoadException: Access is denied: 'WeOnlyDo.Client.SFTP'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Assembly Load Trace: The following information can be helpful to determine why the assembly 'WeOnlyDo.Client.SFTP' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = WeOnlyDo.Client.SFTP, Version=3.0.4.25, Culture=neutral, PublicKeyToken=305e8ab915f4f7a3
(Fully-specified)
LOG: Appbase = file:///C:/inetpub/wwwroot/d000300m
LOG: Initial PrivatePath = bin
Calling assembly : d000300m, Version=1.0.2354.20211, Culture=neutral, PublicKeyToken=null.
===

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/d000300m/b3714799/af3196a7/WeOnlyDo.Client.SFTP.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/d000300m/b3714799/af3196a7/WeOnlyDo.Client.SFTP/WeOnlyDo.Client.SFTP.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/d000300m/bin/WeOnlyDo.Client.SFTP.DLL.


Stack Trace:


[FileLoadException: Access is denied: 'WeOnlyDo.Client.SFTP'.]
d000300m.process.btnConfirm_Click(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(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() +1273


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

Hi Howie,


Please send us code snippet of you problem so we can better understand it.

So you are connecting to some server with wodSFTP server and server returns you an error.
If your server has some restriction. He can inform you that you are accessing some folders that you don't have permission, is this possible?

Is that error referring to wodSFTP ActiveX component or to you?
If error is referring to out component this is something that we can do about it.
If error refer to you (to user of that server) than you done something wrong and you must change your code to get it work.

Hope this helps.


Regards,
Drazen


Complete thread: