all groups > dotnet web services > october 2006 >
You're in the

dotnet web services

group:

"User Not Authorized" Error



"User Not Authorized" Error Travich
10/10/2006 2:18:15 PM
dotnet web services: I have a .NET 1.1 WinForms application that used to only hit SQL Server
2000. We are now contemplating moving to SQL Server 2005.

To test this, we set up a SQL Server 2005 box and installed the web
services and client application on the same box. When the application
tries to call a web service that it could normally call in the past, it
get's the following error:

System.Web.Services.Protocols.SoapException: User Not Authorized

I have a feeling that something in IIS is not configured correctly, but
I've been looking at it all day and with no luck. I appreciate if
anyone can help me solve this mystery...


Travich
Re: "User Not Authorized" Error John Saunders
10/10/2006 8:35:35 PM
[quoted text, click to view]

It looks like a case of too many variables. You moved the web services and
the client, and changed databases. Remove some of those variables so you can
see which one is causing the problem.

John

Re: "User Not Authorized" Error Travich
10/17/2006 11:53:43 AM
The exception was a user defined exception.

We're still troubleshooting, but the issue appears to be with the way
SQL XML is handled in our sprocs.

[quoted text, click to view]
AddThis Social Bookmark Button