Discussion:
Vista and Visual FoxPro 6.0
(too old to reply)
JoeB
2007-02-12 09:13:00 UTC
Permalink
When trying to run my app in Vista the customer gets:

OLE error code 0x8002801d:Library not registered

The application runs trouble free in all previous versions of Windows.

Has anyone run into this yet?
Man-wai Chang
2007-02-12 09:32:29 UTC
Permalink
Post by JoeB
OLE error code 0x8002801d:Library not registered
Vi$ta x64 or x86?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
JoeB
2007-02-12 09:45:01 UTC
Permalink
Post by Man-wai Chang
Post by JoeB
OLE error code 0x8002801d:Library not registered
Vi$ta x64 or x86?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
JoeB
2007-02-12 09:48:00 UTC
Permalink
Post by Man-wai Chang
Post by JoeB
OLE error code 0x8002801d:Library not registered
Vi$ta x64 or x86?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Thanks for the reply. He just bought a laptop with Vista installed. I am
not certain of the version. Does it matter?
Man-wai Chang
2007-02-13 07:50:45 UTC
Permalink
Post by JoeB
Thanks for the reply. He just bought a laptop with Vista installed. I am
not certain of the version. Does it matter?
I will assume that it's the 32-bit x86 version. Did you try manually
registering the special DLLs used by your APP? I don't know how to do it
in Vi$ta though.
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Dan Freeman
2007-02-12 17:36:45 UTC
Permalink
Vista has, as I'm sure you may have heard, vastly enhanced (read: tightly
controlled) security.

The first troubleshooting step would be to have him run the app as Admin and
see if it works. If so, you know that the user who ran your installer on
that machine doesn't have permission to install stuff.

Dan
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
JoeB
2007-02-12 18:47:01 UTC
Permalink
Post by Dan Freeman
Vista has, as I'm sure you may have heard, vastly enhanced (read: tightly
controlled) security.
The first troubleshooting step would be to have him run the app as Admin and
see if it works. If so, you know that the user who ran your installer on
that machine doesn't have permission to install stuff.
Dan
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
Dan,

Thanks for your reply. I'll have him uninstall the program, and re-install
it as Admin. I hope that does it!

Thanks again,

Joe
JoeB
2007-02-12 19:27:02 UTC
Permalink
Post by JoeB
Post by Dan Freeman
Vista has, as I'm sure you may have heard, vastly enhanced (read: tightly
controlled) security.
The first troubleshooting step would be to have him run the app as Admin and
see if it works. If so, you know that the user who ran your installer on
that machine doesn't have permission to install stuff.
Dan
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
Dan,
Thanks for your reply. I'll have him uninstall the program, and re-install
it as Admin. I hope that does it!
Thanks again,
Joe
Dan,

I had the user un-install the program, then re-install it with Admin
privileges but the program still generates the same error, and won't run.

Any other ideas?

Joe
Dan Freeman
2007-02-12 19:48:38 UTC
Permalink
Post by JoeB
Post by JoeB
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
Dan,
Thanks for your reply. I'll have him uninstall the program, and re-install
it as Admin. I hope that does it!
Thanks again,
Joe
Dan,
I had the user un-install the program, then re-install it with Admin
privileges but the program still generates the same error, and won't run.
Any other ideas?
Joe
Not without more information. What control is the app trying to load?

Dan
JoeB
2007-02-13 08:23:15 UTC
Permalink
Post by Dan Freeman
Post by JoeB
Post by JoeB
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
Dan,
Thanks for your reply. I'll have him uninstall the program, and re-install
it as Admin. I hope that does it!
Thanks again,
Joe
Dan,
I had the user un-install the program, then re-install it with Admin
privileges but the program still generates the same error, and won't run.
Any other ideas?
Joe
Not without more information. What control is the app trying to load?
Dan
Dan,

The error is pointing to the VPR6R.DLL file. None of the previous versions
of Windows required registration of the dll. Vista has more security issues.
I'm going to try registering the dll.

Does it sound like I'm on the right track?

Joe
Man-wai Chang
2007-02-13 09:13:17 UTC
Permalink
Post by JoeB
The error is pointing to the VPR6R.DLL file. None of the previous versions
Does it sound like I'm on the right track?
Did you try running your app as superman, I meant, Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
JoeB
2007-02-13 09:59:00 UTC
Permalink
Post by Man-wai Chang
Post by JoeB
The error is pointing to the VPR6R.DLL file. None of the previous versions
Does it sound like I'm on the right track?
Did you try running your app as superman, I meant, Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Man,

Thanks for the reply. I like the "Superman" reference. Yes, admin
privileges in place. I tried registering vfp6r.dll with regsvr32.exe
successfully, but could not register vfprenu.dll, it returned an error. Also
tried registering the program exe with /regserver successfully, but
application would still not run.

Any more suggestions, pulling what's left of my hair out.

