当前位置:网站首页>Access is denied encountered when vfpbs calls excel under IIS
Access is denied encountered when vfpbs calls excel under IIS
2022-06-30 05:20:00 【VFP of Garfield】
The first part is under the development mode , Successfully completed EXCEL The function of uploading and saving in the database , But publish to IIS But there was an error in .
According to this error prompt , It's called EXCEL com Component does not have permission .
The methods found on the Internet are as follows :
1. function Dcomcnfg.exe
2. Component service ―― Computer ―― My computer ――DCOM To configure ―― find microsoft Excel
3. Click properties
4. choice “ Security ”
5. selected “ Use custom access ” and “ Use custom startup permissions ”
I watched it for a long time , Still don't see , It turns out that we need to be in 32 Adjust in bit mode
If there is 32 position Office Of 64 Bit servers , This... May not be found DCOM Set up . You need to run... From the command prompt "MMC -32" Start up 32 position MMC, And then from " file ">“ add to / Delete snap in " Add... To the menu " Component service ”.
- add to 32 Bit component service

- find microsoft EXCEL Application

- Set access and startup permissions

Try again after setting , Sure enough , The pit is coming again , Tips
Microsoft Office Excel Can't access file “a.xls”. The possible reasons are :
? The file name or path does not exist .
? The file is being used by other programs .
? The workbook you are saving has the same name as the currently open workbook
I watched it for a long time , The path is right , None of these tips match . Continue to troubleshoot .
Finally found
This solution is …
?Windows 2008 Server x64
Please make this folder.
C:\Windows\SysWOW64\config\systemprofile\Desktop
?Windows 2008 Server x86
Please make this folder.
C:\Windows\System32\config\systemprofile\Desktop
…instead of dcomcnfg.exe.
This operation took away office automation problems in my system.
A Desktop folder seems to be necessary in the systemprofile folder to open file by Excel.
It disappears from Windows2008, Windows2003 had the folder,
and I think it cause this error.
win2008,win2003 There will be this problem .
That is to say C:\Windows\System32\config\systemprofile and C:\Windows\SysWOW64\config\systemprofile Create a directory named Desktop Directory can solve the problem .
So far, the problem has been solved perfectly .
边栏推荐
- Network communication problem locating steps
- Responsive flow layout
- Read and save txt files
- Unity3d- use animator and code to control task walking
- 2021-07-29 compilation of Cura in ubantu18.04
- East Tower attack and defense world - XSS bypasses the safety dog
- Unity shortcut key
- Fifty years ago, the go code first submitted by the inventor of Hello world was as long as this
- 企事业单位源代码防泄露工作该如何进行
- Display steerable 3D model in front of unity UI
猜你喜欢

Pytorch的安装以及入门使用

Procedural animation -- inverse kinematics of tentacles

Basic operations of Oracle data
![[Motrix] download Baidu cloud files using Motrix](/img/d3/f3d29468367cf5011781f20f27a5c8.jpg)
[Motrix] download Baidu cloud files using Motrix

East Tower attack and defense world - XSS bypasses the safety dog
![[learning notes] AssetBundle, xlua, hot update (use steps)](/img/59/9d9f31cfe55a908f2f0705e95ecc05.jpg)
[learning notes] AssetBundle, xlua, hot update (use steps)

The file has been downloaded incorrectly!

LXC 和 LXD 容器总结
![[vcs+verdi joint simulation] ~ take the counter as an example](/img/fb/214a4e65c53503ecbc38a5e43523cf.png)
[vcs+verdi joint simulation] ~ take the counter as an example

Ugui uses its own function to realize reverse mask
随机推荐
【LeetCode】Easy | 232. Using stack to realize queue (pure C manual tearing stack)
【 VCS + Verdi joint simulation】 ~ Taking Counter as an Example
Gradient clip in dqn
虚析构和纯虚析构
Chapter 11 advanced data management of OpenGL super classic (version 7)
Operation of JSON file
Unity3d- use animator and code to control task walking
Unity3d get screen width and height
Unityshader learning notes - Basic Attributes
ParticleSystem in the official Manual of unity_ Collision module
企事业单位源代码防泄露工作该如何进行
Chapter 12 pipeline monitoring of OpenGL super classic (version 7)
3D rotation album
14x1.5cm竖向标签有点难,VFP调用BarTender来打印
[recruitment] UE4 Development Engineer
[typescript] defines the return value type of promise
PyGame. Why can't I exit when I click X in the window? I can only exit when I return idle
Ripple effect of mouse click (unity & shader)
Unity 3D model operation and UI conflict Scrollview
mmcv常用API介绍