VB6 Apps running Slow 
Author Message
 VB6 Apps running Slow

I got a problem with several apps running slower after the following
process has been completed.

Last year I moved all the Application from an old server (Windows NT
Domain Controller) to a new Windows 2003 server. I also install New
Dell Windows XP system
These apps are launch from a N: drive.
Everything ran fine.

This year I wanted to get rid of the old server since it was only
functioning as a domain controller.
So I migrated the users, sids to the new server new domain. and
everything was fine during that process.
Tested the apps are all seems OK.

After turning off the Old NT domain server and rebooting the
workstations, only the VB apps run slow from the N:
Which has been the same drive that they used all year.
If I turn the old NT server back on the application run much faster.

It may take 2.5 minutes to launch without the old NT server and about
15 secs with it running.
In both cases the app works fine just one slower than the other

I'm not the programmer but only the network consultant, but I'm trying
to determine why these apps want that old server on.



Mon, 20 Jun 2011 03:30:44 GMT  
 VB6 Apps running Slow
Is DNS & WINS running on the old server and not on the new one???

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Quote:
>I got a problem with several apps running slower after the following
> process has been completed.

> Last year I moved all the Application from an old server (Windows NT
> Domain Controller) to a new Windows 2003 server. I also install New
> Dell Windows XP system
> These apps are launch from a N: drive.
> Everything ran fine.

> This year I wanted to get rid of the old server since it was only
> functioning as a domain controller.
> So I migrated the users, sids to the new server new domain. and
> everything was fine during that process.
> Tested the apps are all seems OK.

> After turning off the Old NT domain server and rebooting the
> workstations, only the VB apps run slow from the N:
> Which has been the same drive that they used all year.
> If I turn the old NT server back on the application run much faster.

> It may take 2.5 minutes to launch without the old NT server and about
> 15 secs with it running.
> In both cases the app works fine just one slower than the other

> I'm not the programmer but only the network consultant, but I'm trying
> to determine why these apps want that old server on.



Mon, 20 Jun 2011 12:20:06 GMT  
 VB6 Apps running Slow
Anything in your Event Log? It might be worth enabling the Security Event
Log too in case there are some unexpected authentication attempts when
accessing the N: drive

Have you tried copying your app to, say, the C: drive and checking whether
the performance is the same?

    Tony Proctor


Quote:
>I got a problem with several apps running slower after the following
> process has been completed.

> Last year I moved all the Application from an old server (Windows NT
> Domain Controller) to a new Windows 2003 server. I also install New
> Dell Windows XP system
> These apps are launch from a N: drive.
> Everything ran fine.

> This year I wanted to get rid of the old server since it was only
> functioning as a domain controller.
> So I migrated the users, sids to the new server new domain. and
> everything was fine during that process.
> Tested the apps are all seems OK.

> After turning off the Old NT domain server and rebooting the
> workstations, only the VB apps run slow from the N:
> Which has been the same drive that they used all year.
> If I turn the old NT server back on the application run much faster.

> It may take 2.5 minutes to launch without the old NT server and about
> 15 secs with it running.
> In both cases the app works fine just one slower than the other

> I'm not the programmer but only the network consultant, but I'm trying
> to determine why these apps want that old server on.



Wed, 22 Jun 2011 23:28:30 GMT  
 VB6 Apps running Slow

Quote:
> Is DNS & WINS running on the old server and not on the new one???

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> >I got a problem with several apps running slower after the following
> > process has been completed.

> > Last year I moved all the Application from an old server (Windows NT
> > Domain Controller) to a new Windows 2003 server. I also install New
> > Dell Windows XP system
> > These apps are launch from a N: drive.
> > Everything ran fine.

> > This year I wanted to get rid of the old server since it was only
> > functioning as a domain controller.
> > So I migrated the users, sids to the new server new domain. and
> > everything was fine during that process.
> > Tested the apps are all seems OK.

> > After turning off the Old NT domain server and rebooting the
> > workstations, only the VB apps run slow from the N:
> > Which has been the same drive that they used all year.
> > If I turn the old NT server back on the application run much faster.

> > It may take 2.5 minutes to launch without the old NT server and about
> > 15 secs with it running.
> > In both cases the app works fine just one slower than the other

> > I'm not the programmer but only the network consultant, but I'm trying
> > to determine why these apps want that old server on.- Hide quoted text -

> - Show quoted text -

WINS was running on the old server, but is not part of DHCP anymore.
WINS is not on the new Server since Active Directory is not using it.
The DNS is on the new server, and then forwarded to the Internet.


