CFrontDotNet Initialization Error with ASP NET

aquawateraquawater Member Posts: 71
Hi

We are trying to use CFRONT with ASP.NET.
and we encountered this error when it tried to connect to database.
We are using NAV 5.0 with CFRONT included in DVD installer.
ASP NET 3.5.

I have tried to put both CFRONT.dll and CFRONTSQL.dll to BIN directory of our web site.
pLease help. Thank you all.
The Navision CFront initialization failed, with following error: Exception of type 'System.Exception' was thrown.. Please verify that CFront.dll/CFrontsql.dll are available and located in the directory where the application is started. 

Exception Details: Microsoft.Navision.CFront.CFrontException: The Navision CFront initialization failed, with following error: Exception of type 'System.Exception' was thrown.. Please verify that CFront.dll/CFrontsql.dll are available and located in the directory where the application is started.

[b]Code: [/b]
CFrontDotNet.Instance.ConnectServerAndOpenDatabase(
                                    connectionOptions.ServerName, 
                                    connectionOptions.NetType, 
                                    connectionOptions.DatabaseName, 
                                    connectionOptions.CacheSize, 
                                    connectionOptions.UseCommitCache, 
                                    connectionOptions.UseAuthentication, 
                                    connectionOptions.Username, 
                                    connectionOptions.Password);

Comments

Sign In or Register to comment.