Bonjour,

J'ai une application Web sur le serveur. Après avoir modifié le serveur et importé la base de données, j'ai hébergé la page Web dans le serveur, mais je n'ai pas pu me connecter à la page suivante
default.aspx.

voila le fichier web.config :

Code XML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  <a href="http://go.microsoft.com/fwlink/?LinkId=169433" target="_blank">http://go.microsoft.com/fwlink/?LinkId=169433</a>
  -->
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit <a href="http://go.microsoft.com/fwlink/?LinkID=237468" target="_blank">http://go.microsoft.com/fwlink/?LinkID=237468</a> -->
    <section name="entityFramework"
      type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
      requirePermission="false"/>
  </configSections>
  <connectionStrings>
    <add name="YOOTIMEConnectionString" connectionString="Data Source=mon serveur ;Initial Catalog=base de donnee ;User ID=sa;Password=mon passewor"
      providerName="System.Data.SqlClient"/>
    <add name="TIMEATTEntities"
      connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=WIN-CA1PNEQEGAM\SQLEXPRESS;initial catalog=TIMEATT;user id=sa;password=cegid.2014;MultipleActiveResultSets=True;App=EntityFramework""
      providerName="System.Data.EntityClient"/>
  </connectionStrings>
  <!--
    For a description of web.config changes see <a href="http://go.microsoft.com/fwlink/?LinkId=235367" target="_blank">http://go.microsoft.com/fwlink/?LinkId=235367</a>.
 
    The following attributes can be set on the <httpRuntime> tag.
      <system.Web>
        <httpRuntime targetFramework="4.5" />
      </system.Web>
  -->
  <system.web>
    <globalization culture="fr-FR"/>
    <compilation debug="true" targetFramework="4.5"/>
<httpRuntime maxRequestLength="2147483647" executionTimeout="3600"/>
    <pages controlRenderingCompatibilityVersion="4.0">
 
    <controls>
        <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/>
      </controls></pages>
    <sessionState timeout="480"/>
 
    <customErrors mode="Off"  ></customErrors >
   <!--defaultRedirect="ErrorPage.aspx"-->
  </system.web>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
    </providers>
  </entityFramework>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
        type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
    </compilers>
  </system.codedom>
</configuration>
Merci