Sat, 25 Jun 2011 03:09:04 GMT  
 VB6 Apps running Slow
It sounds as if there is confusion about address resolution on your system.
Try pinging the computer names vs the ip addresses.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html



Quote:
> Is DNS & WINS running on the old server and not on the new one???

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script
> Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> >I got a problem with several apps running slower after the following
> > process has been completed.

> > Last year I moved all the Application from an old server (Windows NT
> > Domain Controller) to a new Windows 2003 server. I also install New
> > Dell Windows XP system
> > These apps are launch from a N: drive.
> > Everything ran fine.

> > This year I wanted to get rid of the old server since it was only
> > functioning as a domain controller.
> > So I migrated the users, sids to the new server new domain. and
> > everything was fine during that process.
> > Tested the apps are all seems OK.

> > After turning off the Old NT domain server and rebooting the
> > workstations, only the VB apps run slow from the N:
> > Which has been the same drive that they used all year.
> > If I turn the old NT server back on the application run much faster.

> > It may take 2.5 minutes to launch without the old NT server and about
> > 15 secs with it running.
> > In both cases the app works fine just one slower than the other

> > I'm not the programmer but only the network consultant, but I'm trying
> > to determine why these apps want that old server on.- Hide quoted text -

> - Show quoted text -

WINS was running on the old server, but is not part of DHCP anymore.
WINS is not on the new Server since Active Directory is not using it.
The DNS is on the new server, and then forwarded to the Internet.


Sat, 25 Jun 2011 12:22:29 GMT  
 VB6 Apps running Slow

Quote:
> It sounds as if there is confusion about address resolution on your system.
> Try pinging the computer names vs the ip addresses.

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > Is DNS & WINS running on the old server and not on the new one???

> > --
> > Randem Systems
> > Your Installation Specialist
> > The Top Inno Setup Script
> > Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> > >I got a problem with several apps running slower after the following
> > > process has been completed.

> > > Last year I moved all the Application from an old server (Windows NT
> > > Domain Controller) to a new Windows 2003 server. I also install New
> > > Dell Windows XP system
> > > These apps are launch from a N: drive.
> > > Everything ran fine.

> > > This year I wanted to get rid of the old server since it was only
> > > functioning as a domain controller.
> > > So I migrated the users, sids to the new server new domain. and
> > > everything was fine during that process.
> > > Tested the apps are all seems OK.

> > > After turning off the Old NT domain server and rebooting the
> > > workstations, only the VB apps run slow from the N:
> > > Which has been the same drive that they used all year.
> > > If I turn the old NT server back on the application run much faster.

> > > It may take 2.5 minutes to launch without the old NT server and about
> > > 15 secs with it running.
> > > In both cases the app works fine just one slower than the other

> > > I'm not the programmer but only the network consultant, but I'm trying
> > > to determine why these apps want that old server on.- Hide quoted text -

> > - Show quoted text -

> WINS was running on the old server, but is not part of DHCP anymore.
> WINS is not on the new Server since Active Directory is not using it.
> The DNS is on the new server, and then forwarded to the Internet.- Hide quoted text -

> - Show quoted text -

The dns works fine,

C:\Documents and Settings\Administrator>ping -a counter1

Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.168.15:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>ping -a 192.168.168.15

Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.168.15:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms



Sun, 26 Jun 2011 03:22:34 GMT  
 VB6 Apps running Slow
Ok. Where is the app installed? On the server or workstation or are there
two parts (client/server)?

Are you using UNC to access the server or a drive letter?

Are you using databases for you app on the server? If so what is your
pagefile size?

More question but are dependent on the answers...

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html



Quote:
> It sounds as if there is confusion about address resolution on your
> system.
> Try pinging the computer names vs the ip addresses.

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > Is DNS & WINS running on the old server and not on the new one???

> > --
> > Randem Systems
> > Your Installation Specialist
> > The Top Inno Setup Script
> > Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> > >I got a problem with several apps running slower after the following
> > > process has been completed.

> > > Last year I moved all the Application from an old server (Windows NT
> > > Domain Controller) to a new Windows 2003 server. I also install New
> > > Dell Windows XP system
> > > These apps are launch from a N: drive.
> > > Everything ran fine.

> > > This year I wanted to get rid of the old server since it was only
> > > functioning as a domain controller.
> > > So I migrated the users, sids to the new server new domain. and
> > > everything was fine during that process.
> > > Tested the apps are all seems OK.

> > > After turning off the Old NT domain server and rebooting the
> > > workstations, only the VB apps run slow from the N:
> > > Which has been the same drive that they used all year.
> > > If I turn the old NT server back on the application run much faster.

