473,382 Members | 1,362 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 3934
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Programatix | last post by:
Hi, I'm working on a project which includes XML WebServices and Windows Form application. The Windows Form application will call the XML WebServices to retrieve data from database. The data...
0
by: Krissy | last post by:
Hi all, I am practically tearing my hair out here!! In my global.asax file, I have in the Application_error() sub a call to a sub in a library file. What I aim to do is to log the error in...
4
by: Bill Manring | last post by:
I need to capture the event when the user closes the browser in my application. I have some code in the session_End event, which works fine when the session times out, but I need to end the...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
7
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
2
by: Lumen | last post by:
hi, I've got a webproject that calls a webservice 4 times to check information in an CRM system. These checks are made in an asynchronous process. These processes call an instance of the...
9
by: None | last post by:
Hi, I'm facing a problem with static instances. I have created a class called CustomList by deriving the class List<int>. Inside the CustomList i have created Remove event (when any item is...
1
by: UT-BadBoy | last post by:
Hi, I've been receving this error "System.InvalidOperationException: The namespace, , is a duplicate." and have been unable to locate the exact cause of the exception. I've written a...
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.