Hi ILyas,

I actually ran into this exact problem this morning. Do you have the bin 
directory? (holding your dll) sitting in the root of the virtual directory - 
the folder needs to be in the root otherwise asp.net wont find it.
This was my problem anyway as im relatively new to .NET and copied the whole 
application into a subdirectory inside the virtual directory which is fine , 
apart from the fact you need to have the WebConfig file and Bin folder in 
the root.

Otherwise Id try rebuilding the project in VS and reuploading.

Hope that helps

James.
----- Original Message ----- 
From: "ILyas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:27 PM
Subject: [ASP] could not create type


>
> Hi
>
> I have been trying to create a webservice.
> I have created one and it works well in my localhost.
>
> But when i upload it to our server, I'm getting this error when accessing
> this webservice. Any idea?
>
> When i googled this, i found that the directory needs to be a virtual
> directory. I tried uploading the service to the virtual directory which
> spits the same error.
>
> ---------------------------------------
>
> Server Error in '/' 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 'wstestdxb.service_stock'.
>
>
> Source Error:
>
> Line 1: <%@ WebService Language="vb" Codebehind="service_stock.asmx.vb"
> Class="wstestdxb.service_stock" %>
>
>
> Source File: c:\inetpub\wwwroot\dxb\webservices\stock\service_stock.asmx
> Line: 1
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.573; 
> ASP.NET
> Version:1.1.4322.573
> ---------------------------------------
>
> Thanks
> ILyas
>
>
>
>
>
> ---------------------------------------------------------------------
> Home       : http://groups.yahoo.com/group/active-server-pages
> ---------------------------------------------------------------------
> Post       : [EMAIL PROTECTED]
> Subscribe  : [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> --------------------------------------------------------------------- 
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to