> > > It may take 2.5 minutes to launch without the old NT server and about
> > > 15 secs with it running.
> > > In both cases the app works fine just one slower than the other

> > > I'm not the programmer but only the network consultant, but I'm trying
> > > to determine why these apps want that old server on.- Hide quoted
> > > text -

> > - Show quoted text -

> WINS was running on the old server, but is not part of DHCP anymore.
> WINS is not on the new Server since Active Directory is not using it.
> The DNS is on the new server, and then forwarded to the Internet.- Hide
> quoted text -

> - Show quoted text -

The dns works fine,

C:\Documents and Settings\Administrator>ping -a counter1

Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.168.15:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>ping -a 192.168.168.15

Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.168.15:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms



Sun, 26 Jun 2011 03:53:00 GMT  
 VB6 Apps running Slow

Quote:
> Ok. Where is the app installed? On the server or workstation or are there
> two parts (client/server)?

> Are you using UNC to access the server or a drive letter?

> Are you using databases for you app on the server? If so what is your
> pagefile size?

> More question but are dependent on the answers...

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > It sounds as if there is confusion about address resolution on your
> > system.
> > Try pinging the computer names vs the ip addresses.

> > --
> > Randem Systems
> > Your Installation Specialist
> > The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > > Is DNS & WINS running on the old server and not on the new one???

> > > --
> > > Randem Systems
> > > Your Installation Specialist
> > > The Top Inno Setup Script
> > > Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> > > >I got a problem with several apps running slower after the following
> > > > process has been completed.

> > > > Last year I moved all the Application from an old server (Windows NT
> > > > Domain Controller) to a new Windows 2003 server. I also install New
> > > > Dell Windows XP system
> > > > These apps are launch from a N: drive.
> > > > Everything ran fine.

> > > > This year I wanted to get rid of the old server since it was only
> > > > functioning as a domain controller.
> > > > So I migrated the users, sids to the new server new domain. and
> > > > everything was fine during that process.
> > > > Tested the apps are all seems OK.

> > > > After turning off the Old NT domain server and rebooting the
> > > > workstations, only the VB apps run slow from the N:
> > > > Which has been the same drive that they used all year.
> > > > If I turn the old NT server back on the application run much faster.

> > > > It may take 2.5 minutes to launch without the old NT server and about
> > > > 15 secs with it running.
> > > > In both cases the app works fine just one slower than the other

> > > > I'm not the programmer but only the network consultant, but I'm trying
> > > > to determine why these apps want that old server on.- Hide quoted
> > > > text -

> > > - Show quoted text -

> > WINS was running on the old server, but is not part of DHCP anymore.
> > WINS is not on the new Server since Active Directory is not using it.
> > The DNS is on the new server, and then forwarded to the Internet.- Hide
> > quoted text -

> > - Show quoted text -

> The dns works fine,

> C:\Documents and Settings\Administrator>ping -a counter1

> Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

> Ping statistics for 192.168.168.15:
> ? ? Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> Approximate round trip times in milli-seconds:
> ? ? Minimum = 0ms, Maximum = 0ms, Average = 0ms

> C:\Documents and Settings\Administrator>ping -a 192.168.168.15

> Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

> Ping statistics for 192.168.168.15:
> ? ? Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> Approximate round trip times in milli-seconds:
> ? ? Minimum = 0ms, Maximum = 0ms, Average = 0ms- Hide quoted text -

> - Show quoted text -

The APPS are running from the N drive, that data is stored on the N:
drive
The application path is N

the database is flat files as far as i know, (remember I'm not the
programmer)



Sun, 26 Jun 2011 05:48:37 GMT  
 VB6 Apps running Slow
Ok, the app is running on a seperate computer from the server and attaches
to the N: Drive where it reads and writes the data correct?

If the app works better when the old server is on, there is a possibility
that the software looks for the old server, either by name or ip address,
waits for a timeout then accesses the N: drive

Check the applications settings for possible UNC settings using the old
server's name/address.

If this is the case then the app would run very much slower for it will
attempt to wait for an error before continuing.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html



Quote:
> Ok. Where is the app installed? On the server or workstation or are there
> two parts (client/server)?

> Are you using UNC to access the server or a drive letter?

> Are you using databases for you app on the server? If so what is your
> pagefile size?

> More question but are dependent on the answers...

> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > It sounds as if there is confusion about address resolution on your
> > system.
> > Try pinging the computer names vs the ip addresses.

> > --
> > Randem Systems
> > Your Installation Specialist
> > The Top Inno Setup Script Generatorhttp://www.randem.com/innoscript.html




> > > Is DNS & WINS running on the old server and not on the new one???

> > > --
> > > Randem Systems
> > > Your Installation Specialist
> > > The Top Inno Setup Script
> > > Generatorhttp://www.randem.com/innoscript.htmlhttp://www.randem.com/installerp...



> > > >I got a problem with several apps running slower after the following
> > > > process has been completed.

> > > > Last year I moved all the Application from an old server (Windows NT
> > > > Domain Controller) to a new Windows 2003 server. I also install New
> > > > Dell Windows XP system
> > > > These apps are launch from a N: drive.
> > > > Everything ran fine.

> > > > This year I wanted to get rid of the old server since it was only
> > > > functioning as a domain controller.
> > > > So I migrated the users, sids to the new server new domain. and
> > > > everything was fine during that process.
> > > > Tested the apps are all seems OK.

> > > > After turning off the Old NT domain server and rebooting the
> > > > workstations, only the VB apps run slow from the N:
> > > > Which has been the same drive that they used all year.
> > > > If I turn the old NT server back on the application run much faster.

> > > > It may take 2.5 minutes to launch without the old NT server and
> > > > about
> > > > 15 secs with it running.
> > > > In both cases the app works fine just one slower than the other

> > > > I'm not the programmer but only the network consultant, but I'm
> > > > trying
> > > > to determine why these apps want that old server on.- Hide quoted
> > > > text -

> > > - Show quoted text -

> > WINS was running on the old server, but is not part of DHCP anymore.
> > WINS is not on the new Server since Active Directory is not using it.
> > The DNS is on the new server, and then forwarded to the Internet.- Hide
> > quoted text -

> > - Show quoted text -

> The dns works fine,

> C:\Documents and Settings\Administrator>ping -a counter1

> Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

> Ping statistics for 192.168.168.15:
> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> Approximate round trip times in milli-seconds:
> Minimum = 0ms, Maximum = 0ms, Average = 0ms

> C:\Documents and Settings\Administrator>ping -a 192.168.168.15

> Pinging counter1.bergpc.com [192.168.168.15] with 32 bytes of data:

> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128
> Reply from 192.168.168.15: bytes=32 time<1ms TTL=128

> Ping statistics for 192.168.168.15:
> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> Approximate round trip times in milli-seconds:
> Minimum = 0ms, Maximum = 0ms, Average = 0ms- Hide quoted text -

> - Show quoted text -

The APPS are running from the N drive, that data is stored on the N:
drive
The application path is N

the database is flat files as far as i know, (remember I'm not the
programmer)



Sun, 26 Jun 2011 08:08:16 GMT  
 VB6 Apps running Slow
Besides what Randem suggested, use Filemon, TCPView, and perhaps Regmon to
see what the software is doing, in particular repeated failures. You can
download these tools from the following site:

http://technet.microsoft.com/en-us/sysinternals/default.aspx

To only see what the software is doing, use the filter feature and add the
exe name. Example: "*MySoftware.exe*"

Also, try using "tracert" from Command Prompt.



Sun, 26 Jun 2011 08:18:38 GMT  
 VB6 Apps running Slow


Quote:
> Besides what Randem suggested, use Filemon, TCPView, and perhaps Regmon to

Note: FileMon and RegMon aren't for Vista or Win 2008. They're only for XP
and Win 2003.  Better to downalod Process Monitor which is for Xp, 2003,
Vista and 2008.  It includes FielMon and RegMon capabilities:

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Quote:
> see what the software is doing, in particular repeated failures. You can
> download these tools from the following site:

> http://technet.microsoft.com/en-us/sysinternals/default.aspx

> To only see what the software is doing, use the filter feature and add the
> exe name. Example: "*MySoftware.exe*"

> Also, try using "tracert" from Command Prompt.



Sun, 26 Jun 2011 08:32:10 GMT  
 
 [ 11 post ] 

 Relevant Pages 

1. App runs slower after conversion to VB6 and Access 2000

2. 16-bit app calling VB6 32bit app - Slow

3. Slow, slow, slow search on VB6, ADO and SS7

4. Port of VB3 to VB5 app runs slow

5. Database access Slow when a DOS App run

6. Slow Startup w/DDE app when Outlook is running

7. VB app running slow on Win95

8. VB6.0/Win98 app. run at Win95

9. VB6/Access 97 app on computer running Access 2000

10. Running a VB6 app under Linux

11. Running a VB6 app as an NT service?

12. Running VB6 App as NT background task

 

 
Powered by phpBB® Forum Software