Joe
JoeB
2007-02-13 10:34:01 UTC
Permalink
Post by JoeB
Post by Man-wai Chang
Post by JoeB
The error is pointing to the VPR6R.DLL file. None of the previous versions
Does it sound like I'm on the right track?
Did you try running your app as superman, I meant, Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Man,
Thanks for the reply. I like the "Superman" reference. Yes, admin
privileges in place. I tried registering vfp6r.dll with regsvr32.exe
successfully, but could not register vfprenu.dll, it returned an error. Also
tried registering the program exe with /regserver successfully, but
application would still not run.
Any more suggestions, pulling what's left of my hair out.
Joe
Man,

You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.

Thanks so much!

Joe
Man-wai Chang
2007-02-13 13:53:18 UTC
Permalink
Post by JoeB
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.
I learnt something about Vi$ta. Should be my thanks to you. :)
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.20
^ ^ 21:52:01 up 8 days 18 min 1 user load average: 1.04 1.04 1.01
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
Dan Freeman
2007-02-13 17:12:16 UTC
Permalink
I'm thrilled that you got it running, but you just disabled one of the most
important features of Vista leaving your client vulnerable to all of the
attacks people have been complaining about for years.

Go ahead and leave the client running. He has work to do. But you owe it to
yourself to head over to the Windows & Security newsgroups to figure out
exactly what caused you to need to castrate Windows' security.

(Among other things, there is Admin and there is "admin" -- and they're not
the same. You should at least get a glancing familiarity.)

Dan
Post by JoeB
Man,
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.
Thanks so much!
Joe
JoeB
2007-02-13 19:25:03 UTC
Permalink
Post by Dan Freeman
I'm thrilled that you got it running, but you just disabled one of the most
important features of Vista leaving your client vulnerable to all of the
attacks people have been complaining about for years.
Go ahead and leave the client running. He has work to do. But you owe it to
yourself to head over to the Windows & Security newsgroups to figure out
exactly what caused you to need to castrate Windows' security.
(Among other things, there is Admin and there is "admin" -- and they're not
the same. You should at least get a glancing familiarity.)
Dan
Post by JoeB
Man,
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.
Thanks so much!
Joe
Dan,

You only have to disable the UAC for the install. After installing the
program, turn the UAC back on, and the program runs with no problem.

Windows security does not work well in this area. The Vista error returned
should be DURING the install, warning the user that "install privileges" are
not available.

I realized the problem after Man's suggestion, and my setup provider asking
me to put an ini file in the Windows folder. Vista wouldn't let me save the
ini to the Windows folder or the root of the C drive. Vista told me that I
didn't have permission to save the file. That's when it clicked.

So, you only have to castrate Vista for the install, then you can re-attach
the testicles to the 800 pound gorilla.

Really bad logic on Vista's part here.

Thank you and Man so much for the replies.

Joe
Dan Freeman
2007-02-13 19:46:11 UTC
Permalink
Post by JoeB
Post by Dan Freeman
I'm thrilled that you got it running, but you just disabled one of the most
important features of Vista leaving your client vulnerable to all of the
attacks people have been complaining about for years.
Go ahead and leave the client running. He has work to do. But you owe it to
yourself to head over to the Windows & Security newsgroups to figure out
exactly what caused you to need to castrate Windows' security.
(Among other things, there is Admin and there is "admin" -- and they're not
the same. You should at least get a glancing familiarity.)
Dan
Post by JoeB
Man,
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control),
re-installed
the
program, and it worked.
Thanks so much!
Joe
Dan,
You only have to disable the UAC for the install. After installing the
program, turn the UAC back on, and the program runs with no problem.
Windows security does not work well in this area. The Vista error returned
should be DURING the install, warning the user that "install privileges" are
not available.
I realized the problem after Man's suggestion, and my setup provider asking
me to put an ini file in the Windows folder. Vista wouldn't let me save the
ini to the Windows folder or the root of the C drive. Vista told me that I
didn't have permission to save the file. That's when it clicked.
So, you only have to castrate Vista for the install, then you can re-attach
the testicles to the 800 pound gorilla.
Really bad logic on Vista's part here.
Thank you and Man so much for the replies.
Joe
Ah, that's much more clear. Thanks!

I know that much has been written about installs and Vista, but since I have
"people" to handle installs I try to ignore that as much as possible. <g>

