web service call not define error

when i  create application i am using one web 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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
shasanjiAuthor Commented:
The second option was worked for me thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.