473,320 Members | 2,024 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,320 software developers and data experts.

Very basic web service problems

JT
Hi,

I've just realized that I'm not as smart as I thought I was. I have no
problem creating Windows apps, class libraries, using windows
references, etc. But, I absolutely cannot create and use a web service
and Windows application pair in VS 2005, even following the walkthrough
in Help. There are differences in some of the steps they outline that
I assume are due to an old example and I am using VS 2005. On my
latest attempt I tried creating the Temperature Conversion example and
get to the point where I want to run the application and I press F5 and
get the expected "Debugging Not Enabled" dialog box with the two
options "Add a new web.config file with debugging enabled." and "Run
without debugging. (Equivalent to Ctrl-F5)". So, as instructed, I take
the first option and click OK. What I get is a dialog box titled
"Microsoft Visual Studio", a red X icon, and the text, "The operation
could not be completed" with an OK button.

If I close and open the project, I see that the web.config file does
get created and when I try F5 again, it gives me the following dialog
box (I wish I could paste screen shots in here).

Title: Microsoft Visual Studio
Icon: Red X
Message: Unable to start debugging on the web
server.<html><head><title>Server Application Error</title></head>
<body><h1>Server Application Error</h1>The server has encountered an
error while loading an application during the processing of your
request. Please refer to the event log for more detail information.
Please contact the server administrator for more
assistance.</body></html>

Make sure that 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.
Button: OK
EventLog: The server failed to load application '/LM/W3SVC'. The error
was 'The specified metadata was not found.
'.
For additional information specific to this message please visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

ContentRedirect.asp (and also events.asp) link says: We're sorry There
is no additional information about this issue in the Error and Event
Log Messages or Knowledge Base databases at this time. You can use the
links in the Support area to determine whether any additional
information might be available elsewhere.

I cannot find an LM folder on my system. If I search for w3svc, I get
4 items: W3SVC.DL_ in c:\i386, w3svc.dll in
c:\WINDOWS\system32\inetsrv, W3SVC1 folder in
c:\WINDOWS\system32\Logfiles, and a Transform.aspx page that refers to
W3SVC in its long list of parameters in my Temporary Internet Files
folder.

I don't understand why I'm getting a dialog box with HTML in it. Is my
IIS not configured properly? Does anyone have any clue about what I
need to do with the w3svc.dll and if I can just use the one I found?

I previously was able to create a web service that does most of what I
want, but I created it was not created as an HTTP location. It was
created as a file location. I was able to test it in debug mode and I
can still test it in debug, but cannot not get any farther. That's why
I'm trying to go through this "walkthrough" and take baby steps. Well,
I'm falling on my butt instead of walking.

Being able to create and use a web service is a critical portion of a
project that I'm working on and will be used in virtually every project
I create from now on. Someone please help me figure out what is wrong.

May 8 '06 #1
0 1433

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: hellrazor | last post by:
Hi there, First of all, I'm very much a C++ amateur (i.e., a newb). I'm having to program a win32 system service for my employer, and I'm almost done with the task, but I need help with...
5
by: Lee David | last post by:
I went to the sun site and downloaded what I hope is the development part of java. I downloaded JDK5 with Netbeans. I installed it and now have a folder in my program group "Netbeans". Is that...
0
by: Andy | last post by:
Hey All, I'm a beginner with VB.Dotnet Deployment and I'm a little confused about some very basic deployment issues . . . I've now created some core assemblies that will be used throughout all...
7
by: jim Bob | last post by:
Hi, This is probably very simple to do so if anyone can point me to the right place for reading, it would be much appreciated. I just want to build a very basic search form where i can enter a...
17
by: blueapricot416 | last post by:
This is a very basic question -- but I can't find the answer after looking for 20 minutes. If you code something like: function set_It() { setTimeout('Request_Complete("apple", -72)',5000) }...
2
by: Vincent Courcelle | last post by:
Hello, My question is very basic but I can't find an answer on search engines for it. How can I "pass" a variable to a control in a non programmatic way (directly in the .aspx file, not through...
4
by: Stimp | last post by:
Hi all, I'm trying to read a particular node value from an XML file, but I've done some searching on the net and there doesn't seem to be a very basic example. Basically here's what I want to...
1
by: questionit | last post by:
Hi Experts I need to write a small stack very basic program. It will only do the following: - pop item - push item - count number of items in stack But difficulty i have is how to...
3
by: bbatson | last post by:
New to visual basic; trying to teach myself. Here is very basic code I am using to try to fill a text box on my form after updating a box that selects an employee ID. Dim strsql As String strsql...
1
by: Rik Wasmus | last post by:
On Tue, 17 Jun 2008 00:52:16 +0200, Twayne <nobody@devnull.spamcop.net> wrote: Euhm, no you can't. The only thing remotely close is something like: echo 'foo','bar'; .... which is nothing...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.