[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Asp.net web service call not define error

when i  create asp.net application i am using one web service.it is working fine in my local host. but when i  run on development server i got error  BC30002: Type 'reportdata.matrixWebService' is not defined.and point error into " Dim webServiceData As New reportdata.matrixWebService".please help me
  • 2
1 Solution
shasanjiAuthor Commented:
Still not luck with this error please help some one
thank you
Saqib KhanSenior DeveloperCommented:
there are few things that you can try.

A - Publish the project ( Build > Publish). it will create all required files in dll that you can upload to server and you should be all set.

B - Copy the App_WebReferences folder to the root of website.

C - (Best Option). use the wsdl.exe tool to create a proxy class(using web service url) for your project. put that proxy class into app_code and then use that proxy class within your project.
shasanjiAuthor Commented:
The second option was worked for me thanks

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now