Creating new libraries with services


I have a library that i am using a soap service inside. When i run the library it gives this error:
But it compeletely works fine before i publish the library.

Any help would be appereciated, thanks

You can show us only first line from Invoke Code? That exception indicates that you are declaring a library but not exists

This is the first line

And this is the service

Like i said it works fine before i publish it

Dont use new when u declarate a Dim

Dim Request As SendSms...