Hi, 
I opened visual studio, and create a new web service project, renamed 
asmx file to prediction.asmx and implemented it : 
1)I added the first line : 
<[EMAIL PROTECTED] Language="C#" Class="Weather"%> 

when I build the solution I got this error : 
a namespace does not directly contain members such as fields or 
methods. 

and when I called prediction.asmx in the browser : 
http://localhost/weather/prediction.asmx 
I got this error : 

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 load type 'Weather.Global'. 

Source Error: 


Line 1: <%@ Application Codebehind="Global.asax.cs" 
Inherits="Weather.Global" %> 



Source File: c:\inetpub\wwwroot\Weather\global.asax Line: 1 


Could you please help me. 
thanks 







 
Yahoo! Groups Links

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

<*> 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