I was using the System.Web.Configuration.WebConfiguration class to open the configuration for the site from one of my logic dll’s and I got the wonderful error An error occurred loading a configuration file: Failed to map the path ‘/’.
I freaked out for a second, until I put more thought into it. This is running fine in production! What is the difference with my machine and the server?
Oh! My Visual Studio is running under UAC with limited privileges since I am in Windows 7. DUH!
So, I restarted Visual Studio 2010 under “Run as Administrator” and problem solved. So if you are on Vista or Windows 7, that’s the issue.
NOTE: If you develop with administrative rights, be careful you don’t make development mistakes that assume everyone will run your program as an admin. i.e. writing to program files directory, root directory, etc.
Happy Coding!
分享到:
相关推荐
实用开发工具Myeclipse,在启动tomcat时,不间断的会弹出 An internal error occurred during: "Calculating completion proposals...". java.lang.NullPointerException的错误对话框!
VS2005/VS2008软件发布问题:SignTool Error: An error occurred while attempting to sign 处理方法
解决方法:An error occurred on the server when processing the URL. Please contact the system administrator 在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误: An error occurred on the ...
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
报错内容:sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 启动时如果报异常error while loading shared libraries: libpcre.so....
本人实践,物超所值,一站式解决jmeter负载机环境问题,问题集合含: ... localhost.localdomain is a loopback address.An error occurred: Cannot start. localhost.localdomain is a loopback address.
myeclipse弹出an internal error occurred during:"initializing"java tooling.有时候myeclipse总是在保存的时候弹出错误,只要保存就弹出.本资源可以解决报错问题
解决MyEclipse10安装VSS插件版本为1.6.2报错:An error has occurred. See error log for more details. (本人64win7 安装:10.7版本 64 位 32位 均可以使用) 原因:版本旧,原来做vss插件的后来就没有更新,现...
SVN汉化版,妈妈再也不用担心我英文不好了。
NULL 博文链接:https://zhongrf.iteye.com/blog/1964274
NULL 博文链接:https://xiaoxuejie.iteye.com/blog/1679119
PXF introduces a new template file, pxf-site.xml, to specify the Kerberos and impersonation property settings for a Hadoop or JDBC server configuration. Refer to About Kerberos and User Impersonation ...
// 2001-DEC-06 - Thanks to Wang Haifeng for spotting a problem in one of the // assignment operators (for _bstr_t) that would cause compiler // errors when refcounting protection was turned ...
The problem occurred while processing the segment placement command "-Z(DATA)CSTACK+_STACK_SIZE#", ” Warning[Pe001]: last line of file ends without a newline F:\emoTion\IAR\PK 升级\CC1110-8\main.c ...
异常A generic error occurred in GDI+的解决办法
win7_64eclispe插件 解决An internal error occurred during: "Map/Reduce location status updater". org/codehaus/jackson/map/JsonMappingException 重新编译包
directly to the disk, without loading them into the memory first. This means that you can save a list with large amount of attachment lines into your disk without any memory problem, as long as you...
Hence, it becomes possible for the attacker to issue a command to all the nodes, that target a single node (for example, all nodes in the botnet might be commanded by the attacker to send a TCP SYN ...
infinite loop (due to an error in ListScanEx in the method FlexUtils). - FIX: The value of some string flex-properties that began with a parenthese or curly bracket had no apostrophe at the end; ...