473,408 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

LoadFromSQLServer won't work......

I have a VB.NEt Winform app deplyed on ServerA. I have a DTS package
on ServerB. When I try to load the package with:

package.LoadFromSQLServer(serverB, uid, pwd,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default , , , , packageName)

Where serverB, uid, pwd are variables set in the program and are valid,
I get this error

Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not
exist or access denied.

Which makes no sense because I'm using SQL Authentication and I am
1000000000% sure the uid and pwd are correct. Am I missing something?
My VB app runs fine on the sql server but not anywhere else and I need
to run it elsewhere against the db.

Jul 21 '05 #1
3 3349
Hi,

What OS are you using on servers?

If it is Win2003 try disabling Named Pipes as Win2003 doesn't have them
anymore.

Danijel

<jd*****@idealconsulting.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I have a VB.NEt Winform app deplyed on ServerA. I have a DTS package
on ServerB. When I try to load the package with:

package.LoadFromSQLServer(serverB, uid, pwd,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default , , , , packageName)

Where serverB, uid, pwd are variables set in the program and are valid,
I get this error

Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not
exist or access denied.

Which makes no sense because I'm using SQL Authentication and I am
1000000000% sure the uid and pwd are correct. Am I missing something?
My VB app runs fine on the sql server but not anywhere else and I need
to run it elsewhere against the db.

Jul 21 '05 #2
Win2003. I made a mistake and it's not getting the error from the
loadPAckage, but this error is coming from the tasks in the DTS
Package. I have added ASPNET, IUSER_MACHINENAME, IWAM_MACHINENAME to
the database but it still doesn't work.

Jul 21 '05 #3
In message <11**********************@z14g2000cwz.googlegroups .com>,
jd*****@idealconsulting.com writes
Win2003. I made a mistake and it's not getting the error from the
loadPAckage, but this error is coming from the tasks in the DTS
Package. I have added ASPNET, IUSER_MACHINENAME, IWAM_MACHINENAME to
the database but it still doesn't work.


If the error is when you execute the package it says that you are trying
to make use connection to a SQL server that cannot be made. Open the
package and see what connections you have and what the server is set to
in those connections

Remmeber the server and credentials you use to load the package
(LoadFromSQLServer) has absolutely no bearing on the connections inside
the package used at runtime.

Adding IIS accounts to your DB will not solve the problem, as you cannot
even find the server, or perhaps resolve the name, which must be done
before you can present credentials.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine...
3
by: jdionne | last post by:
I have a VB.NEt Winform app deplyed on ServerA. I have a DTS package on ServerB. When I try to load the package with: package.LoadFromSQLServer(serverB, uid, pwd,...
3
by: DFS | last post by:
I've been working around this for years (I believe), so I figured someone here might know: Why won't a crosstab query accept a value from a form reference? TRANSFORM...
1
by: Ollie Riches | last post by:
I am trying to start a remote DTS package from code and I am getting the following error: Description='Specified SQL server not found.' Error=-2147467259' Source='Microsoft OLE DB Provider for...
7
by: simon | last post by:
I have simple html(aspx) page, but vertical height won't work. Even if i had set the height of a table=100%, the table is not 100% height. I spend a lot of time(my real page is more...
3
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from...
7
by: Eran.Yasso | last post by:
Hi, I have project that automate excel(using Excel COM) which works fine in my home. I took the project from my home to work and tried to build the project but it won't built. I get error "The...
2
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according...
3
ashsa
by: ashsa | last post by:
Hi We have a job scheduled every morning 03:00 which has been running for years without any issue. However, it failed today saying in the log that LoadFromSQLServer failed. The work of the job is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.