DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

Server object unrecognized in VB.NET

By: rekha singh | 19 May 2010 12:45 pm

Good afternoon!

 
I am building an ASP.NET project with Visual Studio 2008. I am trying to query an index server, starting with the following code snippet:
 
Dim DA As New OleDb.OleDbDataAdapter
Dim DS As New DataSet("IndexServerResults") ' give the dataset a name
Dim Q As Object = Server.CreateObject("ixsso.Query")
Dim Util As Object = Server.CreateObject("ixsso.Util")
 
The reference to "Server" is unrecognized, and the code will not compile. I have Googled extensively and I cannot find any code examples that further qualify the "Server" reference, nor can I find any references that must be added to the project in order for it to be recognized.
 
Can anyone help?
 

Comments

No Comments Posted for this Article.

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move