I added the reference to Npgsql.dll and run the application. it gives this run time error
Could not load file or assembly 'Mono.Security, Version=2.0.0.0 , Culture=neutral , PublicKeyToken= 0738eb9f132ed75 6' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I tried to find Mono.Serurity.d ll but I coudn't find
Help me...
Thanks all of you
6 34968
I added the reference to Npgsql.dll and run the application. it gives this run time error
Could not load file or assembly 'Mono.Security, Version=2.0.0.0 , Culture=neutral , PublicKeyToken= 0738eb9f132ed75 6' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I tried to find Mono.Serurity.d ll but I coudn't find
Help me...
Thanks all of you
hi pathmakumara,
U have added Npgsql.dll only so, this type of errors occured.
u have to add mono.security.d ll.
follow this,
steps, right click, Add refference,
goto npsql folder, it included three folders, like doc,Mono,MS1.1
now click the MS1.1 folder It has two .dll - like Mono.Security.d ll,Npgsql
You Must add both DLL then run it'll work perfectly.
Thanks a lot to who reply me
But the problem with me now is where should I download the folder. Because I download from this link
http://pgfoundry.org/frs/?group_id=10001 40&release_id=9 58
it contains only three files with Npgsql.dll.
Thanks
Thanks a lot to who reply me
But the problem with me now is where should I download the folder. Because I download from this link
http://pgfoundry.org/frs/?group_id=10001 40&release_id=9 58
it contains only three files with Npgsql.dll.
Thanks
hello pathmakumara, u don't downloaded the dll.
you have to add the dll in your "Bin folder" in ur appln. right click Bin folder,
select Add refference and then click the browse button, where you have installed your Postgresql . i think it will be installed C drive. in the C drive program files,
PostgreSQL, and then it has subfolder like 8.1, click this It has folder like Npgsql , click Npgsql It has three folder U click the M.S1.1, This folder contain Two .DLL . U Must Select Both DLL and Add ur Bin folder. Now run it ... Don't Downloaded these dll Because already having both dll in ur npgsql.
regards,
Bangalore Guys...
and
thanks so much
But I am using Postgresql version 8.3 and Installation notes says that Npgsql is not in a directory and Npgsql is installed int Global assembly cash. But I couldn't still overcome the problem. If there is idea, tell me. Thanks again
manjula
I've been googling it all the time. Many thanks...
Hi, Thank you for this article, it really worked form me. Once again many thanks. ;) @BangaloreGuys Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Enos Meroka |
last post by:
Hallo,
I am a student doing my project in the university.. I have been trying
to compile the program using HP -UX aCC compiler, however I keep on
getting the following errors.
=================================================================
Error 19: "CORBAManagerMessages.h", line 4 # Unexpected 'std'.
using std::string;
^^^
|
by: acb |
last post by:
Hi,
I wrote a DLL Component (using Visual Studio 2005) and managed to
include it into a C# Console application.
I am now trying to include this component into a Web project. I copy
the DLL into the bin directory but am not able to progress. Can anyone
please guide me to an online tutorial on the subject.
Thanks,
|
by: Eugene Anthony |
last post by:
The problem with my coding is that despite removing the records stored
in the array list, the rptPages repeater
control is still visible. The rptPages repeater control displayes the
navigation link (1,2,3 so on). The code can be found in
SubscriptionCart.aspx.cs.
Default.aspx
------------
|
by: rhepsi |
last post by:
Is there a way to use NPGSQL with SSL-Connections in web applications on a Windows 2003 Server?
|
by: yales |
last post by:
I am using visual c# (postgreSQL as DB and Npgsql as data provider) and
now I need to print a report. I am trying to use Crystal Reports but I
cannot connect the data source. How can I connect Npgsql to my project?
| |
by: sambarker123 |
last post by:
Hi all,
I am using NPGSQL to connect to postgres server.I am getting
exception at the first statement in the try block.
string not recognised as a vaild date time
NpgsqlCommand command3 = new NpgsqlCommand("SELECT * FROM table1WHERE \"col2\" = :val3", conn1);
command3.Parameters.Add(new NpgsqlParameter("val3", DbType.String));
command3.Parameters.Value ="werqwr";
|
by: pykie101 |
last post by:
Hi, I'm trying to use a dictionary with c# and npgsql in visual studio 2008 and I'm unsure how, i'm very new to postgresql, npgsql, and .net infact! (3rd week). There are multiple keys and values in the dictionary, to keep things simple.
Dictionary<string, object> d = new Dictionary<string, object>();
d.Add("value1", "data1");
d.Add("value2", "data2");
I have no idea how to set the parameters and execute the query, assume sql is a query...
|
by: ghjk |
last post by:
I'm new to c# and didn't write any c# code yet. I'm using postgres database. I want to connect to postgres and retriew some data to test my database connectivity. This is my code.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
|
by: sudha yogeesh |
last post by:
Dear all
I am using npgsql version 1 to connect to postgresql 8.4 from asp.net. Now npgsql ver 2.11 is available. But it is not clear which version can be used. There is npgsql for mst.net, npgsql for mono... Please help me regarding this version to be used for asp.net 2.0.
Also will there be any issues in changing from npgsql 1 to 2.11 version as most of the coding hjas been completed already?
Please help
with thanx
sudha
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |