IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ASP.NET Discussion :

Deploiement application Web ASP .NEt


Sujet :

ASP.NET

  1. #1
    Membre régulier
    Profil pro
    Étudiant
    Inscrit en
    Juin 2006
    Messages
    142
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juin 2006
    Messages : 142
    Points : 93
    Points
    93
    Par défaut Deploiement application Web ASP .NEt
    Bonjour,

    J'ai développé un mini projet en ASP.Net en utilisant linq to entities.
    tout fonctionne correctement en local.

    J'ai suivi ce tutopour déployer une application web, en créant un package. là aussi tout est correct!!

    quand je fais un test la page d'accueil s'affiche correctement (normal pas de connexion à la base de donnée!!)

    à l'authentification j'ai cette erreur
    Format of the initialization string does not conform to specification starting at index 0.

    En faisant une recherche sur internet il parait que ça vient de la chaine de connexion sauf que je ne voit pas quoi changer dans cette chaine généré et qui fonctionne correctement en local .

    Merci d'avance pour votre aide


    voici ma chaine de connexion dans le Web Config :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     <add connectionString="{% token='$(ReplacableToken_#(parameter)_#(tokennumber))' xpathlocator='name' parameter='ConceptEntities-Web.config Connection String' description='ConceptEntities Chaîne de connexion utilisée dans web.config par l'application pour accéder à la base de données.' defaultValue='metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string='Data Source=server0015;Initial Catalog=Concept;User ID=test;Password=test;MultipleActiveResultSets=True' tags='SqlConnectionString' %}" name="ConceptEntities" providerName="System.Data.EntityClient" />

  2. #2
    Membre régulier
    Profil pro
    Étudiant
    Inscrit en
    Juin 2006
    Messages
    142
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juin 2006
    Messages : 142
    Points : 93
    Points
    93
    Par défaut
    Toujours dans mon problème!! Plus de détails sur l'erreur :

    Format of the initialization string does not conform to specification starting at index 0.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [ArgumentException: Format of the initialization string does not conform to specification starting at index 0.]
    System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) +6374831
    System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +253
    System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +134
    System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) +440
    System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) +84
    Modele.ConceptEntities..ctor() +66
    Modele.Utilisateur.GetUserByLoginPass(String login, String pass) +214
    Business.Authentification.AuthentificationBusiness.GetUtilisateurByLoginPassBusiness(String login, String pass) +134
    Web.Account.Login.LoginUser_Authenticate(Object sender, AuthenticateEventArgs e) +295
    System.Web.UI.WebControls.Login.AttemptLogin() +166
    System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +93
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707


Discussions similaires

  1. Réponses: 1
    Dernier message: 10/01/2010, 17h06
  2. Comment déployer 1 application web ASP.NET?
    Par david4444 dans le forum ASP.NET
    Réponses: 3
    Dernier message: 11/06/2008, 14h18
  3. répertoire courant d'une application Web asp.net
    Par le troll Hebus dans le forum ASP.NET
    Réponses: 7
    Dernier message: 21/11/2007, 14h48
  4. Réponses: 3
    Dernier message: 31/10/2007, 11h38
  5. Réponses: 2
    Dernier message: 14/06/2007, 12h49

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo