Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I do have an Asp.net application, it has a plugin Jabber Chat client, it's server is Linux,

now I have created a HTTPHandler to handle the request from this Jabber Client, and redirects them to the Linux server, and listen the response back from the Linux server and send them to the Jabber client,

the issues is when I run my application out of Azure Cloud environment, it works fine and executes the HTTPHandler properly, but when I run it within Azure Cloud Environment, it never executes the HTTPHandler and shows "Service Unavailable"

I did even tested this with the simple Asp.net application, whenever I declare the HTTPHandler in web.config, it stop running the application ans shows below error, and If I remove the HTTPHandler from the web.config, it executes the web page
C#
---------------------------
Microsoft Visual Studio
---------------------------
Windows Azure Tools for Microsoft Visual Studio

There was an error attaching the debugger to the IIS worker process for URL 'http://127.255.0.0:82/' for role instance 'deployment16(307).CloudLogin.Userlogin1_IN_0'. Unable to start debugging on the web server. See help for common configuration errors. Running the web page outside of the debugger may provide further information.

Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.

---------------------------
OK   
---------------------------


I have tried putting the Handler inside the <system.webserver>, but even it doesn't work

below is my code in the web.config
HTML
<httpHandlers>
    <add verb ="*" path="http-bind/*" type ="RolProxy.RolProxy" validate="false"/> 
</httpHandlers>

Any help is highly appreciated
Posted
Updated 21-Dec-11 6:15am
v2

Try adding this in your web.config. because this may be issue due to ii7.
XML
<system.webServer>
    <handlers>
      <add verb="*" path="http-bind/*" type="RolProxy.RolProxy"/>
    </handlers>
    <modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
 
Share this answer
 
v3
I have exactly the same problem. Have you resolved?
 
Share this answer
 
I have exactly the same problem. Have you resolved?
Its urgent... Please help me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900