Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2764 connectés 

  FORUM HardWare.fr
  Programmation
  C#/.NET managed

  mod_mono et postgresql

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

mod_mono et postgresql

n°1349814
wiflye81
Posté le 19-04-2006 à 16:07:37  profilanswer
 

Bonjour,
 
Dans le cadre d'un projet pour mon ecole, je dois faire cohabiter des pages en aspx et mod_mono ainsi qu'une base postgresql.
 
L'installation de mod_mono marche sans soucis, la base sql aussi mais lorsque je veux faire interagir les deux, cela pose probleme, a priori, mod_mono n'a pas le driver pour postgresql et meme apres avoir installer le driver pour mono, mod_mono qui a l'air d'etre independant, le prends pas en compte.
 
Voia un copier coller du message d'erreur mais je pense pas m'etre tromper sur le probleme:
 
Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
 
Error message: /var/www/localhost/htdocs/aspnet/admin_violette/WebForm1.aspx.cs(11,7) : error CS0246: The type or namespace name `Npgsql' could not be found. Are you missing a using directive or an assembly reference? /var/www/localhost/htdocs/aspnet/admin_violette/WebForm1.aspx.cs(11,1) : error CS0246: The type or namespace name `Npgsql' could not be found. Are you missing a using directive or an assembly reference? /var/www/localhost/htdocs/aspnet/admin_violette/WebForm1.aspx.cs(11,7) : error CS0246: The type or namespace name `Npgsql' could not be found. Are you missing a using directive or an assembly reference? /var/www/localhost/htdocs/aspnet/admin_violette/WebForm1.aspx.cs(11,1) : error CS0246: The type or namespace name `Npgsql' could not be found. Are you missing a using directive or an assembly reference?
 
Si quelqu'un a une idee, je suis preneur.
 
Merci d'avance.

mood
Publicité
Posté le 19-04-2006 à 16:07:37  profilanswer
 

n°1350604
cesarr89
Posté le 20-04-2006 à 16:42:10  profilanswer
 

Et le web.config ?

n°1350681
wiflye81
Posté le 20-04-2006 à 17:53:36  profilanswer
 

cesarr89 a écrit :

Et le web.config ?


 
<?xml version="1.0"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
        <appSettings/>
        <connectionStrings/>
        <system.web>
                <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
                <compilation debug="true"/>
                <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
                <authentication mode="Windows"/>
                <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
        </system.web>
</configuration>
 
Voici le Web.config d'origine, j'ai deja essayer de charger la dll dedans mais sans succes, peux tu me dire ce que tu mettrais et ou ?
 
Merci.

n°1351054
cesarr89
Posté le 21-04-2006 à 11:16:39  profilanswer
 

Y'a quoi dans ton répértoire Bin ?

n°1351150
wiflye81
Posté le 21-04-2006 à 13:00:34  profilanswer
 

cesarr89 a écrit :

Y'a quoi dans ton répértoire Bin ?


 
Ma dll de postgresql, j'ai meme essayer de la mettre un peu partout, de l'enregistrer dans le GAC de mono, mais rien n'y fait


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C#/.NET managed

  mod_mono et postgresql

 

Sujets relatifs
Connexion PostgreSQL - Delphi[Résolu] Problème VS 2005 et Postgresql
PostgreSQL ou Firebird[apache + Mono (asp.net2) ] et Request.QueryString["toto"]
[SQL - postgreSQL] Recherche sur des dateskit administration d'une base de données postgresql
relier Excel et PostgreSQL[POSTGRESQL] Fct plpgsql - Nom de champ modifiable, marche pas. pq? :(
[PostgreSQL] Alias de table et performanceQuestions PostgreSQL / SGBD en général
Plus de sujets relatifs à : mod_mono et postgresql


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)