Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resource Files on Windows 2003 Server 2

Status
Not open for further replies.

itflash

Programmer
Jul 18, 2001
535
GB

Hi all

My VFP8 application was running in a terminal server environment fine (Windows 2000).

My client upgraded to Windows 2003 and my application still works fine.

However....non-administrator users get "The Resource File is not Valid" when they run the application.

In my startup program - I set resource off.

Any ideas?
Is it the locale?

Thanks
ITflash



 
Hi Itflash,

SET RESOURCES OFF gets the effect when the application starts and gets thru' that statement. However, the first thing when application starts is to create a FoxUser.DBF and then passes theu that line of code. SO this is the story of Chiken or the Egg which came first.

If you keep a default FoxUser.DBF in the place of application executable, probably this will be solved. The application will start with that FoxUser.dbf and then, it will get turned off with the SET RESOURCES OFF statement.

:)

____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 

Thanks for the reply.

I removed the foxuser.dbf etc and they get recreated.

I checked the standard user permissions and they only have read and execute.

I think in one of my forms (private datasession) I do not have resource off (for one reason or another).

Does this shed any further light?

Thanks
ITflash
 
HI

That is exactly the reason, you get the error,

You should give Read/Write permission to the FoxUser.dbf and FoxUser.FPT files. Dont remove them.

:)

____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
Put RESOURCE=OFF in the CONFIG.FPW and they won't be created at all.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top