NETWORK problems with WINDOWS 7

NETWORK problems with WINDOWS 7

Postby Otto » Thu Jun 03, 2010 4:03 pm

To all:

I do have problems with WINDOWS 7 against WINDOWS 7 or 2008 SERVER.

This is my test environment.

I am connected with MSTSC to the server where I copy a file to a folder.
(if I copy the file from the local PC to the server folder there is no problem!)

On my WINDOWS 7 PC I run the attached test.exe.

I check the for the file. I takes from 3 to 7 sec. till the test – program gets notice.

Could someone please make a similar test?

Thanks in advance
Otto

Here is a short video to demonstrate the behavior.





http://www.atzwanger-software.com/fw/directory_test/index.html

Code: Select all  Expand view
#include "FiveWin.ch"


static oTmr


function Main()

   local oDlg, oProg
   
   DEFINE DIALOG oDlg TITLE "Progress and timer"
 
   
   @ 2.5, 10 BUTTON "End" ACTION oDlg:End()
   
   ACTIVATE DIALOG oDlg CENTER ;
      ON INIT (  Timer( oDlg, oProg ) )
   
return nil  

//----------------------------------------------------------------------------//

function Timer( oDlg, oProg )
   
   DEFINE TIMER oTmr INTERVAL 300 ;
      ACTION ( checkDir() ) OF oDlg

   ACTIVATE TIMER oTmr

return nil  
//----------------------------------------------------------------------------//

function checkDir()
 local aDirServ := {}
    oTmr:Deactivate()
   
    aDirServ := directory( "r:\itouch\bills\" + "*.dbf", "D" )

      if len(aDirServ) > 0
msginfo(   UPPER( aDirServ[1,1] ) )

        endif


  oTmr:activate()
return nil
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby Otto » Fri Jun 04, 2010 7:28 am

To all:
I made the same test program in VB6 too.
The results are the same as with the (x)harbour test program.

To all:
Please help testing – more and more users switch to WINDOWS 7.
If there is a special netork setup necessary we have to fine this.

Could someone please report his test results.

Thank you so much for your help.
Best regards,
Otto

Code: Select all  Expand view

VB6 code!!!!

Private Sub Form_Load()
     Set fso = New FileSystemObject
    Timer1.Interval = 300
 
End Sub


Private Sub Timer1_Timer()

    Dim cLockDatei        As String
        Timer1.Enabled = False
        cLockDatei = "r:\itouch\bills\" & "test.txt"

        If fso.FileExists(cLockDatei) = True Then
           
            MsgBox ("
file ok")
       
        Else

        End If
        Timer1.Enabled = True
End Sub

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby Maurizio » Fri Jun 04, 2010 10:41 am

User avatar
Maurizio
 
Posts: 823
Joined: Mon Oct 10, 2005 1:29 pm

Re: NETWORK problems with WINDOWS 7

Postby driessen » Fri Jun 04, 2010 11:22 am

Otto,

I tested your xHarbour example, as well from Windows 7 to Windows 7 and from Windows 7 to Windows Server 2008.

I don't have any problem.

A few weeks ago, I had an indexing problem with Windows 7 to Windows SBS 2008 (which is always 64-bits).

Have a look at this topic about this problem : http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18851.

Maybe, this is the problem on your network too. Try to disable SMB 2.0 on your server and on your Windows 7 PC. Maybe, your problem is solved then.

Good luck.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: NETWORK problems with WINDOWS 7

Postby Otto » Fri Jun 04, 2010 11:37 am

Hello Maurizio, hello Michel,

thank you for your help.
I will test with SMB2 disabled.

Michel,

Did you test running the program on WINDOWS 7 client and make the changes inside the folder from within 2008 Server?

As from XP and mobile 6.1 the changes are seen within milliseconds do you think to disable SMB2 is also necessary
on the server.

I opened a support case with Microsoft. I get at 2.o’clock a call. I will report what the Microsoft support is suggesting.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby driessen » Fri Jun 04, 2010 12:41 pm

Otto,

I did a lot of tests from Windows 7 to Windows Server 2008 and since I disabled SMB 2.0, I didn't have any problem anymore.

The SMB 2.0 problem only refers to Windows Vista, Windows 7 and Windows 2008. For XP there never was any problem.

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: NETWORK problems with WINDOWS 7

Postby Otto » Fri Jun 04, 2010 12:44 pm

Michel,
do you have a description – or a link where I can find a description - how to disable SMB 2.

Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby driessen » Fri Jun 04, 2010 1:21 pm

Otto,

This links describes how to disable SMB 2.0, on th 64-bit server as well as on the Windows 7 or Windows Vista PC's.

http://www.caseware.com/support/caseknowledge/file-corruption-when-using-windows-vista-windows

Good luck.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: NETWORK problems with WINDOWS 7

Postby Otto » Fri Jun 04, 2010 3:16 pm

Michel,

I disabled SMB but now I can’t get net access any more. Is there something special to follow?

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby Otto » Fri Jun 04, 2010 3:49 pm

Hello Michel,
I restarted the system again and now all is working.
I only changed the SERVER registry. Now speed is the same as with XP.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6314
Joined: Fri Oct 07, 2005 7:07 pm

Re: NETWORK problems with WINDOWS 7

Postby driessen » Sat Jun 05, 2010 10:33 am

Otto,

Thanks but no thanks. I was glad to be somewhat helpful to you.

Have a nice weekend.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests