•
•
•
•
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 426,451 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,353 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: 3266 | Replies: 0
![]() |
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Hidden program installs .dlls with randomly generated names in random "notify" reg. (Viruses, Spyware and other Nasties)
- "package" java instruccion in python? (Python)
- "Closing" a script... (Python)
- Place a "Run" Icon On Your Desktop (Windows tips 'n' tweaks)
- google "keyword" question (Search Engine Optimization)
- "AlertSpy" spam pop-up messages problem (Viruses, Spyware and other Nasties)
- Server error: namespace not found (ASP.NET)
- "Craps", Game Help (C++)
- Can't remove "about:blank" homepage. Please help. (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: An unhandled exception occurred during the execution of the current web request.
- Next Thread: passowrd authontication .net and soap


Linear Mode