What is this web.config Problem ?


https://forum.kartris.com/Topic678.aspx
Print Topic | Close Window

By PixelTech - Tue 5 Jul 2011
Satır 51: <system.web>
Satır 52: <caching>
Satır 53: <cache disableExpiration="true"/>Satır 54: </caching>
Satır 55: <profile enabled="false"/>
By Mart - Tue 5 Jul 2011
I don't really understand the question... this is what the code looks like in my web.config


<system.web>
<globalization resourceProviderFactoryType="Kartris.SqlResourceProviderFactory" />
<caching>
<cache disableExpiration="true"/>
</caching>
<profile enabled="false"/>


The bits in your code "Satir" - is this foreign language version of line numbers?
By PixelTech - Tue 5 Jul 2011
yes it is "Line"   my quesiton is , when i try to run Kartris site in my local computer like http://localhost/kartris/  i got this error on browser , what is this error ? what i must change ?

allowDefinition='MachineToApplication'

Satır 51: <system.web>
Satır 52: <caching>
Satır 53: <cache disableExpiration="true"/>Satır 54: </caching>
Satır 55: <profile enabled="false"/>
By Mart - Wed 6 Jul 2011
Is this the full error message you're getting - or are you giving us just a few lines of it?

Generally when I've seen allowDefinition='MachineToApplication' in an error, its because you don't have the web configured as an application in IIS. see eg

http://forums.devarticles.com/net-development-43/section-registered-as-allowdefinition-machinetoapplication-beyond-application-level-10027.html