473,396 Members | 2,089 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

custom error for webservice not working

hi,
when i type "http:\\localhost\WebService1\Service1.asmx?ws dl="
its giving me http 500 internal error. I want to display myerrorpage instead
of default one.

I tried all the options like
web.config adding customerrors,global.asax getlasterror and IIS edit
properties for this particular error with myerror page. It didnot worked.

I tried using .htaccess it also didnot worked.

I tried to use wsdlhelpgenerator href=myhelppage.aspx but it didnot worked.
i changed machine.config,web.config but its having problem.

can any one give me some inputs.

please note that im trying ?wsdl=

thanks
Gouda

Jul 22 '05 #1
2 1388
In IIS menu, you can setup a specific page for each of the errors (there's a
hole list)

you get to this menu by right-clicking on your "default web" under IIS
cascade and going to properties

then check out the different tabs on the upper part of the dialogue, these
options are under one of those tabs


"Nadagouda" <Na*******@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
hi,
when i type "http:\\localhost\WebService1\Service1.asmx?ws dl="
its giving me http 500 internal error. I want to display myerrorpage
instead
of default one.

I tried all the options like
web.config adding customerrors,global.asax getlasterror and IIS edit
properties for this particular error with myerror page. It didnot worked.

I tried using .htaccess it also didnot worked.

I tried to use wsdlhelpgenerator href=myhelppage.aspx but it didnot
worked.
i changed machine.config,web.config but its having problem.

can any one give me some inputs.

please note that im trying ?wsdl=

thanks
Gouda

Jul 22 '05 #2
Amir,
I already tried that option as said in my message earlier, it didnot worked
for this scenario. Can u plz try.
thanks
gouda
"Amir" wrote:
In IIS menu, you can setup a specific page for each of the errors (there's a
hole list)

you get to this menu by right-clicking on your "default web" under IIS
cascade and going to properties

then check out the different tabs on the upper part of the dialogue, these
options are under one of those tabs


"Nadagouda" <Na*******@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
hi,
when i type "http:\\localhost\WebService1\Service1.asmx?ws dl="
its giving me http 500 internal error. I want to display myerrorpage
instead
of default one.

I tried all the options like
web.config adding customerrors,global.asax getlasterror and IIS edit
properties for this particular error with myerror page. It didnot worked.

I tried using .htaccess it also didnot worked.

I tried to use wsdlhelpgenerator href=myhelppage.aspx but it didnot
worked.
i changed machine.config,web.config but its having problem.

can any one give me some inputs.

please note that im trying ?wsdl=

thanks
Gouda


Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thomas D. | last post by:
Situation: --------------------------- I have an 'export'-wrapper to my regular objects. For each regular object there is also an export object. An export object derives from the regular object...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
5
by: mtv | last post by:
Hi all, I have the following code: ================================ Webservice side: public class MyWS: WebService { private myLib.DataObject curDataObject;
12
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
0
by: Allan Wissing | last post by:
In my WebService I have a custom object that is In my Client app I am trying to call new BinaryFormatter().Serialize() and passing the Custom Object declared in the WebService. Why do I get...
2
by: Justin Drerup | last post by:
I'm tryng to return a custom object that contains a collection of MembershipUsers through a web service however I receive the following error when trying to return the object through a web method:...
2
by: Techno_Dex | last post by:
I have a custom object that I have written which is serializable. I have put this object in it's own dll which is referenced by both the WebService and the Application using it. My problem is the...
8
by: Techno_Dex | last post by:
Has anyone come up with a slick way to make Custom Serializable Objects to behave like DataSets when using WebServices? What I'm looking for is some way to force the WSDL generated code to create...
5
by: =?Utf-8?B?RGVlcGFrIFZpag==?= | last post by:
Hi, I an using Web Services as my business layer and wanted to throw custom exceptions from the web method based on some business logic. Now, when I make a custom exception class bu inheriting...
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.