Jump to content

Web Service Help Please!


nguye1r

Recommended Posts

Hello,I'm trying to use a web service API on my website.i follow the http://msdn.microsoft.com/en-us/library/d9w023sx.aspxtutorial to add the serviceand the http://msdn.microsoft.com/en-us/library/6h0yh8f9.aspxtutorial to call the serviceit work fine on my pc, but when I upload the files to the server it give me error. I tried maping the website of the server and open it in visual studio and create the web reference there but it's still giving me error.If anyone know what's going on please let me know, thanks.this is the error I get:*******************************************************************************************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 'auth.AuthService' is not defined.Source Error: Line 3: Inherits System.Web.UI.PageLine 4: Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRenderLine 5: Dim w As auth.AuthService()Line 6: Dim tic As String = w.GetPmlUserAuthTicket(Request.Form("u"), Request.Form("p"), session("id"))Line 7: Dim a As New appV.AppView() **************************************************************

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...