python read inii File Error显示Error

Rate this:
I am getting this error from my IIS8.0
HTTP Error 500.19 - Internal Server Error
IIS Web Core
Notification
Handler Not yet determined
Error Code
Config Error
Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\oluwaseun\Documents\Visual Studio 2012\Projects\CBTDLCF\web.config
Requested URL http://localhost:2020/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
I guess why this persists is because I have an instance of Wamp Server installed on my system which also uses the localhost too. Is there something I'm doing wrong???
my web.config file
="1.0"="utf-8"
&configuration&
&configSections&
&section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c" requirePermission="false" /&
&/configSections&
&connectionStrings&
&add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-CBTDLCF-45;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-CBTDLCF-45.mdf" /&
&add name="CBTDLCFDBEntities" connectionString="metadata=res://*/CBTDLCFDBModel.csdl|res://*/CBTDLCFDBModel.ssdl|res://*/CBTDLCFDBModel.provider=System.Data.SqlCprovider connection string=&data source=(LocalDB)\v11.0;attachdbfilename=|DataDirectory|\CBTDLCFDB.integrated security=Tconnect timeout=30;MultipleActiveResultSets=TApp=EntityFramework&" providerName="System.Data.EntityClient" /&&/connectionStrings&
&system.web&
&compilation targetFramework="4.0"&
&assemblies&
&add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c" /&
&/assemblies&
&/compilation&
&authentication mode="Forms"&
&forms loginUrl="~/Account/Login" timeout="2880" defaultUrl="~/" /&
&/authentication&
&profile defaultProvider="DefaultProfileProvider"&
&providers&
&add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf" connectionStringName="DefaultConnection" applicationName="/" /&
&/providers&
&/profile&
&membership defaultProvider="DefaultMembershipProvider"&
&providers&
&add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /&
&/providers&
&/membership&
&roleManager defaultProvider="DefaultRoleProvider"&
&providers&
&add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf" connectionStringName="DefaultConnection" applicationName="/" /&
&/providers&
&/roleManager&
&sessionState mode="InProc" customProvider="DefaultSessionProvider"&
&providers&
&add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf" connectionStringName="DefaultConnection" /&
&/providers&
&/sessionState&
&/system.web&
&system.webServer&
&modules runAllManagedModulesForAllRequests="true" /&
&/system.webServer&
&assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&
&dependentAssembly&
&assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" /&
&bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.1.0.0" /&
&/dependentAssembly&
&dependentAssembly&
&assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" /&
&bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.1.0.0" /&
&/dependentAssembly&
&/assemblyBinding&
&/runtime&
&entityFramework&
&defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"&
&parameters&
&parameter value="v12.0" /&
&/parameters&
&/defaultConnectionFactory&
&/entityFramework&
&/configuration&
Posted 15-Oct-14 7:37am
Updated 15-Oct-14 8:03am
Solution 1
In IIS look at which user your application pool is using.
Then either change it to a user that has permissions or grant the required permissions.
Or, even better, don't leave your code in the Users folder and move to c:\inetpub\wwwroot.
Posted 15-Oct-14 7:50am
<button class="toolbar" onclick="editor_ctl00_ctl00_MC_AMC_PostEntryObj_Content.insertText('&l' + 't;');" title="Insert HTML Extended Character Code For &&&
Strip HTML
Encode HTML
Paste as-is
Code block
Quoted Text
Best guess
Treat my content as plain text, not as HTML
Your Email &
Password &
Your Email &
email is in use. Do you need your ?
Optional Password &
I have read and agree to the
Please subscribe me to the CodeProject newsletters
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad
spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it.
Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
This content, along with any associated source code and files, is licensed under
Last Updated 15 Oct 2014
Copyright & ,
All Rights Reserved.
CodeProject,
503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada
+1 416-849-8900 x 100raserror文件头内容_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
raserror文件头内容
&&文件头内容
你可能喜欢你可能感兴趣的文章
无论是有线网卡还是无线网卡,其基本安装方法主要有以下三种 1. 通过驱动程序包中的SE...
不少朋友在使用不带光驱的笔记本,但是问题也来了,需要重装系统的时候,没有光驱,该...
常有朋友问:我的电脑图标没了、我的电脑不见了、桌面没有我的电脑; 我的电脑图标没了...
鼠标指针常见的文件格式为:.cur、.ani两种格式。还可能有的是.exe 格式 如果是exe格...
当我们在运行一些大型的软件,或者是刚刚退出游戏的时候经常会提示你的虚拟内存过低的...}

我要回帖

更多关于 c read ini 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信