VS 2005 and .NET 2.0 - WeOnlyDo Discussion board

VS 2005 and .NET 2.0 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Howie, Thursday, July 13, 2006, 17:08 (6708 days ago)

Is there a known issue using WeOnlyDo.Client.SFTP.dll with VS 2005 and .Net 2.0??

I am in the process of coverting projects from .Net 1.1 to 2.0 and the only ones I am having problems with use SFTP.
It is referencing my aspx file, but there is nothing wrong with it syntactically.


Thanks,
Howie

Very strange compiler messages:

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesd000300m63a35b5539ccd6a6App_Web_eqgxsnmc.1.vr(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootD000300MProcess.aspx(27,1): error VR1032: Syntax Error: 'DclFld' is not valid in this context.
c:inetpubwwwrootD000300MProcess.aspx(27,1): error VR1039: 'DclFld' must immediately follow .
c:inetpubwwwrootD000300MProcess.aspx(33,1): error VR1032: Syntax Error: 'DclFld' is not valid in this context.

Re: VS 2005 and .NET 2.0

by wodDrazen, Thursday, July 13, 2006, 19:10 (6708 days ago) @ Howie

Hi Howie,


WodSFTP.NET should work with VS 2005 so I'm quite not sure what can cause your problem.
In your application you are using wodSFTP.NET and other stuff.

Can you try to convert for test just wodSFTP.NET to VS 2005 and NET 2.0 to isolate your problem.

Also, are you using licensed version of wodSFTP.NET or DEMO.
If you are using DEMO and distribute it you can get error.

Hope this helps.


Regards,
Drazen

Re: VS 2005 and .NET 2.0

by Howie, Thursday, July 13, 2006, 19:22 (6708 days ago) @ wodDrazen

Ok,
I created a separate TEST project only in VS 2005.
I added only one button to the Default.aspx page.
I added the reference to SFTP.

ALSO, yes, we are licensed.

I get the following compiler messages when compiling.

------ Build started: Project: http://localhost/TestWOD/, Configuration: Debug .NET ------
Validating Web Site
Building directory '/TestWOD/'.

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files estwoda86888564dc923e3App_Web_w9bkdymf.1.vr(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(12,1): error VR1032: Syntax Error: 'DclFld' is not valid in this context.
c:inetpubwwwrootTestWODDefault.aspx(12,1): error VR1039: 'DclFld' must immediately follow .
c:inetpubwwwrootTestWODDefault.aspx(10,1): error VR1032: Syntax Error: 'DclFld' is not valid in this context.
c:inetpubwwwrootTestWODDefault.aspx(10,1): error VR1039: 'DclFld' must immediately follow .
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files estwoda86888564dc923e3App_Web_w9bkdymf.2.vr(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(12,1): error VR1029: Syntax Error: Expecting a class member, found ''(''. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(12,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(10,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(10,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
c:inetpubwwwrootTestWODDefault.aspx(1,1): error VR1029: Syntax Error: Expecting a class member, found 'identifier'. Code is not allowed outside of subroutines.
Validation Complete
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

Re: VS 2005 and .NET 2.0

by Howie, Thursday, July 13, 2006, 19:35 (6708 days ago) @ Howie

UPDATE already.

I did another test identical to the one above BUT WITH VB, and it compiles fine.

I will submit this problem to our Language Compiler people.

Thanks.

Re: VS 2005 and .NET 2.0

by wodSupport, Friday, July 14, 2006, 00:53 (6708 days ago) @ Howie

Howie,

if that helps you, I can recompile wodSFTP.NET in VS2005 and send it to you so you have clean version.

If you think that will help, please send email to techsupport so we can reply with attachment.

Kreso

Re: VS 2005 and .NET 2.0

by Howie, Friday, July 14, 2006, 14:15 (6707 days ago) @ wodSupport

Kreso,
Thank you.

They have logged it as a bug on their end, so at this point we are willing to give them some time to solve.

If they cannot by the time we NEED it, I will be back in touch.


-Howie

Re: VS 2005 and .NET 2.0

by Howie, Thursday, August 03, 2006, 14:43 (6687 days ago) @ Howie

Kreso,
I am still waiting for the vendor to get me a fixed version of their software to fix this.
Unfortunately, I am out of time and need to move forward.
I fit is no problem, I will take you up on your offer to recompile me a 2.0 version of SFTP.

Let me know what you need from me to get this done...

Thanks,

Howie

Kreso,
Thank you.

They have logged it as a bug on their end, so at this point we are willing to give them some time to solve.

If they cannot by the time we NEED it, I will be back in touch.


-Howie