hofatto uan semplice prova aprendo uan pagina aspx dentro al directory principale:
http://localhost/chat/test.aspx
che contiene:
<%="Hello World!"%>
funziona normalmente.
ho provato poi a spostare la pagian nella dir incriminata:
http://localhost/chat/web/test.aspx
e mi si ripresenta l'errore.
Io credo che il file web.config, nella sua inizializzazione crei un errore ( questo è chiaro
)
forse perchè non trova il path giusto per la connessione a sql server ???
quetso è tutto il file web.config di questa directory:
codice:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="CutePortalConfig" type="CutePortal.Config.CutePortalConfig, CutePortal" />
</configSections>
<CutePortalConfig>
<add key="DALAssembly" value="CutePortal" />
<add key="DALNamespace" value="CutePortal.SqlScopeDAL" />
<add key="PasswordLength" value="10" />
<add key="NewTopicTimeSpan" value="5" />
<add key="DefaultRank" value="DefaultRank" />
</CutePortalConfig>
<appSettings>
<add key="ConnectionString" value="driver={Sql Native Client};Server=chiburraska\sqlexpress;Database=CutePortal;Trusted_Connection=yes;MAr_Connection=yes;"/>
</appSettings>
<system.web>
<httpModules>
<add name="CuteSoft.Chat" type="CuteSoft.Chat.EasyHttpZipModule,CuteSoft.Chat" />
</httpModules>
<pages validateRequest="false" />
<compilation defaultLanguage="c#" debug="false" />
<customErrors mode="Off" />
<authentication mode="Forms" />
<authorization>
<allow users="*" />
</authorization>
<trace enabled='true'></trace>
<sessionState mode="InProc" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>
fate presente che uso la stessa stringa di connessione con altre applicazioni e funzia regolarmente, cambia solo il db.