Licensing Fails in Visual C# 2005 Express Edition

Licensing Fails in Visual C# 2005 Express Edition

Postby jmulkerin » Fri 07 Jul 2006 02:58

Added License manually as directly in the help file but still get the license error. File is called licenses.licx; set to be an embedded resource.

At best I can get "The specified task executable could not be run. The specified executable is not a valid Win32 application."
jmulkerin
 
Posts: 6
Joined: Wed 10 May 2006 02:57

Postby Alexey » Fri 07 Jul 2006 06:23

Check that *.licenses resource is present in compiled assembly.
Check that licenses.licx is included in your project.
What version of Visual Studio do you use?
What version of OraDirect .NET do you use (Std, Pro, Mobile)?
Do you write class library (dll), executable application (exe), web project,
web project with dynamically compiled sources?
Do you compile your project in Visual Studio environment or using command line?
What is the full text of the error you get? Whan do you get it?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby jmulkerin » Sat 08 Jul 2006 03:01

1) Can't compile so its not in the compiled assembly.
2) The licenses.licx is included in the project.
3) I'm using Visual C# 2005 Express version
4) I'm using Pro.
5. Its an exe with one sql intended to be run on multiple workstations; no dynamically compiled sources
6) I'm using the Visual Express environment.
7) Exact error is: "The specified task executable could not be run. The specified executable is not a valid Win32 application."
jmulkerin
 
Posts: 6
Joined: Wed 10 May 2006 02:57

Postby jmulkerin » Sat 08 Jul 2006 20:11

Fixed!!
I uninstalled Visal C# and reinstalled. Strange. It did not affect any SQL Svr programs, just the Oradirect ones.
jmulkerin
 
Posts: 6
Joined: Wed 10 May 2006 02:57

Postby Alexey » Fri 14 Jul 2006 13:27

Well done.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle