错误:无法创建 Microsoft Visual Basic 2010 Express 的应用程序数据文件夹

发布于 2024-11-24 19:53:49 字数 2778 浏览 1 评论 0原文

Windows 7 Home Premium 64。

安装 VB Express 2010 后,尝试打开应用程序时出现此错误:“无法创建 Microsoft Visual Basic 2010 Express 的应用程序数据文件夹”。针对此问题最常见的建议解决方案是修复注册表中的用户 Shell 文件夹项。我检查了这些,它们是正确的。我什至运行 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

Windows 7 Home Premium 64.

After install of VB Express 2010 I get this error when trying to open the application: "The Application Data folder for Microsoft Visual Basic 2010 Express could not be created". The most commonly suggested solution to this issue is fixing the User Shell Folders keys in the registry. I checked these and they are correct. I even ran the Fixit to make sure. KB 886549

Another common solution is to run this: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\vbexpress.exe" /setup . Running this only gives me the same error.

My administrator account and system both have full control rights to the %APPDATA%\Microsoft directory

I tried uninstalling VBexpress and SQL and removing all registry entries using Registry Workshop and reinstalling vbexpress. Same results.

Next I ran Procmon and filtered for vbexpress.exe. I see 234 events that have NAME NOT FOUND as the result. But I'm not sure what to do with this information. I don't know why this started all of a sudden. I was using VBExpress for months before this happened out of the blue. The second answer of this question seems similar to what I'm experiencing but it doesn't give enough info to help me. http://stackoverflow.com/questions/4577623/the-application-data-folder-for-visual-studio-cannot-be-created

Is it a permissions thing?

Here are a few of the events

    <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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文