Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


can it possible to call nested namespace in project

i have crarted one project(frmModule_1) it contain one Form and other form are user control in this project. main from call the user control. For sql connection string
i made a separate namespace(frmclasslibrary), which is in another projct.
i am importing namespace(frmclasslibrary) in this project(frmModul_1).
i create diffrent module up to frmMoudle_17. in every moudle i imports frmclasslibrary

at last i create one MDI Form. in this MDI Form i made object of frmModule_1,frmMoudle_2 up to
mdoule_17, when i build this MDI it is build successfully but when i run this MDI form it
gives an error.
Error: Sysntex error
An unhandled exception of type '' occureed in

when i put try catch block it gives error message that
Message :"SQL Server does not exist or access denied."
source :".Net SqlClient Data Provider"

StackTrace :
" at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
at frmAssignment.frmAssignMain..ctor()
at SMSMDI.frmSMSMDI.MenuItem2_Click(Object sender, EventArgs e) in F:FinalSMSSetupSMSMDIfrmSMSMDI.vb:line 820"

how can i solve this problem.
sorry guy's for my poor english..

Sign In or Register to comment.