|
-
Jun 5th, 2008, 08:41 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Pgm cannot see the new server
Hi,
My question relates to the 'address' that can be used to find a central databse that is stored on a server.
I have never owned a server, so I am very ignorant in that area.
I have a vb6 application that uses(from an INI file) the 'address' where the database is located -
LeadsJobsPath=\\sg-server\JobReg\
That has been working for a few years.
A new server was installed, and the folders were copied across to the new server.
The technician gave the new server a different 'address' as the two were running simultaneously whilst migrating -
LeadsJobsPath=\\sg2-server\JobReg\
The program (which runs on local pcs) crashes when it attempts to find the new server.
If I use the address bar in Windows Explorer, I can navigate to the old server.
If I try the same with the new 'address' it cannot find it.
The technician is gone (only there to put in the new server).
Could someone advise me how that new address should be setup ?
The technician actually told me the new name so he has 'put it' somewhere. I just assume that he has not 'gone the whole 9 yards'
Thanks,
Rob
-
Jun 5th, 2008, 09:42 PM
#2
Re: Pgm cannot see the new server
Depends on how your network is setup, might as well have another technician take a look at your network.
-
Jun 6th, 2008, 04:13 PM
#3
Re: Pgm cannot see the new server
you can do all the windows things like search for computers, or check the server itself for its ip address and name, check that the server folders are shared on the network, with appropriate permissions for users to be able to read /write to the database files.
i assume that the old server must be going to be taken off the network at some point, then the new server should be made available
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jun 6th, 2008, 11:35 PM
#4
Thread Starter
Fanatic Member
Re: Pgm cannot see the new server
Thanks guys,
There were a few problems in my code, caused by the changes he had made to the server name, and there were access rights problems (he had not set the same rights in the new server, as were present in the old server).
Finally got the program working today.
Both servers will be riunning for a while, as other (off site)users still use applications in the old server.
Today when were trying to copy the databases from the old server, that typing of the \\ address into Windows explorer still did not work for the new server. But it does for the old server
We got around it (for the database copying).
My code which uses the \\ address in the INI, is getting access now, so I will declare this resolved.
Thanks again,
Rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|