dbTalk Databases Forums  

Login Failed For User ''(NULL)" error, help please

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Login Failed For User ''(NULL)" error, help please in the microsoft.public.sqlserver.dts forum.



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

Default Login Failed For User ''(NULL)" error, help please - 02-08-2006 , 08:20 AM







Hi, I am calling a dts pacakge from an asp.net page to copy data from
sql server to
a visual fox pro table.

In the step where the program gets the data from sql server, I get the
following error

"Login Failed For User ''(NULL)" Reason. Not Associated With a Trusted
SQL Server Connection"

but I am not using a trusted connection, I am using the default
connection as seen below

pckg.LoadFromSQLServer(server, usr, pwd,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default , , , , pckgName, "")


I searched this on the internet and here's what I found

1) Add <identity impersonate="true" /> to web.config

I made this change, but then when I ran the program, I got an "unknown
error".

2) change the authentication settings to Mixed authentication mode
under security tab in the sql server properties.

The sql server is already running nder this mode.

Any help will be appreciated.

Thanks,


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.