ASP.NET - Adding Reference Error in Browser - Asked By Jahir on 08-May-12 03:42 AM

In webservice i add web reference this link http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl

it will added web reference successfully, but in this reference i right click .wsdl file and view in browser means it shows Error like this ?

HTTP Error 403 - Forbidden.


Version Information: ASP.NET Development Server 9.0.0.0

What  i do ? to clear this error ?



i add this web reference like this: http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl

right click solution explorer click add web reference and put this link in that web reference url

http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl and click go button and web reference name is  com.ticketgoose.staging and click add reference, and finally click the .wsdl file and view in browser means i t shows error like this:

HTTP Error 403 - Forbidden.


Version Information: ASP.NET Development Server 9.0.0.0

but i want to bring this http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl in my browser how ?

Neha Garg replied to Jahir on 08-May-12 04:18 AM
Rahul.....


check the execute permission in IIS...
Jahir replied to Neha Garg on 08-May-12 04:19 AM
How will i do that ?
Neha Garg replied to Jahir on 08-May-12 06:22 AM
1) Open Internet Information Services Manager locally on the server - by typing "inetmgr" in Start/Run, or by any other known method.
2) Select the Application you are working on.
3) Click on te Edit Permission on the right side of the window.
4) select the Security tab. and then select your name from the group and user name:
5) Click on Edit.
6) CheckIn all the checkboxes of "Allow" in permission window.
7) Close it. and build the program and check.