Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

Custom error page for  500 in webservices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nadagouda - 17 May 2005 18:32 GMT
Hi,

Im trying http:\\localhost\WebService1\Service1.asmx?wsdl=. I am getting
http 500 internal error instead of that i want to use mycustom page.
I tried all the following options.
1. IIS customerros tab and edit properties to point to mypage for 500.
2. web.config <customErrors mode=on defaultredirect="mypage.html"
<error status coode = 500 redirect="mypage.html"
3.global.asax
application error
using server.getlasterror
4. .htaccess
errordocument 500/mypage.html
none of the options worked.
5. finally i tried to update defaultwsdlhelpgenerator.aspx or using
myhelppagegenerator i got the error. I was not able to put
<webServices> element in web.config

please provide me solution for this issue.

thanks
Nadagouda
Yunus Emre ALPÖZEN [MCAD.NET] - 17 May 2005 19:50 GMT
Try http://localhost/WebService1/Service1.asmx?wsdl remove "=."...

Signature

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

> Hi,
>
[quoted text clipped - 18 lines]
> thanks
> Nadagouda
Nadagouda - 18 May 2005 22:50 GMT
hi,
I know that , I want to handle this scenario  if user types likes that i
dont want him/her to see standard 500 page , instead show my custom page.

they may try like wsdl =
and also service1.asxxxx
its now allowing me to use custom page for these particular cases when i
type wsdl= and also if i give wrong file extensions

Thanks
Gouda

> Try http://localhost/WebService1/Service1.asmx?wsdl remove "=."...
>
[quoted text clipped - 20 lines]
> > thanks
> > Nadagouda
Nadagouda - 18 May 2005 23:13 GMT
sorry
its NOT allowing me to use custom page for these particular cases when i
> type "wsdl=  "and also if i give wrong file extensions "Service1.asxxx"

> hi,
> I know that , I want to handle this scenario  if user types likes that i
[quoted text clipped - 32 lines]
> > > thanks
> > > Nadagouda
Nadagouda - 18 May 2005 23:47 GMT
sorry
its NOT allowing me to use custom page for these particular cases when i
> type "wsdl=  "and also if i give wrong file extensions "Service1.asxxx"

> hi,
> I know that , I want to handle this scenario  if user types likes that i
[quoted text clipped - 32 lines]
> > > thanks
> > > Nadagouda

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.