| | |
SSIS Permission Problem
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
Good Day All
I have a Package created and hosted in a Machine(Theresa) that has SQL 2008 and i have my Development Machine(Vuyiswa) that has IIS and am Debugging from the my machine. i have a ASP.NET 2.0 App and am executing a Package that in another machine. The First thing i did was to share a directory where the Packages are stored when i install the packages and supplied "Everyone","ASP.NET","Vuyiswa" Accounts permissions to to access this share. i can go into the share from the another machine without any problem. i have a code like this in my ASP.NET App
This execute Fine until the
it does not stop here , but i trap it here
and the Error am Getting is
"SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D.\r\nAn OLE DB record is available. Source:\"Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E4D Description: "Login failed for user 'sa'
On my Package i use the "sa" credentials and my Protection Level is "Dont Save Sensative"
Thank you
Vuyiswa Maseko
I have a Package created and hosted in a Machine(Theresa) that has SQL 2008 and i have my Development Machine(Vuyiswa) that has IIS and am Debugging from the my machine. i have a ASP.NET 2.0 App and am executing a Package that in another machine. The First thing i did was to share a directory where the Packages are stored when i install the packages and supplied "Everyone","ASP.NET","Vuyiswa" Accounts permissions to to access this share. i can go into the share from the another machine without any problem. i have a code like this in my ASP.NET App
MS SQL Syntax (Toggle Plain Text)
try { //Start the SSIS Here Application app = new Application(); Package package = NULL; package = app.LoadPackage(@"D:\Program Files\Microsoft SQL Server\100\DTS\Packages\OMEGA\OMEGA.dtsx", NULL); //@"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Packages\OMEGA\OMEGA.dtsx", NULL); VARIABLES vars = package.VARIABLES; vars["Time1"].Value = time; vars["Time2"].Value = time; vars["Time3"].Value = time; vars["TTBLTYPE"].Value = THREAD_DATA[1].ToString(); //package.Connections["SQLNCLI10.1"].ConnectionString = obj.GetConnectionString(THREAD_DATA[0].ToString()); //Excute Package Microsoft.SqlServer.Dts.Runtime.DTSExecResult results = package.Execute(); IF (results == Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure) { foreach (Microsoft.SqlServer.Dts.Runtime.DtsError local_DtsError IN package.Errors) { Console.WriteLine("Package Execution results: {0}", local_DtsError.Description.ToString()); Console.WriteLine(); } } } catch (DtsException ex) { Exception = ex.Message; }
This execute Fine until the
MS SQL Syntax (Toggle Plain Text)
Microsoft.SqlServer.Dts.Runtime.DTSExecResult results = package.Execute();
it does not stop here , but i trap it here
MS SQL Syntax (Toggle Plain Text)
IF (results == Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure)
and the Error am Getting is
"SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D.\r\nAn OLE DB record is available. Source:\"Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E4D Description: "Login failed for user 'sa'
On my Package i use the "sa" credentials and my Protection Level is "Dont Save Sensative"
Thank you
Vuyiswa Maseko
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
![]() |
Similar Threads
- Windows Server 2003 problem (Windows NT / 2000 / XP)
- PHP cron permission (PHP)
- Problem with file upload in windows server (PHP)
- Windows Server FTP Problem (Windows Software)
- Outlook 2003 Folder Permission Problem (Windows Software)
- Permission problems on SQL Management Studio (MS SQL)
- dreamweaver problem! please help need to get this working asap!! :) (ASP)
- CGI error 405 problem (Linux Servers and Apache)
Other Threads in the MS SQL Forum
- Previous Thread: sql convert vertical to horizontal
- Next Thread: Importing xml into sql server 2008
| Thread Tools | Search this Thread |





