Click here to Skip to main content
15,899,475 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem updating web reference in Visual Studio 2005 Pin
N a v a n e e t h20-Nov-08 16:17
N a v a n e e t h20-Nov-08 16:17 
QuestionNeed help with ASP???? Pin
sannysmith20-Nov-08 4:21
sannysmith20-Nov-08 4:21 
AnswerRe: Need help with ASP???? Pin
kevinbrydon20-Nov-08 4:36
kevinbrydon20-Nov-08 4:36 
AnswerRe: Need help with ASP???? Pin
Christian Graus20-Nov-08 8:41
protectorChristian Graus20-Nov-08 8:41 
QuestionHow to do this in ASP.NET? Pin
bilal haider20-Nov-08 3:42
bilal haider20-Nov-08 3:42 
AnswerRe: How to do this in ASP.NET? Pin
Christian Graus20-Nov-08 8:43
protectorChristian Graus20-Nov-08 8:43 
GeneralRe: How to do this in ASP.NET? Pin
bilal haider23-Nov-08 20:40
bilal haider23-Nov-08 20:40 
GeneralCould not create type %webservice Name% Pin
Mustafa Ismail Mustafa20-Nov-08 3:16
Mustafa Ismail Mustafa20-Nov-08 3:16 
OK, this error is officially driving me insane. I've been at it for a few hours, googled, tried the suggestions I've found and nothing works.

This used to build OK and only some greater power can discern why it stopped. Mind you, I haven't touched this code for months.

This is the partial code in the code behind for the web service:

[WebService(Namespace = "http://tempuri.org/", Name = "AddBlogEntry")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]   
    public class AddBlogEntry : System.Web.Services.WebService
    {

        [WebMethod]
        public bool AddEntry(string blogEntryData, string blogEntryTitle, string blogEntrySubTitle)
        {
            try{
        ...


This is the line in the asmx page:

<![CDATA[<%@ WebService Language="C#" CodeBehind="AddBlogEntry.asmx.cs" Class="McdnWebservices.AddBlogEntry" %>]]>


And this is the error that I get:

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 'McdnWebservices.AddBlogEntry'.

Source Error:

Line 1:  <%@ WebService Language="C#" CodeBehind="AddBlogEntry.asmx.cs" Class="McdnWebservices.AddBlogEntry" %>


Source File: /mustafacodes.net/McdnWebservices/AddBlogEntry.asmx    Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 


Any clues?


Don't forget to vote if the response was helpful


Sig history

"dad" Ishmail-Samuel Mustafa

Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

GeneralRe: Could not create type %webservice Name% Pin
Christian Graus20-Nov-08 8:47
protectorChristian Graus20-Nov-08 8:47 
GeneralRe: Could not create type %webservice Name% Pin
Mustafa Ismail Mustafa20-Nov-08 9:49
Mustafa Ismail Mustafa20-Nov-08 9:49 
QuestionAsp.net version conversion problem Pin
shanthi jothi20-Nov-08 3:15
shanthi jothi20-Nov-08 3:15 
AnswerRe: Asp.net version conversion problem Pin
Christian Graus20-Nov-08 8:49
protectorChristian Graus20-Nov-08 8:49 
Questionhow to use both dropdownlist and menu control in one masterpage Pin
santoshpoosarla20-Nov-08 2:46
santoshpoosarla20-Nov-08 2:46 
AnswerRe: how to use both dropdownlist and menu control in one masterpage Pin
Abhijit Jana20-Nov-08 3:08
professionalAbhijit Jana20-Nov-08 3:08 
Questionhow to prevent access to back page after logout in mozilla Pin
akram_bindas20-Nov-08 1:07
akram_bindas20-Nov-08 1:07 
AnswerRe: how to prevent access to back page after logout in mozilla Pin
Paddy Boyd20-Nov-08 1:40
Paddy Boyd20-Nov-08 1:40 
Questionhow to show the pop up at a fixed location at scroll down Pin
raghvendrapanda20-Nov-08 1:02
raghvendrapanda20-Nov-08 1:02 
QuestionHomedirectory settings for IIS Pin
Chetan_pawar19-Nov-08 23:49
Chetan_pawar19-Nov-08 23:49 
QuestionWhose performance is better with microsoft dotnet oracle or sqlserver Pin
kirtiaroraa19-Nov-08 23:29
kirtiaroraa19-Nov-08 23:29 
AnswerRe: Whose performance is better with microsoft dotnet oracle or sqlserver Pin
BalasubramanianK19-Nov-08 23:40
BalasubramanianK19-Nov-08 23:40 
AnswerRe: Whose performance is better with microsoft dotnet oracle or sqlserver Pin
Ashfield20-Nov-08 0:11
Ashfield20-Nov-08 0:11 
QuestionError in Webconfig file. Pin
BalasubramanianK19-Nov-08 23:29
BalasubramanianK19-Nov-08 23:29 
AnswerRe: Error in Webconfig file. Pin
simsen19-Nov-08 23:45
simsen19-Nov-08 23:45 
Questionproblem with FCKeditor Pin
Ive Mazumder19-Nov-08 22:53
Ive Mazumder19-Nov-08 22:53 
AnswerRe: problem with FCKeditor PinPopular
Paddy Boyd19-Nov-08 23:40
Paddy Boyd19-Nov-08 23:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.