Domanda

I published my website in the "c:\inetpub\wwwroot\". Publish was successful.But when I run it, I confort a problem to web.config

<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="Server=defraz-server;Database=Namaad;user id=sa;
    password=;Trusted_Connection=yes" cookieless="false" timeout="20" />

enter image description here PLEASE HELP ME.

È stato utile?

Soluzione

This has happened because it looks like you have published your website as a virtual directory of an existing website in your local IIS. The existing site already has a web.config setting for <sessionState />.

You can remove this line from your web.config or preferably, set the Umbraco website up as a new website/application in Umbraco.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top