Results 1 to 10 of 10

Thread: Web Service in a sub directory

Threaded View

  1. #1

    Thread Starter
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Web Service in a sub directory

    Ok I've created a web service and I've published the web service so that i have a precompiled app file. And on the server, I've created an IIS virtual directory called \ws\.

    When i have the service in the root directory, i can access the .asmx file and run the service just fine, but when i drop it down to the sub directory (\ws\AssociatesWebService) i get an error.

    Code:
    Server Error in '/WS' Application.
    --------------------------------------------------------------------------------
    
    Parser Error 
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
    
    Parser Error Message: Could not create type 'AssociateInformation'.
    
    Source Error: 
    
    
    Line 1:  <%@ WebService Language="vb" CodeBehind="/bin/App_Code/AssociateInformation.vb" Class="AssociateInformation" %>
    
     
    
    Source File: /ws/AssociatesWebService/AssociateInfo.asmx    Line: 1
    I'm assuming that i could turn this sub directory into another virtual directory but i'd rather not have to do that every time i have a new web service to deploy. Is there anyway around having to do that?

    Thanks S_M
    Last edited by space_monkey; Feb 5th, 2008 at 10:54 AM.
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width