当前位置:网站首页>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 .
边栏推荐
- Display steerable 3D model in front of unity UI
- Records of problems encountered in unity + hololens development
- ParticleSystem in the official Manual of unity_ Collision module
- Introduction to mmcv common APIs
- Configuration and use of controllers and routes in nestjs
- Untiy3d controls scene screenshots through external JSON files
- 【LeetCode】Easy | 225. Using queue to realize stack (pure C manual tearing queue)
- Unity animator does not clip animation to play animation in segments
- Unity + hololens publishing settings
- The difference between SVG and canvas
猜你喜欢

mmcv常用API介绍

Assembly learning tutorial: accessing memory (3)

Summary of common loss functions in pytorch

Unity ugui text value suspended enlarged display add text background

【VCS+Verdi聯合仿真】~ 以計數器為例

Ripple effect of mouse click (unity & shader)

Connect() and disconnect() of socket in C #

图扑软件基于钻孔数据的三维地质模型可视化

Unity + hololens publishing settings

Bev instance prediction based on monocular camera (iccv 2021)
随机推荐
How to use js to control the scroll bar of moving div
Unity3d packaging and publishing APK process
How does unity use mapbox to implement real maps in games?
Pytorch的安装以及入门使用
Unity3d position the model, rotate, drag and zoom around the model to obtain the center point of the model
Does the tester need to analyze the cause of the bug?
Pit of smoothstep node in shadergraph
Parkour demo
Intellj idea generates jar packages for projects containing external lib to other projects. The method refers to the jar package written by itself
[typescript] cannot redeclare block range variables
炒美原油的国际交易平台如何能保障资金安全呢?
The file has been downloaded incorrectly!
产生 BUG 测试人员需要自己去分析原因吗?
Assembly learning tutorial: accessing memory (3)
Unity publishing /build settings
Unity animator does not clip animation to play animation in segments
Force buckle 209 Minimum length subarray
Rotation, translation and scaling of unity VR objects
Unity supports the platform # define instruction of script
Force buckle 704 Binary search