dbTalk Databases Forums  

DSO used in Web Services. Help!!!

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss DSO used in Web Services. Help!!! in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
yan
 
Posts: n/a

Default DSO used in Web Services. Help!!! - 08-19-2005 , 09:53 PM






I'd met a big trouble to use DSO in Web Service. I even could not connect to
the server. Here is the error gotten from EventView:

"User machine\ASPNET, logged in from computer localhost, does not have
administrative permissions on the server, but tried to perform an
administrative operation on the server. This may indicate an intrusion."

I enabled impersonation in web.config.

In Micorosoft article 823066, it said adding aspcompat="true" in ASPX page.
But how can do it for .asmx in Web Services?

Please help!!!

Yan

Reply With Quote
  #2  
Old   
yan
 
Posts: n/a

Default Re: DSO used in Web Services. Help!!! - 08-21-2005 , 02:50 PM






Yes, I use basic authentication and have done everything you mentioned.

I think the point is aspnet_wp.exe always uses machine\ASPNET account to
connect to server when I call DSO.server.connect(). Is that why Microsoft
mentions to add aspcompat="true" in ASP page. But how to do it in a .asmx
file?

Any other idea?

Thanks,

Yan


"Jéjé" wrote:

Quote:
does AS server is on the same server as your webservice?
do you have disabled the anonymous user and enable the integrated
authentication for your virtual folder? (or the basic authentication)

have you setup the credentials in your calling application?
myservice.Credentials = System.Net.CredentialCache.DefaultCredentials


"yan" <yan (AT) discussions (DOT) microsoft.com> wrote in message
news:CFB9FBEE-2285-4E14-A673-514AF8C56C3B (AT) microsoft (DOT) com...
I'd met a big trouble to use DSO in Web Service. I even could not connect
to
the server. Here is the error gotten from EventView:

"User machine\ASPNET, logged in from computer localhost, does not have
administrative permissions on the server, but tried to perform an
administrative operation on the server. This may indicate an intrusion."

I enabled impersonation in web.config.

In Micorosoft article 823066, it said adding aspcompat="true" in ASPX
page.
But how can do it for .asmx in Web Services?

Please help!!!

Yan



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.