Install problem with .NET CF 2.0

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
mh

Install problem with .NET CF 2.0

Post by mh » Mon 09 Jan 2006 03:40

Hi,

I use registred version of PostgreSQLDirect .NET Mobile CF 2.0 with VS2005 for Software Developers.
When I start up VS, error was occued.

The error is

The Add-in 'PostgreSQLDirect .NET2 Mobile add-in' failed to load or caused an exception.
Would you choose yes,you will need to reinstall the Add-in to use it again.

Error Message: The system cannot find the file specified.

Error number: 80070002

I'm try to reinstall WinXp and VS2005 , but same error was occuerd.


Next, I add controls to Toolbox manually, and run program on Windows Mobile 2003.
But,when program reach this step program is stop with error.

pgSqlConnection1.Open();

Error message is

License expired or not valid. Please view "Licensing" topic in PostgreSQLDirect .NET documentation
for details or contact Core Lab technical support.

I read Licensing documentation but I couldn't resolved this problem.


Additionary I test following environment.

VS2003 + Mobile CF 1.1
VS2005 + .Net 2.0

No error was occuerd and I can connect to server.


Have you any suggestions?
thanks.

SecureGen
Devart Team
Posts: 133
Joined: Thu 08 Sep 2005 06:27

Post by SecureGen » Tue 10 Jan 2006 10:10

Try to register CoreLab.PostgreSql.Addin.dll with following command:
RegAsm.exe /codebase CoreLab.PostgreSql.Addin.dll
and try to load VS2005 again.
Please let me know if this helps.

mh

Post by mh » Wed 11 Jan 2006 01:19

Problem solved!

In: C:\Program Files\CoreLab\PostgreSQLDirect.NET2 Mobile

Type: c:\windows\microsoft.net\framework\v2.0.50727\regasm.exe /codebase CoreLab.CF.PostgreSql.Addin.dll

Return: Types registerd successfully


Thank for your support.

Post Reply