Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler Error Message: BC30182: Type expected.

Status
Not open for further replies.

dpdg

Programmer
May 23, 2005
148
US
I'm getting this error when I run the app on the server but not on my development machine. What "type" is it expecting?

Server Error in '/REPORTS' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30182: Type expected.

Source Error:

Line 5: Partial Class reports_managers_report
Line 6: Inherits System.Web.UI.Page
Line 7: Private c As New Common
Line 8: Private cs As String = c.GetConnectionString()
 
dpdg,

In your Imports statements at the top of the page are you importing the System namespaces?

Senior Qik III, ASP.Net, VB.Net ,SQL Programmer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
** Do NOT feed Code Gremlins after midnight **
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top