Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection String Error in Object Test Bench
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Connection String Error in Object Test Bench
Miscellaneous
Thread ID:
01177360
Message ID:
01177360
Views:
58
I went through all of the Jump Starts without a problem. :-)

Now, I am attempting to build some business rules on by SQL Server database.

I can create business rules using the MM.Net tool...it returns the tables and views without a problem.

When I go to test the business rules by invoking a method, I receive the Invoke Method window. I enter a string "G123", this error:

An unhandled exception of type 'System.InvalidOperationException' occurred in Microsoft.VisualBasic.dll

Additional information: The ConnectionString property has not been initialized.


The following is from App.config file:

add key="Visual DSI Accounting\Connection" value="server=(local);uid=sa;pwd=XX;database=DS;"


The following function is what I am attempting to call:

Public Function GetInventoryByItemNo(ByVal lcinv_profk As String) As InventableEntity
Me.GetDataSet("SELECT * FROM inventable WHERE inv_profk = @lcinv_profk", Me.CreateParameter("@lcinv_profk", lcinv_profk))
Return Me.Entity
End Function

Thanks in advance,
Rick
Richard DeZeeuw
DeZeeuw Software Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform