目前在Server2003 上搭建一个网站 配置都是自己配的 但是打开不要config文件没问题
一道打开要连接config的aspx文件就出现图片中的问题,那位高手解决下
一道打开要连接config的aspx文件就出现图片中的问题,那位高手解决下
解决方案 »
- Chart控件如何设置横坐标显示的数量
- DropDownList+GridView问题 我这是3个DropDownList+一个GridView联动。。高手指教!!急代码如下
- 如何把一个字符串StringBuilder htmltext通过button按钮在新的网页上来实现预览。
- [100分]求三层结构中分页的相关代码
- 【难】几个问题,希望有项目开发经验的兄弟给与指导!!! 跟画面无关的问题。
- 兄弟门帮帮忙 急 等待asp.net 2.0 水晶报表(先谢谢了)
- 关于CHECKBOX提交的问题,搞了我2天,希望得到满意的回答!
- 请教弹出窗口的问题
- DataGrid新增一行
- 实例组建WEB服务器,请指教
- 帮我看看这SQL语句
- ASP.NET高手,有时间的请进!
Server Error in '/EEMCTechNet' Application.
--------------------------------------------------------------------------------Could not find configuration file, or the caller does not have sufficient permissions to the file.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not find configuration file, or the caller does not have sufficient permissions to the file.Source Error:
Line 85: // 4639 first initialize the config file object
Line 86: oSettings = new ConfigFileReader();
Line 87: oSettings.ReadConfig();
Line 88:
Line 89: Trace.Warn("Connection String = " + oSettings.ConnectionString);
Source File: f:\EEweb\WebSites\EEMCTechNet\ee_advanced.aspx.cs Line: 87 Stack Trace:
[FileNotFoundException: Could not find configuration file, or the caller does not have sufficient permissions to the file.]
Wsua.Platform.Configuration.ConfigurationXmlReader..ctor(String file, String applicationName, String applicationVersion) +343
Wsua.Platform.Configuration.CacheManager..ctor(String filePath, String applicationName, String applicationVersion) +65
Wsua.Platform.Configuration.ConfigurationHelper..ctor(String configurationFile, String applicationName, String applicationVersion) +105
Microsoft.EventsAndErrors.ConfigFileReader.ReadConfig() +123
Microsoft.EventsAndErrors.ee_advanced.Page_Load(Object sender, EventArgs e) in f:\EEweb\WebSites\EEMCTechNet\ee_advanced.aspx.cs:87
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3053
还有,winServer2003能装iis7?
Line 85: // 4639 first initialize the config file object
Line 86: oSettings = new ConfigFileReader();
Line 87: oSettings.ReadConfig();
Line 88:
Line 89: Trace.Warn("Connection String = " + oSettings.ConnectionString);
Source File: f:\EEweb\WebSites\EEMCTechNet\ee_advanced.aspx.cs Line: 87
可以啊 装了啊 为什么不可以呢
目前的问题就是 只要一牵扯到读config文件就是找不到 或者是没权限
我在权限的evevryone下所有的选项都点的 就是不行
cs文件当然不会有错,应该是执行这句oSettings.ReadConfig()时出错了,能进入这个函数里面看看它都做了什么么?或者查MSDN