Click here to Skip to main content
16,007,126 members
Home / Discussions / C#
   

C#

 
AnswerDouble Post Pin
EliottA2-Feb-09 2:38
EliottA2-Feb-09 2:38 
QuestionC# windows appliction Pin
susanne12-Feb-09 2:33
susanne12-Feb-09 2:33 
AnswerRe: C# windows appliction Pin
Alan N2-Feb-09 2:43
Alan N2-Feb-09 2:43 
AnswerRe: C# windows appliction Pin
CPallini2-Feb-09 2:46
mveCPallini2-Feb-09 2:46 
AnswerRe: C# windows appliction Pin
EliottA2-Feb-09 2:46
EliottA2-Feb-09 2:46 
QuestionPrinting Pin
NamdeoWaghmare2-Feb-09 2:05
NamdeoWaghmare2-Feb-09 2:05 
AnswerRe: Printing Pin
EliottA2-Feb-09 2:25
EliottA2-Feb-09 2:25 
Questionbrowse WSDL error Pin
George_George2-Feb-09 1:28
George_George2-Feb-09 1:28 
Hello everyone,

I met with issues when browse for WSDL information for a web service. When I am using F5 in Visual Studio to browse http://localhost:21530/Service1.asmx, everything is fine (e.g. web service textual description is shown)

But when I pubish the web services to my local IIS 6.0 server and browse from IE http://localhost/Service1.asmx, here are the error message and my simple web services source code.

Does anyone have any ideas why?

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

        [WebMethod]
        public double HelloWorld()
        {
            return new Random().NextDouble();
        }
    }


The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://localhost/Service1.asmx'. Line 1, Position...

<%@ WebService Language="C#" CodeBehind="Service1.asmx.cs" Class="TestWebServicePerformancev1.Service1" %>
-^


thanks in advance,
George
AnswerRe: browse WSDL error Pin
MadArtSoft2-Feb-09 1:45
MadArtSoft2-Feb-09 1:45 
GeneralRe: browse WSDL error Pin
George_George2-Feb-09 2:07
George_George2-Feb-09 2:07 
GeneralRe: browse WSDL error Pin
MadArtSoft2-Feb-09 3:36
MadArtSoft2-Feb-09 3:36 
GeneralRe: browse WSDL error Pin
George_George3-Feb-09 1:16
George_George3-Feb-09 1:16 
Questionstart the application at computer start Pin
sjs4u2-Feb-09 1:09
sjs4u2-Feb-09 1:09 
AnswerRe: start the application at computer start Pin
musefan2-Feb-09 1:13
musefan2-Feb-09 1:13 
AnswerRe: start the application at computer start Pin
Spunky Coder2-Feb-09 1:19
Spunky Coder2-Feb-09 1:19 
GeneralRe: start the application at computer start Pin
MadArtSoft2-Feb-09 1:51
MadArtSoft2-Feb-09 1:51 
Questionreading huge set of data from Db Pin
prasadbuddhika2-Feb-09 0:58
prasadbuddhika2-Feb-09 0:58 
AnswerRe: reading huge set of data from Db Pin
musefan2-Feb-09 1:11
musefan2-Feb-09 1:11 
GeneralRe: reading huge set of data from Db Pin
prasadbuddhika2-Feb-09 2:35
prasadbuddhika2-Feb-09 2:35 
GeneralRe: reading huge set of data from Db Pin
PIEBALDconsult2-Feb-09 4:26
mvePIEBALDconsult2-Feb-09 4:26 
AnswerRe: reading huge set of data from Db Pin
Wendelius2-Feb-09 5:16
mentorWendelius2-Feb-09 5:16 
GeneralRe: reading huge set of data from Db Pin
prasadbuddhika2-Feb-09 18:55
prasadbuddhika2-Feb-09 18:55 
GeneralRe: reading huge set of data from Db Pin
PIEBALDconsult3-Feb-09 4:34
mvePIEBALDconsult3-Feb-09 4:34 
GeneralRe: reading huge set of data from Db Pin
Wendelius3-Feb-09 7:05
mentorWendelius3-Feb-09 7:05 
Questioninput fro array list Pin
lawrenceinba2-Feb-09 0:19
lawrenceinba2-Feb-09 0:19 

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.