Community
Showing results for 
Search instead for 
Do you mean 
Reply

Login Problems

BCS
New Member
Posts: 1
Country: United States

Login Problems

I have a feeling I must be making some sort of really simple mistake.

 

Any attempt to login to the ActFramework object is throwing a TypeInitializationException with the message: "The type initializer for 'Protexis.֞' threw an exception."

 

My Code:

var framework = new Act.Framework.ActFramework();
framework.LogOn(@"C:\Users\username\Documents\ACT\ACT for Windows 11\Databases\dbName.pad", "username", "password");

 

I'm running ACT! 2009 Standard (v11.0.0.367) on a 64-bit version of Vista Home Premium

 

Thanks in advance for any help you can provide.

Employee
Posts: 33
Country: USA

Re: Login Problems

Accordiing to our resident 64-bit expert, you need to force the executable you are building to be 32-bit by running corflags against it.

 

usage: corflags XXX.exe /32BIT+ /Force

 

Tim Faust
ACT! R&D
Employee
Posts: 33
Country: USA

Re: Login Problems

While that suggestion make work for you, I don't think it is a supported config if you run into other issues. See this kb article

 

Tim Faust
ACT! R&D