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

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

by Howie, Monday, June 12, 2006, 22:15 (6738 days ago)

After deploying a web application using this module to the server, I am now getting this message.
I require users to sign in to the web page and use windows authentication.
I am also using Impersonate true in the Web.Config file.

I can run the application successfully (I think I am in the Administrator Group), but a normal user cannot.

I havent had a problem in the past.
I have just solved a different unrelated problem with the PUTFILE earlier today and thought everything was good.

Any ideas are appreciated.

Thanks.

Re: weonlydo.client.sftp - access denied

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

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

Re: weonlydo.client.sftp - access denied

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

Re: weonlydo.client.sftp - access denied

by wodSupport, Tuesday, June 13, 2006, 00:16 (6738 days ago) @ Howie

Howie,

I didn't hear about this error before, but I would first ask you if file WeOnlyDo.Client.SFTP.dll does have read/execute permissions on the file itself?

If you create new empty webpage, and just add wodSFTP.NET to it and tyr to connect somewhere, do you get the same error?

Kreso

Re: weonlydo.client.sftp - access denied

by Howie, Tuesday, June 13, 2006, 14:22 (6737 days ago) @ wodSupport

Kreso,
Yes, the dll does have read and execute permissions for all users.
I will try in an empty web page like you suggest.
Remember though, I am not even trying to connect. At the time I get the message, I have not instantiated a new SFTP class.

We havent had this problem in the past which is why I am trying to think what has been changed or updated, or anything.

Thanks.
Howie

Howie,

I didn't hear about this error before, but I would first ask you if file WeOnlyDo.Client.SFTP.dll does have read/execute permissions on the file itself?

If you create new empty webpage, and just add wodSFTP.NET to it and tyr to connect somewhere, do you get the same error?

Kreso

Re: weonlydo.client.sftp - access denied

by Howie, Tuesday, June 13, 2006, 14:44 (6737 days ago) @ Howie

IT WORKS today!
I did nothing. The ONLY thing different between yesterday and today is the date, and the USER shuts her PC down at night.
I am thinking it had to be a Cache problem or something.

I honestly do not know.

But thanks for your help.

Howie

Kreso,
Yes, the dll does have read and execute permissions for all users.
I will try in an empty web page like you suggest.
Remember though, I am not even trying to connect. At the time I get the message, I have not instantiated a new SFTP class.

We havent had this problem in the past which is why I am trying to think what has been changed or updated, or anything.

Thanks.
Howie

Howie,

I didn't hear about this error before, but I would first ask you if file WeOnlyDo.Client.SFTP.dll does have read/execute permissions on the file itself?

If you create new empty webpage, and just add wodSFTP.NET to it and tyr to connect somewhere, do you get the same error?

Kreso