unable to run web services

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm in the proces of moving my web services from one server to another
server. Both servers are running MS Server 2003, .NET 1.1 and .NET 2.0 and
IIS 6. All of my web services run on server A, but when I move them to
server B only some of the web services are working.

I have 1 web service that is a .NET 2.0 service and runs
I have 1 web service that is a .NET 1.1 service and runs
I have 1 web service that is a .NET 1.1 service and fails. When I try and
run this web service I'm getting the following error:
[access to path "c:\windows\microsfot.net\framework\v1.1.4322\temporary
asp.net files\webService1\0979b199\6e53fe39" is denied.]

I ran the aspnet_iisreg -i under the framework 1.1 directory and no luck
there. Any suggestions on what else may be causing this service to fail?
This web service is working on Server A but not on Server B. I have the IIS
configurations the same on both servers for this web service.

thanks
 
re:
!> Any suggestions on what else may be causing this service to fail?

Could you please run the following file from each
of your two server's web service virtual directories ?

identity.aspx:
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = "ASP.NET is running as the account : " & tmp
End Sub
</script>
<html>
<head>
<title>What account is ASP.NET running as ?</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------

....and see whether the account returned is the same for both ?

Whichever account is returned by the web service's virtual directory
which doesn't work is the one which needs access permissions to :

"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\"
....and all the subdirectories under that.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
all of my web services are running from the same virtual and each web
service is using a different app pool (1 for .NEt 2.0 and one for .NET 1.1)

The two .NET 1.1 web services are setup identical and one works and one does
not. and when i run the page below they're both running as:
ASP.NET is running as the account : NT AUTHORITY\NETWORK SERVICE

on both servers.

Juan T. Llibre said:
re:
!> Any suggestions on what else may be causing this service to fail?

Could you please run the following file from each
of your two server's web service virtual directories ?

identity.aspx:
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = "ASP.NET is running as the account : " & tmp
End Sub
</script>
<html>
<head>
<title>What account is ASP.NET running as ?</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------

...and see whether the account returned is the same for both ?

Whichever account is returned by the web service's virtual directory
which doesn't work is the one which needs access permissions to :

"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\"
...and all the subdirectories under that.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
Mike said:
I'm in the proces of moving my web services from one server to another
server. Both servers are running MS Server 2003, .NET 1.1 and .NET 2.0
and IIS 6. All of my web services run on server A, but when I move them
to server B only some of the web services are working.

I have 1 web service that is a .NET 2.0 service and runs
I have 1 web service that is a .NET 1.1 service and runs
I have 1 web service that is a .NET 1.1 service and fails. When I try and
run this web service I'm getting the following error:
[access to path
"c:\windows\microsfot.net\framework\v1.1.4322\temporary asp.net
files\webService1\0979b199\6e53fe39" is denied.]

I ran the aspnet_iisreg -i under the framework 1.1 directory and no luck
there. Any suggestions on what else may be causing this service to fail?
This web service is working on Server A but not on Server B. I have the
IIS configurations the same on both servers for this web service.

thanks 4
 
Back
Top