RE: Deploying WCF



Hi Eric,

Glad to work with you again.

Usually, "http://www.schneidersoft.com/CouponService/"; is not a valid
address for WCF service. If you use this address in your client application
or in Visual Studio add service dialog, you will receive "(405) Method Not
Allowed" error message from IIS. It is because the URL is a directory URL
instead of a service (svc) path and IIS does not allow "POST" method for
directory URL.

If this is the case of the problem, the fix is just to change the URL to a
svc path. For example, in this case, you should specify the URL to
http://www.schneidersoft.com/CouponService/ShopWize.CouponService.svc.

Since the link you provided is a real internet URL, I did some tests on
your website. I found that
"http://www.schneidersoft.com/CouponService/ShopWize.CouponService.svc";
reports Runtime Error when I visited it. However, the error message is
prevented by the web.config security settings. So I was unable to figure
out what caused the error.

Here is an action plan for you to troubleshoot this issue:

1. Open
http://www.schneidersoft.com/CouponService/ShopWize.CouponService.svc in
browser in your local web server. Local visit will skip
the security checking.
Or, you can turn off customErrors in web.config, if there is no any
security concern.
To turn off customErrors, please use the following setting:
---------------------------
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
---------------------------

2. Check the error message in browser to identify what the problem is and
post it here or to my email hongyes@xxxxxxxxxxxxxxxxxxxx, remove 'online.'.

3. If the runtime error above is fixed and the service is shown correctly
in browser, add service reference in Visual Studio and input svc URL.

There is one thing that I cannot explain to you now because I need more
information. That is why the client application can be run locally but
failed to run remotely.

I need the following information:
The content of app.config file of your client application. Please post it
here or send email to me.

BTW: The best managed newsgroup to post WCF questions is:
microsoft.public.dotnet.framework.webservices.

Please let me know if anything unclear in my reply. I will follow up this
issue after receiving your updates.

Have a nice day.

Regards,
Hongye Sun (hongyes@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: The object invoked has disconnected from its clients.
    ... The latest server Usage Report email only contained this error message. ... Support Services via telephone so that a dedicated Support ... For a complete list of Microsoft Customer Support Services phone numbers ... from an external client? ...
    (microsoft.public.windows.server.sbs)
  • RE: application failed to initialize - Visual Studio 2005 with or with
    ... customers complaining the lack of information from OS loader. ... the explorer error dialog is the standard error message for Win32 error ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)
  • RE: folder virtualisation
    ... client GUI application. ... Yes, based on my feedback, it seems that the named pipe object may be ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.platformsdk.security)
  • Re: Windows 7 RTM Connect to SBS2008
    ... Thanks Charlie but using http://connect is the best way to join any client to ... But I'm curious, Lincoln, what was the error message? ... Microsoft Certified Trainer ... http://support.microsoft.com for regional support phone numbers. ...
    (microsoft.public.windows.server.sbs)
  • RE: Web App With Signature
    ... use some rich client approach such as ACTIVEX control. ... retrieve protect resource on client(such as file system or certificate ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)

Loading