Search found 5 matches

by swaxolez
Thu 16 Feb 2012 20:44
Forum: dotConnect for PostgreSQL
Topic: Help - Cannot build license
Replies: 1
Views: 1047

Help - Cannot build license

Using version 4.55.37.0 with windows 7 x64

I am trying to build a license on my asp.net site and get the following error:


Error 3
C:\Users\xxxxx\Documents\Visual Studio 2008\WebSites\xxxx\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format. C:\Users\xxxxx\Documents\Visual Studio 2008\WebSites\xxxx\licenses.licx C:\...\xxxx\


I have uninstalled dotconnect for postgresql, deleted all gac entries, rebooted and then reinstalled and still I get the above error.

What am I missing?
by swaxolez
Sat 01 Aug 2009 21:11
Forum: dotConnect for PostgreSQL
Topic: ASP.NET Licensing problem
Replies: 3
Views: 2177

I have the same problem when I try to build runtime license:

C:\Users\William\Documents\Visual Studio 2008\WebSites\PCFS\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.


I am at a loss?
by swaxolez
Tue 08 Apr 2008 01:03
Forum: dotConnect for PostgreSQL
Topic: Asp.Net Membership/Roles Access from IIS 7
Replies: 1
Views: 2531

Asp.Net Membership/Roles Access from IIS 7

I am trying to alter membership and roles from IIS 7 but cannot due to the following:

"This feature cannot be used because the default provider type could not be determined to check whether it is a trusted provider.

You can use this feature only when the default provider is a trusted provider. If you are a server administrator, you can make a provider a trusted provider by adding the provider type to the trusted providers list in the Administration.config file. The provider has to be strongly typed and added to the GAC (Global Assembly Cache)."

I was under the impression that postgresqldirect.net was added to GAC during setup.

I am using the latest version of Postgresqldirect.net and Vista Business 64.

Can't find much information regarding this Administration.config file.

Thanks
by swaxolez
Thu 28 Feb 2008 01:09
Forum: dotConnect for PostgreSQL
Topic: Date Type Question
Replies: 2
Views: 2194

Okay I figured it out - had to change parameter type to Datetime. However, you would think that when the connector is created it would also correctly set each data type - as it is everything is set to type string.
by swaxolez
Thu 28 Feb 2008 00:45
Forum: dotConnect for PostgreSQL
Topic: Date Type Question
Replies: 2
Views: 2194

Date Type Question

I'm sure this is a really obvious fix but it alludes me so far. My database has several date fields that when I go to update through pgsqldatasource gets treated as a timestamp and then throws an error. If before I go to update I remove the time portion (in this case always 12:00:00 am) then everything works fine. How do I make visual studio treat my postgresql date field as only a date field ('2007-01-01') and not a timestamp ('2007-01-01 12:00:00 am).

Cheers