Visual studio 2012 System.IO.FileNotFoundException:在visual studio中调试ASP.NET项目时,读取C:\Windows\TEMP\目录时出错
调试项目时,Visual studio显示一些错误。当我尝试在数据库文件(.mdf扩展名)中添加表时,VisualStudio会自动重新启动。 错误列表-->Visual studio 2012 System.IO.FileNotFoundException:在visual studio中调试ASP.NET项目时,读取C:\Windows\TEMP\目录时出错,visual-studio-2012,Visual Studio 2012,调试项目时,Visual studio显示一些错误。当我尝试在数据库文件(.mdf扩展名)中添加表时,VisualStudio会自动重新启动。 错误列表--> 请帮我解决这个错误。这篇博文肯定解决了我们面临的问题(这将描述我们面临的问题) 我们有这段代码 系统.诊断.过程.启动(RetrievedURL); 它在后台通过点击按钮打开网页生成IE进程(因为IE是Web服务器上的默认浏览器) 这不是一件聪明的事情,但我们删除了该代码,它肯定停止了IE进程的后台 上面的文章解释了它是如何与XML序列化
请帮我解决这个错误。这篇博文肯定解决了我们面临的问题(这将描述我们面临的问题) 我们有这段代码 系统.诊断.过程.启动(RetrievedURL); 它在后台通过点击按钮打开网页生成IE进程(因为IE是Web服务器上的默认浏览器) 这不是一件聪明的事情,但我们删除了该代码,它肯定停止了IE进程的后台 上面的文章解释了它是如何与XML序列化失败联系在一起的。谢谢你的研究和这篇博文斯洛博丹·斯蒂皮克,又称斯洛博
希望此解决方案能有所帮助。嘿,这也发生在我身上,当我转到目录C:\Windows\TEMP中的direct时,问题解决了,系统要求我访问此文件夹,我单击“是”按钮,以便当前用户对该文件夹拥有权限,错误消失。这是我的windows更新后的访问权限问题
System.IO.FileNotFoundException: Error reading the C:\Windows\TEMP\ directory.
at System.IO.FileSystemWatcher.StartRaisingEvents()
at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
at Microsoft.IisExpress.SysTray.TrayAppHiddenForm.TrayAppHiddenForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)