User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,590 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,679 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 3128 | Replies: 0
Reply
Join Date: Jul 2005
Posts: 1
Reputation: rico6xrico is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rico6xrico rico6xrico is offline Offline
Newbie Poster

<@ import Namespace "MathService"> , or was not found.

  #1  
Jul 8th, 2005
Hello All,

I'm trying to understand the whole concept of Webservices ans ASP.NET. I've created following documents, using "VB" Script.

MathServiceClient.aspx
MathService.asmx
MathService.wsdl
MathService.vb

On my MathServiceClient.aspx file I have the following include,
{code} <%@ Import Namespace="MathService" %> {/code}

*I think this forum required {code}{/code} when posting code.

Well, when I call MathServicesClient.aspx, I get the following error.



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: BC30002: Type 'MathServiceVB.MathService' is not defined.

Source Error:



Line 19: End Try
Line 20:
Line 21: Dim Service As MathServiceVB.MathService = New MathServiceVB.MathService()
Line 22:
Line 23: Select (CType(sender,Control).ID)


Source File: C:\Inetpub\wwwroot\webservices\math\MathServiceClient.aspx Line: 21


I believe the "MathServiceClient.aspx" has NOT imported the Namespace "MathService, for some reason it doesn't create object from library.

I've also done various examples off the web and I continue to have the same issue, what could be the problem? Please help.

Thanks,

Ricardo
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:10 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC