Can't get Intranet ASP Web App to communicate with ASP Web Service?

L

Leo Violette

This used to work, but today, it no longer works and I'm not sure why.

I'm running Visual Studio 2005 SP1 with Vista Update to SP1.
I'm on Vista x64.

I created an ASP.NET Web Application and ASP.NET Web Service.

When running my web-site in the debugger, a login dialog pops up when the
web-site attempts to access the Web Service.

In VS, when I go to my application->Web references and attempt to update the
reference it has to my Web Service, it takes a long time and then eventually
says:
[BEGIN MESSAGE]
There was an error download:
'http://localhost/DashboardWebService/BuildManagement.asmx'
The underlying connection was closed: An unexpected error occurred on a
receive.
Unable to read data from the transport connection: An existing connection
was forcibly closed by the remote host.
[END MESSAGE]

I must have some sort of permission issue, but I can't seem to resolve it.
It's like my Virtual Folder permissions got screwed up.

Also, in both my Web App and Web Service web.config, I have the following:
<authentication mode="Windows" />
<authorization>
<deny users="?" />
<!-- Deny anonymous users access -->
</authorization>

Any thoughts????
 
M

Mr. Arnold

Leo said:
This used to work, but today, it no longer works and I'm not sure why.

I'm running Visual Studio 2005 SP1 with Vista Update to SP1.
I'm on Vista x64.

I created an ASP.NET Web Application and ASP.NET Web Service.

When running my web-site in the debugger, a login dialog pops up when
the web-site attempts to access the Web Service.

In VS, when I go to my application->Web references and attempt to update
the reference it has to my Web Service, it takes a long time and then
eventually says:
[BEGIN MESSAGE]
There was an error download:
'http://localhost/DashboardWebService/BuildManagement.asmx'
The underlying connection was closed: An unexpected error occurred on a
receive.
Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host.
[END MESSAGE]

I must have some sort of permission issue, but I can't seem to resolve
it. It's like my Virtual Folder permissions got screwed up.

Also, in both my Web App and Web Service web.config, I have the following:
<authentication mode="Windows" />
<authorization>
<deny users="?" />
<!-- Deny anonymous users access -->
</authorization>

Any thoughts????

You should uninstall the update and see if it works again and avoid the
update, IMO
 
L

Leo Violette

I found the problem with not being able to update my Web Reference in my Web
App.

In my Web Service, in global.asax, I had code that was throwing an
exception. When I fixed that code, I was then able
to update my Web Service Web Reference in my ASP.NET Web App. I did not
realize that updating the Web Reference,
which regenerates the wsdl file and other files was causing my Web Service
to load. At least that's the only thing that
makes sense to me.


Mr. Arnold said:
Leo said:
This used to work, but today, it no longer works and I'm not sure why.

I'm running Visual Studio 2005 SP1 with Vista Update to SP1.
I'm on Vista x64.

I created an ASP.NET Web Application and ASP.NET Web Service.

When running my web-site in the debugger, a login dialog pops up when the
web-site attempts to access the Web Service.

In VS, when I go to my application->Web references and attempt to update
the reference it has to my Web Service, it takes a long time and then
eventually says:
[BEGIN MESSAGE]
There was an error download:
'http://localhost/DashboardWebService/BuildManagement.asmx'
The underlying connection was closed: An unexpected error occurred on a
receive.
Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host.
[END MESSAGE]

I must have some sort of permission issue, but I can't seem to resolve
it. It's like my Virtual Folder permissions got screwed up.

Also, in both my Web App and Web Service web.config, I have the
following:
<authentication mode="Windows" />
<authorization>
<deny users="?" />
<!-- Deny anonymous users access -->
</authorization>

Any thoughts????

You should uninstall the update and see if it works again and avoid the
update, IMO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top