Click here to Skip to main content
16,004,647 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to call a server side sub procedure through a javascript function Pin
jagan12319-Dec-07 17:37
jagan12319-Dec-07 17:37 
AnswerRe: how to call a server side sub procedure through a javascript function Pin
_AK_19-Dec-07 19:08
_AK_19-Dec-07 19:08 
GeneralChecking pbm in checkboxlist when we check the checkbox in grid Pin
SreejithAchutan19-Dec-07 17:09
SreejithAchutan19-Dec-07 17:09 
GeneralObtaining the Request Object for a Web Service Pin
Skippums19-Dec-07 13:34
Skippums19-Dec-07 13:34 
AnswerRe: Obtaining the Request Object for a Web Service Pin
Skippums20-Dec-07 8:50
Skippums20-Dec-07 8:50 
GeneralAccessing Control from Master Page Pin
DotNetXenon19-Dec-07 10:04
DotNetXenon19-Dec-07 10:04 
GeneralRe: Accessing Control from Master Page Pin
pmarfleet19-Dec-07 10:55
pmarfleet19-Dec-07 10:55 
GeneralProblem Calling Web Service From Production Environment Pin
AdamNThompson19-Dec-07 10:01
AdamNThompson19-Dec-07 10:01 
Hi All,

I'm having some difficulties and am hoping for some help. I have a site on one of our server used just for web services that I plan to use in other sites on that server. The web service site has been deployed to the server and seems to be working fine. When I call one of the services form my development machine it works fine, but now that I have used one of the services in finished site on that same server I am getting the following error.

Server Error in '/' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 400: Bad Request.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 400: Bad Request.

Source Error:


Line 98: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://exaservice.net/WebServices/SearchSiteHtml", RequestNamespace="http://exaservice.net/WebServices", ResponseNamespace="http://exaservice.net/WebServices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 99: public string SearchSiteHtml(string url, string webSearch) {
Line 100: object[] results = this.Invoke("SearchSiteHtml", new object[] {
Line 101: url,
Line 102: webSearch});


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\cc6d9c2e\63ba5077\App_WebReferences.9hwc9vsl.0.cs Line: 100

Stack Trace:


[WebException: The request failed with HTTP status 400: Bad Request.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533252
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
net.exaservice.www.SiteSearchWS.SearchSiteHtml(String url, String webSearch) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\cc6d9c2e\63ba5077\App_WebReferences.9hwc9vsl.0.cs:100
Search.Page_Load(Object sender, EventArgs e) in D:\websites\centralfloridafair\html\Search.aspx.vb:10
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

I just doesn't make since to me that it would work fine on my dev machine, but not in production. I have taken the following steps to trouble shoot.

Since both sites are on the same server I made sure I could ping the web service url from the server. That works fine. Just in case I modified the host file using the Loop back ip 127.0.0.1 to make sure. Still no good.

I have been reading some articles on line and one said that you should not have charters like _ in you service name, so I removed the _. Still no good.

Not too sure what to do. Any help is greatly appreciated.
-Adam N. Thompson

GeneralTransparent GIFs Pin
Monin D.19-Dec-07 9:12
Monin D.19-Dec-07 9:12 
GeneralLinq Query to sort in Column-Header in GridView Pin
Terppe19-Dec-07 5:59
Terppe19-Dec-07 5:59 
Questionhow to convert .aspx page to .pdf document in asp.net [modified] Pin
gopal_Pandey19-Dec-07 4:12
gopal_Pandey19-Dec-07 4:12 
QuestionProblem With RegisterClientScriptResource Pin
scorpion_man198219-Dec-07 3:58
scorpion_man198219-Dec-07 3:58 
GeneralRe: Problem With RegisterClientScriptResource Pin
ToddHileHoffer19-Dec-07 4:44
ToddHileHoffer19-Dec-07 4:44 
GeneralRe: Problem With RegisterClientScriptResource Pin
scorpion_man198219-Dec-07 9:46
scorpion_man198219-Dec-07 9:46 
GeneralRe: Problem With RegisterClientScriptResource Pin
ToddHileHoffer20-Dec-07 1:22
ToddHileHoffer20-Dec-07 1:22 
GeneralGC.Collect question Pin
V.19-Dec-07 3:45
professionalV.19-Dec-07 3:45 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 3:56
Paddy Boyd19-Dec-07 3:56 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 4:18
professionalV.19-Dec-07 4:18 
GeneralRe: GC.Collect question Pin
ToddHileHoffer19-Dec-07 4:37
ToddHileHoffer19-Dec-07 4:37 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 4:45
professionalV.19-Dec-07 4:45 
GeneralRe: GC.Collect question [modified] Pin
ToddHileHoffer19-Dec-07 4:57
ToddHileHoffer19-Dec-07 4:57 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 5:09
Paddy Boyd19-Dec-07 5:09 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 5:13
professionalV.19-Dec-07 5:13 
GeneralRe: GC.Collect question Pin
Paddy Boyd19-Dec-07 5:17
Paddy Boyd19-Dec-07 5:17 
GeneralRe: GC.Collect question Pin
V.19-Dec-07 5:25
professionalV.19-Dec-07 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.