Windows 7 Home Premium 64。
安装VB Express 2010后,尝试打开应用程序时出现此错误:“无法创建Microsoft Visual Basic 2010 Express的Application Data文件夹”。此问题最常建议的解决方案是修复注册表中的User Shell Folders项。我检查了这些,他们是正确的。我甚至运行了Fixit以确保。 KB 886549
另一个常见的解决方案是运行:“C:\ Program Files(x86)\ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ vbexpress.exe”/ setup。运行它只会给我带来同样的错误。
我的管理员帐户和系统都拥有%APPDATA%\ Microsoft目录的完全控制权
我尝试卸载VBexpress和SQL,并使用Registry Workshop删除所有注册表项并重新安装vbexpress。相同的结果。
接下来,我运行了Procmon并过滤了vbexpress.exe。我看到234个事件的结果是NAME NOT FOUND。但我不知道如何处理这些信息。我不知道为什么这突然发生了。在发生这种情况之前,我正在使用VBExpress几个月。这个问题的第二个答案似乎与我所遇到的相似,但它没有提供足够的信息来帮助我。 http://stackoverflow.com/questions/4577623/the-application-data-folder-for-visual-studio-cannot-be-created
这是权限吗?
以下是一些事件
<event>
<ProcessIndex>108</ProcessIndex>
<Time_of_Day>9:55:23.7394209 PM</Time_of_Day>
<Process_Name>vbexpress.exe</Process_Name>
<PID>5940</PID>
<Operation>RegQueryValue</Operation>
<Path>HKLM\System\CurrentControlSet\Control\SESSION MANAGER\CWDIllegalInDLLSearch</Path>
<Result>NAME NOT FOUND</Result>
<Detail>Length: 1,024</Detail>
</event>
<event>
<ProcessIndex>108</ProcessIndex>
<Time_of_Day>9:55:23.7369804 PM</Time_of_Day>
<Process_Name>vbexpress.exe</Process_Name>
<PID>5940</PID>
<Operation>RegQueryValue</Operation>
<Path>HKLM\System\CurrentControlSet\Control\SESSION MANAGER\CWDIllegalInDLLSearch</Path>
<Result>NAME NOT FOUND</Result>
<Detail>Length: 1,024</Detail>
</event>
<event>
<ProcessIndex>108</ProcessIndex>
<Time_of_Day>9:55:23.7386163 PM</Time_of_Day>
<Process_Name>vbexpress.exe</Process_Name>
<PID>5940</PID>
<Operation>RegOpenKey</Operation>
<Path>HKLM\SOFTWARE\Microsoft\WOW64</Path>
<Result>NAME NOT FOUND</Result>
<Detail>Desired Access: Query Value</Detail>
</event>
<event>
<ProcessIndex>108</ProcessIndex>
<Time_of_Day>9:55:23.7387690 PM</Time_of_Day>
<Process_Name>vbexpress.exe</Process_Name>
<PID>5940</PID>
<Operation>IRP_MJ_CREATE</Operation>
<Path>C:\Windows\System32\wow64log.dll</Path>
<Result>NAME NOT FOUND</Result>
<Detail>Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a</Detail>
</event>
enter code here