Board index » delphi » 2 copies of Pdoxusrs.Net Error!!!

2 copies of Pdoxusrs.Net Error!!!

Hello Delphi Savior,

I got 2 copies of Pdoxusrs.Net while running my Delphi Application.
It should only be ONE!

One of them is found in C:\ and the other is in my predefined
Directory (C:\Prospect\Data).

This is what I do
   Erase ALL Pdoxusrs.Net from my computer.
   Run my Application
   Check for existence of Pdoxusrs.Net (2 copies)

These two copies cannot be erased from the hard-disk while my
application is running.
One I quit my application, they can be deleted.

I also got the message from ReportSmith Runtime that the Directory
C:\Prospect\Data is Lock.

I am very desperate as I need to implement it next week ... 3 days
later

--
/////////////////////////////////////////////////////////////
   0   0       regards
      ||         rj...@mbox3.singnet.com.sg
     ==        jonathan yeo
    hello                                                          
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 

Re:2 copies of Pdoxusrs.Net Error!!!


Are you running multiple sessions in your application.  Each session can
have its own net file.

Re:2 copies of Pdoxusrs.Net Error!!!


Hmmm... I kinda have an idea of what you're going thru.... but you
didn't state your real problem here.
So what's wrong w/having 2 copies of "Pdoxusrs.Net"?
It prevents another user from logging-in, right? If this is what you
intended to ask, configure your DBE such that
the 2 machines have their Net File Directory pointed to the same
path/file -- and that will do it!

Goodluck!

Quote
Jonathan Yeo H.M. wrote:
> Hello Delphi Savior,

> I got 2 copies of Pdoxusrs.Net while running my Delphi Application.
> It should only be ONE!

> One of them is found in C:\ and the other is in my predefined
> Directory (C:\Prospect\Data).

> This is what I do
>    Erase ALL Pdoxusrs.Net from my computer.
>    Run my Application
>    Check for existence of Pdoxusrs.Net (2 copies)

> These two copies cannot be erased from the hard-disk while my
> application is running.
> One I quit my application, they can be deleted.

> I also got the message from ReportSmith Runtime that the Directory
> C:\Prospect\Data is Lock.

> I am very desperate as I need to implement it next week ... 3 days
> later

> --
> /////////////////////////////////////////////////////////////
>    0   0       regards
>       ||         rj...@mbox3.singnet.com.sg
>      ==        jonathan yeo
>     hello
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

  vcard.vcf
< 1K Download

Re:2 copies of Pdoxusrs.Net Error!!!


Quote
Jonathan Yeo H.M. wrote:

> Hello Delphi Savior,

> I got 2 copies of Pdoxusrs.Net while running my Delphi Application.
> It should only be ONE!

> One of them is found in C:\ and the other is in my predefined
> Directory (C:\Prospect\Data).

> This is what I do
>    Erase ALL Pdoxusrs.Net from my computer.
>    Run my Application
>    Check for existence of Pdoxusrs.Net (2 copies)

> These two copies cannot be erased from the hard-disk while my
> application is running.
> One I quit my application, they can be deleted.

> I also got the message from ReportSmith Runtime that the Directory
> C:\Prospect\Data is Lock.

> I am very desperate as I need to implement it next week ... 3 days
> later

> --
> /////////////////////////////////////////////////////////////
>    0   0       regards
>       ||         rj...@mbox3.singnet.com.sg
>      ==        jonathan yeo
>     hello
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

If you are getting multiple access error, take a look at
Session.NetFileDir . This can be setup in your FormCreate
Event to assign a single pdoxusrs.net location. Hope this is clear
enough.

Other Threads