469,649 Members | 1,709 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,649 developers. It's quick & easy.

Event log error but Webservice works

We have a page on our Intranet A main.aspx that is calling a
webservice on another computer B.

The intranet page loads fine and displays the data from the webservice
but we keep getting error messages on the Intranet server with the
following:

Exception information:
Exception type: InvalidOperationException
Exception message: No web service found at: /OurWebservice.asmx.

Request information:
Request URL: http://A/OurWebservice.asmx/js
Request path: /OurWebservice.asmx/js

Why would the error be pointing to server A when the webservice is
actually on B but A is the one calling it?

Any help to eliminate this error would be greatly appreciated.
Thanks,

Tim

Aug 31 '07 #1
3 3748
Here is the full event log message. Again, the web service is on a
different machine than where our Intranet is so I don't know why its
trying to get the js file from the IntranetComputer when it is located
on another machine. The event log errors do not seem to follow a
pattern for users or time when it happens as far as I can tell.

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 9/4/2007
Time: 7:41:47 AM
User: N/A
Computer: IntranetComputer
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/4/2007 7:41:47 AM
Event time (UTC): 9/4/2007 11:41:47 AM
Event ID: fd38e51df3dd4d0b8c30c2e24f3f2f07
Event sequence: 969
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: xxxx
Trust level: Full
Application Virtual Path: /
Application Path: xxxx
Machine name: IntranetComputer

Process information:
Process ID: 3452
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: InvalidOperationException
Exception message: No web service found at: /MyWebService.asmx.

Request information:
Request URL: http://IntranetComputer/MyWebService.asmx/js
Request path: /MyWebService.asmx/js
User host address: xxxx
User: xxxx
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Script.Services.WebServiceData.GetWebSe rviceData(HttpContext
context, String virtualPath, Boolean failIfNoData, Boolean
pageMethods)
at
System.Web.Script.Services.WebServiceClientProxyGe nerator.GetClientProxyScript(HttpContext
context)
at
System.Web.Script.Services.RestClientProxyHandler. ProcessRequest(HttpContext
context)
at
System.Web.Script.Services.ScriptHandlerFactory.Ha ndlerWrapper.ProcessRequest(HttpContext
context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)

Sep 4 '07 #2
<ti********@gmail.comwrote in message
news:11*********************@k79g2000hse.googlegro ups.com...
Here is the full event log message. Again, the web service is on a
different machine than where our Intranet is so I don't know why its
trying to get the js file from the IntranetComputer when it is located
on another machine. The event log errors do not seem to follow a
pattern for users or time when it happens as far as I can tell.
.....
Exception information:
Exception type: InvalidOperationException
Exception message: No web service found at: /MyWebService.asmx.

Request information:
Request URL: http://IntranetComputer/MyWebService.asmx/js
....
Stack trace: at
System.Web.Script.Services.WebServiceData.GetWebSe rviceData(HttpContext
context, String virtualPath, Boolean failIfNoData, Boolean
pageMethods)
at
System.Web.Script.Services.WebServiceClientProxyGe nerator.GetClientProxyScript(HttpContext
context)
at
System.Web.Script.Services.RestClientProxyHandler. ProcessRequest(HttpContext
context)
at
System.Web.Script.Services.ScriptHandlerFactory.Ha ndlerWrapper.ProcessRequest(HttpContext
context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
Tim, I think there's some information you've left out.

Is the web service being called from the server side of your page, or the
client side? Any chance it's being called by AJAX?

Look at that stack trace! System.Web.Script?
"WebServiceClientProxyGenerator"?

BTW, did you ever post the code of the web service? Just the class
declaration would be instructive, I think.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Sep 4 '07 #3
John,

Something else that I noticed in the event log.

The users that the issue is occurring for are pretty much only 2
different users since I made a few changes to the webservice.

One user is the Sharepoint account that indexes sites. Another user is
in a different domain.

Not sure if this would shed any light on the issue.

Tim
On Sep 4, 9:06 am, "John Saunders [MVP]" <john.saunders at
trizetto.comwrote:
<tim.cav...@gmail.comwrote in message

news:11*********************@k79g2000hse.googlegro ups.com...Here is thefull event log message. Again, the web service is on a
different machine than where our Intranet is so I don't know why its
trying to get the js file from the IntranetComputer when it is located
on another machine. The event log errors do not seem to follow a
pattern for users or time when it happens as far as I can tell.

....


Exception information:
Exception type: InvalidOperationException
Exception message: No web service found at: /MyWebService.asmx.
Request information:
Request URL:http://IntranetComputer/MyWebService.asmx/js
...
Stack trace: at
System.Web.Script.Services.WebServiceData.GetWebSe rviceData(HttpContext
context, String virtualPath, Boolean failIfNoData, Boolean
pageMethods)
at
System.Web.Script.Services.WebServiceClientProxyGe nerator.GetClientProxyScr*ipt(HttpContext
context)
at
System.Web.Script.Services.RestClientProxyHandler. ProcessRequest(HttpContex*t
context)
at
System.Web.Script.Services.ScriptHandlerFactory.Ha ndlerWrapper.ProcessReque*st(HttpContext
context)
at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplicat*ion.IExecutionStep.Execu te()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)

Tim, I think there's some information you've left out.

Is the web service being called from the server side of your page, or the
client side? Any chance it's being called by AJAX?

Look at that stack trace! System.Web.Script?
"WebServiceClientProxyGenerator"?

BTW, did you ever post the code of the web service? Just the class
declaration would be instructive, I think.
--
---------------------------------------------------------------------------*-----
John Saunders | MVP - Windows Server System - Connected System Developer-Hide quoted text -

- Show quoted text -

Sep 4 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Bill Manring | last post: by
7 posts views Thread by Jorgen Haukland, Norway | last post: by
2 posts views Thread by Lumen | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.