Dan
Cy Welch
2007-02-14 05:42:22 UTC
Permalink
Post by JoeB
Post by JoeB
Post by Man-wai Chang
Post by JoeB
The error is pointing to the VPR6R.DLL file. None of the previous versions
Does it sound like I'm on the right track?
Did you try running your app as superman, I meant, Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Man,
Thanks for the reply. I like the "Superman" reference. Yes, admin
privileges in place. I tried registering vfp6r.dll with regsvr32.exe
successfully, but could not register vfprenu.dll, it returned an error. Also
tried registering the program exe with /regserver successfully, but
application would still not run.
Any more suggestions, pulling what's left of my hair out.
Joe
Man,
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.
Thanks so much!
Joe
Another thing to make sure of with Vista is that you don't install under
the program files folder. If you do, my experience is that anything
other lower than VFP9 will require being run as administrator (even if
your logged on as admin you need to set the shortcut to run with admin
privileges or right click on it and select that option. If you just
move the install to somewhere directly off c: (create your own folder
off the root) then in my experience it should work even with user access
control, which you can't necessarily count on the user disabling.
--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com
Bernhard Sander
2007-02-14 12:08:30 UTC
Permalink
Hi Man-wai Chang,
If there is a run-as right-click option, shouldn't there be a command
like sudo in linux?
There is, it is called RUNAS. It is there since a couple of versions, maybe
since Win NT.

Regards
Bernhard Sander
JoeB
2007-02-17 00:42:10 UTC
Permalink
Post by Bernhard Sander
Hi Man-wai Chang,
If there is a run-as right-click option, shouldn't there be a command
like sudo in linux?
There is, it is called RUNAS. It is there since a couple of versions, maybe
since Win NT.
Regards
Bernhard Sander
Bernard,

I'm not familiar with RUNAS. What's the purpose and use?

Joe
Bernhard Sander
2007-02-18 03:13:04 UTC
Permalink
Hi Joe,
Post by JoeB
I'm not familiar with RUNAS. What's the purpose and use?
RUNAS is a windows command. With it, you can run a program as (with the rights
of) a different user.
To learn more about its parameters, open a command window and type: runas /?

Regards
Bernhard Sander

Man-wai Chang
2007-02-14 12:03:16 UTC
Permalink
Post by Cy Welch
Another thing to make sure of with Vista is that you don't install under
the program files folder. If you do, my experience is that anything
other lower than VFP9 will require being run as administrator (even if
your logged on as admin you need to set the shortcut to run with admin
privileges or right click on it and select that option. If you just
move the install to somewhere directly off c: (create your own folder
off the root) then in my experience it should work even with user access
control, which you can't necessarily count on the user disabling.
If there is a run-as right-click option, shouldn't there be a command
like sudo in linux?
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.20
^ ^ 20:02:01 up 8 days 22:28 1 user load average: 1.01 1.03 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
JoeB
2007-02-17 00:41:03 UTC
Permalink
Post by Cy Welch
Post by JoeB
Post by JoeB
Post by Man-wai Chang
Post by JoeB
The error is pointing to the VPR6R.DLL file. None of the previous versions
Does it sound like I'm on the right track?
Did you try running your app as superman, I meant, Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Man,
Thanks for the reply. I like the "Superman" reference. Yes, admin
privileges in place. I tried registering vfp6r.dll with regsvr32.exe
successfully, but could not register vfprenu.dll, it returned an error. Also
tried registering the program exe with /regserver successfully, but
application would still not run.
Any more suggestions, pulling what's left of my hair out.
Joe
Man,
You helped me!!! I checked the security, and although there were admin
privileges. So I turned off the UAC (User Account Control), re-installed the
program, and it worked.
Thanks so much!
Joe
Another thing to make sure of with Vista is that you don't install under
the program files folder. If you do, my experience is that anything
other lower than VFP9 will require being run as administrator (even if
your logged on as admin you need to set the shortcut to run with admin
privileges or right click on it and select that option. If you just
move the install to somewhere directly off c: (create your own folder
off the root) then in my experience it should work even with user access
control, which you can't necessarily count on the user disabling.
--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com
Cy,

My applications do not install to the programs folder. We create out own
folder in the root of the c drive. Didn't seem to make a difference.

Thanks for the tip!

Joe
JoeB
2007-02-13 09:14:24 UTC
Permalink
Post by Dan Freeman
Post by JoeB
Post by JoeB
Post by JoeB
OLE error code 0x8002801d:Library not registered
The application runs trouble free in all previous versions of Windows.
Has anyone run into this yet?
Dan,
Thanks for your reply. I'll have him uninstall the program, and re-install
it as Admin. I hope that does it!
Thanks again,
Joe
Dan,
I had the user un-install the program, then re-install it with Admin
privileges but the program still generates the same error, and won't run.
Any other ideas?
Joe
Not without more information. What control is the app trying to load?
Dan
Dan,

I tried registering vfp6r.dll with regsvr32.exe. It registers the file, but
still returns a FoxPro error 1426. Is the registration problem with Vista or
my app?

Joe
Man-wai Chang
2007-02-13 09:51:47 UTC
Permalink
Post by JoeB
I tried registering vfp6r.dll with regsvr32.exe. It registers the file, but
still returns a FoxPro error 1426. Is the registration problem with Vista or
my app?
Did you login as Administrator?
--
iTech Consulting Co., Ltd.
Specialized in providing ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288
Continue reading on narkive:
Loading...