DTS FTP Task Unable To Connect To Internet
Jul 9, 2004
I created a DTS FTP task to connect to an FTP site. The problem I'm having is the folder I want to access you cannot see under the Files Tab. So if I put the ftp site/subdirectory in the FTP Site box, I get the error "Unable to connect to internet! Please check the source site information, your username and password"
If I go to the FTP site/subdirectory in IE all the files show up fine. I believe this is limitation of DTS, but I would like to hear from you all first.
To see what error I'm talking about:
Create a DTS FTP task
Use: ftp.microsoft.com/bussys/ with no username or password
Click the Files Tab
Normally you can just put the server name in, and see all the folders/files, but the way my FTP site is set up I cannot see the folder I want, I can only access it.
View 1 Replies
ADVERTISEMENT
Jun 17, 2008
Please help me connect sql server over internet. I tested the connection in Windows XP, SQL Sever 2000, Router (forwarding IP port 1433) and its is working properly.
But using the same process in Windows 2000 Advance Server, Microsoft SQL Server 2000, Router (forwarding IP port 1433) Im getting the error "Unable to connect to server" . Can any one help me to setup this network. Thank you in advance!
View 11 Replies
View Related
May 3, 2008
I have 2 instances of SQL-Server 2000 running on my computer.
I connected to them through SQLServer enterprice Manager.
Now I want to connect to a Database that is stored on my WebHosting-Site [on INTERNET]
The Server-IP address is 65.22.42.57.etc..........
WHILE I can connect to That Database from Visual-Studio server-Explorer..........I cannot connect to that server from SQLServer-EnterpriceManager.
It says 'You need to use SQLServer 2005 tool'.
But there is no Connect-word to create a connection in 'SQLServer 2005'-Manager.'
HELP I need to connect , what shall I do ?
EXPERTS.
View 2 Replies
View Related
Oct 27, 2005
My English is not good.
I want to connect to other computer that installed M$ SQL Server2K over INTERNET. could you help me, plz.
I have used DNS (DOMAIN NAME SYSTEM) to forward to my computer( that connect to INTERNET) and my friend computer is the same. (because we have not static IP).
Thanks
:D
View 7 Replies
View Related
Mar 6, 2005
Hi,
Can someone please tell me how to do that?
I tried to connect to a sql server through internet by using sql query analyzer but it failed.
I searched for information in the internet but came to no avail.
Can someone please shed some light?
Thanks!
View 2 Replies
View Related
Sep 6, 2006
Hi there
We have the following problem. Our DB (MSDE 2000) is situated on remote server on which we
have
administrator privilege. The application which works on Local net connect to every machine in
the
net and see the database on one of the mashine as well.
The connection string is
data source=192.168.0.1XXXX;initial catalog=XXXX;integrated security=SSPI;persist security
info=True;workstation id=XXXX;packet size=4096"
but when we change IP in the connection string to our remote server(in internet with static IP) one we get
an exception says that
SQL server does not exist or access denied.
We opened ports on firewall but problem is still here. Then swithched off the firewall at all
but
same exception comes.
Thanks for answers
View 12 Replies
View Related
Apr 20, 2007
hallo could anyone tell me how do i connect to the internet through activesync ? thx
View 1 Replies
View Related
Mar 18, 2004
Hi,
I am making a web application and it works fine. It uses Sql Server 2000 as the database. But when I connect to the Internet and compile or run my application it gives me this message :
" SQL SERVER DOES NOT EXIST OR ACCESS DENIED"
it works finewhen iam not connected to the internet
View 4 Replies
View Related
Jul 25, 2005
I'm Building a windows application which updates an internet site's database.Is it possible to connect directly to the sql server through the internet?If so is it the most efficient way ? perhaps a web service or streaming is a better solution?Thanks.
View 1 Replies
View Related
Feb 27, 2004
Hi all,
I 'm in VietNam, i want to use SQL server 2000 to connect to SQL server in China throught the internet. I did it in many way but it did not work, please show me.
Best regards
View 2 Replies
View Related
Apr 11, 2004
i have got to connect to sql server desktop engine over internet with the following connection string
conString = "Provider=SQLOLEDB.1;Persist Security Info=True;Initial Catalog=" & dbName & ";Network Address=" & IPAddress & ";Data Source=" & DataSource & " ;User ID=" & UserId & " ; Password=" & Password
Plz also inform me about the restriction imposed in connectivity by any of the window operating system such as that win 98 wont work or work!
There is no firewall involved. The two computers are in the same room and connected directly to the internet.
Even the ping is not going to either computer.
So what could be the possible problem and the solution.
need urgent
View 1 Replies
View Related
Jul 12, 2007
Hi!I am trying to connect to my SqlServer 2005 thru internet, but it is notworking. I have a dyndns updater on my server which tells me an ip addressof the router. The router is configured to forward TCP port 1433 to LAN IPaddress of the computer on which is SQL Server installation.What is the connection string to connect to my server.I tried xxx.dyndns.org:1433, but it doesn't work. There is a defaultinstance installed on that machine.Please help.Zvonko
View 6 Replies
View Related
Apr 27, 2006
I have created a package within SQL Server SSIS which includes an FTP Task, deployed it to our SQL Server (2005 SP1) msdb database and am running this job under SQL Agent on Windows Server 2003. Due to company security requirements this job has to be run under a service account within SQL Agent. The problem with this is that even though a directory is specified within the FTP Task to place any downloaded files into, the files are first written to the TIF (Temporary Internet Files) directory of "Default User" which is on the system drive. Based on corporate standards the system drive (C:) on our servers are only configured with enough space for the OS and other system files. All of the files being transferred are compressed, but some are still well over 1GB in size. The result is that many of our downloads are failing due to the system drive running out of space.
I have attempted to run IE by using "Run As" with the service account credentials, and have changed the location of the TIFs to a different drive, rebooted and verified the settings. When the SQL Agent job was run again, the files were still being written to the "Default User" directory on the system drive. I also created a new template account with the TIFs pointing to a non-system drive and used the User Profiles functionality of System Properties to copy the new template account to "Default User", but still the files are being written to the system drive.
My questions are:
is there a way to stop the FTP Task from using TIF (i.e. just directly write the file to the location specified)
is there a best practice around how to setup a service account and have it create a proper user profile that can be managed separate from "Default User"
short of specifying during the OS install, is there a way to move the "Default User" profile directory to a different drive
View 3 Replies
View Related
Nov 2, 2006
I recently setup mutliple instances of SQL Server Express at my office. I have 1 default instance, and two named instances. I can connect to the named instance of the default port of 1433 with Microsoft SQL Management Studio Express, however the other instances on dynamic TCP ports can not be accessed by the instance name over the internet. I have to specify the dynamic TCP port in this form: xxx.uconn.edu/SQLTEST, Port number. My current thinking is that the SQL Browser service should tell Management Studio Express what dynamic port number each SQL instance is listening to. Any ideas?
View 1 Replies
View Related
Mar 29, 2007
Hi guys,
Can somebody tell me where i can find ( or explain me ) the steps to
connect to sql server using the internet. I am using VB6 (SP6) and SQL SERVER 2000
I want to set up asql server on a central location ( PC ) so that 4 different sites can access the data stored
Thanks for all help
grtz Robert
View 1 Replies
View Related
Jun 11, 2015
after installing SQL Server 2008 R2 and the Reporting Services, I've managed to access the Report Manager URL....Reports through the web browser on the machine itself. But if i am trying to connect to on my client browser it does not find the Report Server.Do I need to configure the server in any way? Do I need to configure the firewall?
View 2 Replies
View Related
Dec 20, 2007
Sql server agent is running under a domain account that is a member of administrators and domain users amongst others, and the package is executed as the service account. Connecting to servers on the same domain works and when I run it from the msdb package store in ssis (ssis runs under the network service account ...) it will connect to the pop server as well. Permissions, fiddly proxies .. the answer's out there somewhere
View 3 Replies
View Related
Nov 27, 2006
Hello everybody
I wrote a vb.net win app that uses a mssql 2005 express DB.
On my localcomputer everything worked without a problem.
Now I wish to deploy my app on a remote computer (that has mssql 2005 express installed), so. I added an app setup project to my project using the vs2005 setup tool, installed the app on the remote computer, and copied the mdf file to the remote computer.
I'm able to see the DB through the remote computer mssql manager, But when I try to start the app on the remote computer I get this error massage :
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. error: 0 - No process is on the other end of the pipe.)
my connectionstring (in the config file) looks like that :
<connectionStrings> <add name="Info_Manager.My.MySettings.MaxinetConnectionString" connectionString="Data Source=DOTAN-XPSQLEXPRESS;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMaxinet.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> <add name="Info_Manager.My.MySettings.MaxinetConnectionString1" connectionString="Data Source=DOTAN-XPSQLEXPRESS;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMaxinet.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings>
by the way changing the user instance attribute to "false" didn't help.
Does anybody know how to fix this problem.
View 2 Replies
View Related
Aug 14, 1998
Howdy
Every time i reboot my NT Server and the SQL server service starts up. It logs this message to the event Viewer
Severity: 9 Error:10004, OS: 11001 Unable to connect: SQL Server is unavailable or does not exist. General network error. Check your documentation.ConnectionOpen (gethostbyname()()).
I don`t have any problem with the databases, all the users are able to connect to server and database without any problems, looks like everything is working at its best. But i am little concerned about this error message.
Please help
Thanks
vIVEk
View 1 Replies
View Related
Apr 1, 2002
Everything has been working fine our SQL Server (lets call it Server A) (v2000 under NT 4), however sometime over the weekend it is unable to connect to one of our other SQL Servers (Server B).
In the Event Viewer I found this error:
SuperSocket info: Failed to get Exclusive port use(MSAFD Tcpip (TCP/IP)): Error 10013.
Everything on this server appears to be working fine, as in everything can connect to Sever A that needs to, but Server B can't connect to A, nor is it working the other way.
Also, Server A SQL Services run on port 2006, and B is on the standard 1433. Everything has been working with this up until today?
Any ideas?
Thanks!
Keith
View 1 Replies
View Related
Jul 23, 2005
Let me start by saying that, yes we know v6.5 is no longer supported byMicrosoft and that moving to SQL2000 might resolve our problem.Actually the migration to SQL2000 is 1 to 2 months out and in the QAphase now. Unfortunately we need to resolve the current 6.5 issue nowas it heavily impacts a major revenue stream for the company with everyoutage we encounter.The Problem:At least once every 24 hours the SQL Server begins disallowing new userconnections. When this happens the 2 CPUs begin to thrash. About 5minutes later the error log begins to print out the following errormessage: "Unable to connect. The maximum number of '500' configured userconnections are already connected. System Administrator can configure toa higher value with sp_configure." No new connections can be made to theserver; however, the existing connections continue to function normally.We never see anywhere near 500 user connections in the system (it tendsto average around 350 connections). If we begin to disconnect users theserver continues reporting that the maximum number of users isconnected. Eventually running queries thru an open connection will hangand we have to resort to a hard reboot of the server as neither SQLServer will not shutdown nor will the operating system.The Server:Compaq Proliant DL380 with dual 863 MHz. processors (x86 Family 6 Model8 Stepping 3 GenuineIntel), 917,020 KB of physical memory, MicrosoftWindows 2000 Server (Version 5.0.2195 Service Pack 4 Build 2195), TotalVirtual Memory 3,138,688 KB, Page File Space 2,221,668 KBSQL Server:Microsoft SQL Server 6.50 - 6.50.479 (Intel X86). Some pertinentconfiguration settings: memory - 244100 (in 2K units), user connections– 500, RA worker threads – 3, max worker threads – 255We found one reference to the above error message in the MicrosoftKnowledge Base and that refers to a condition where the server has 2GBor more of physical memory with 1.5GB assigned to SQL Server. This doesnot pertain to our situation. Have any of you ever encountered thisproblem?I appreciate your insights.*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!
View 12 Replies
View Related
Oct 1, 2006
I am using MS VB 2005 Express to connect to a DB created in SQL 2005 Express and have not been able to make a connection. I am including answers to questions along with screen shots where it would make it clear, hope they come through. I f anyone has any ideas on what I have not done, or what I have incorrectly done, please let me know. I notice in the log that the database I am trying to connecto to does not show up as started. I don't understand why is doesn't show up, and I don't understand what I would need to do to start it.
[1] Client side:
What is the connection string in you app or DSN? (please specify)
Data Source=.MSSQLSERVER;AttachDbFilename="C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataMusuemInventory.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
If client fails to connect, what is the client error messages? (please specify)
SQL Network Interface, error 25, Connection string is not valid
Is the client remote or local to the SQL server machine? [Remote | Local]
Local
Can you ping your server? [YES | NO ]
In cmd.exe console, type €œping -a <server_name>€?.
Yes can ping server
Can you telnet to your SQL Server? [YES | NO, please specify the error message
In cmd.exe console, type €œtelnet <server name> port, where port can be 135, 445 or sql_server_tcp_port. If your cmd.exe console turns into a complete black screen with a cursor flushing on top left corner, you are connected. Type ctrl+€™[€˜ to bring up telnet prompt and type €œquit€? <enter>.
YES telnet connects on port 135
What is your client database provider? [SNAC | MDAC | ADO.NET1.0 | ADO.NET2.0| other (please specify] Or/And, what is your client application? [SQL Management Studio | SQL Profiler | Visual Studio | Other (please specify).
Using
.NET Framework Data Provider for SQL Server
Is your client computer in the same domain as the Server computer? (Same domain | Different domains | WorkGroup)
Yes
What protocol the client enabled? [Shared Memory | TCPIP | Named Pipes].
Shared Memory
Do you have aliases configured that match the server name portion of your connection string? If so, please check if it is correct.
No aliases
[2] Server side:
What is the MS SQL version? [ SQL Server 2005 | SQL Sever 2005 ]
Miscrsoft SQL Server Express
Microsoft SQL Server Management Studio Express 9.00.2047.00
Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158)
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.2180
Microsoft .NET Framework 2.0.50727.42
Operating System 5.1.2600
What is the SKU of MS SQL? [Enterprise | Standard | Workgroup | Express (or MSDE) | other (please specify)].
Express
What is the SQL Server Protocol enabled? [Shared Memory | TCPIP | Named Pipes ]. Use SQL Server Configuration Manager to configure it and check ERRORLOG or event log to confirm.
Shared Memory
Does the server start successfully? [YES | NO] If not what is the error messages in the SQL server ERRORLOG?
Yes
If SQL Server is a named instance, is the SQL browser enabled? [YES | NO]
Yes Browser is running
What is the account that the SQL Server is running under?[Local System | Network Service | Domain Account]
Local System
Do you make firewall exception for your SQL server TCP port if you want connect remotely through TCP provider? [YES | NO | not applicable]
Not applicable
Do you make firewall exception for SQL Browser UDP port 1434? [YES | NO | not applicable ]
No
[3] Platform:
What is the OS version? [Windows XPSP2 | Windows 2003 | Windows 2000 | Windows 98 | others (please specify ) ].
Microsoft Windows XP
Professional
Version 2002
Service Pack 2
Do you have third party antivirus, anti-spareware software installed? [Symantec | Norton | other (please specify)].
McAfee
[4] Misc:
If you have certificate configuration issue: Please use €œcertutil.exe €“v €“store my€? to dump certificate specific info and post it in your question.
[5] Tips:
1. Find SQL Server Errorlog: Default to C:Program FilesMicrosoft SQL ServerMSSQL.#MSSQLLOG
Today entries in Log File
2006-10-01 03:07:35.14 spid51 Starting up database 'ReportServer'.
2006-10-01 03:07:35.28 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:07:35.28 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:07:40.50 spid51 Starting up database 'ReportServer'.
2006-10-01 03:07:40.62 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:07:40.62 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:08:45.62 spid51 Starting up database 'ReportServer'.
2006-10-01 03:08:45.75 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:08:45.75 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:10:50.75 spid51 Starting up database 'ReportServer'.
2006-10-01 03:10:50.85 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:10:50.85 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:14:55.85 spid51 Starting up database 'ReportServer'.
2006-10-01 03:14:55.98 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:14:55.98 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:23:00.98 spid51 Starting up database 'ReportServer'.
2006-10-01 03:23:01.17 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:23:01.17 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 03:39:01.20 Server Server resumed execution after being idle 47 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 03:39:01.20 spid51 Starting up database 'ReportServer'.
2006-10-01 03:39:01.31 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 03:39:01.31 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 04:11:01.31 Server Server resumed execution after being idle 1006 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 04:11:01.32 spid51 Starting up database 'ReportServer'.
2006-10-01 04:11:01.43 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 04:11:01.43 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 05:15:01.50 Server Server resumed execution after being idle 2926 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 05:15:01.50 spid51 Starting up database 'ReportServer'.
2006-10-01 05:15:01.59 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 05:15:01.59 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 07:23:01.76 spid51 Starting up database 'ReportServer'.
2006-10-01 07:23:01.87 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 07:23:01.87 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 08:18:02.20 Server Server resumed execution after being idle 1968 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 08:18:04.75 spid52 Using 'xpstar90.dll' version '2005.90.2047' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
2006-10-01 08:20:02.13 spid52 Using 'xplog70.dll' version '2005.90.2047' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
2006-10-01 08:33:25.51 spid54 Starting up database 'aspnetdb'.
2006-10-01 08:33:26.00 spid54 Starting up database 'C:PROGRAM FILESMICROSOFT SQL SERVERMSSQL.1MSSQLDATAADVENTUREWORKS_DATA.MDF'.
2006-10-01 08:33:26.92 spid54 Starting up database 'MyCompany'.
2006-10-01 08:33:27.21 spid54 Starting up database 'ReportServer'.
2006-10-01 08:33:27.40 spid54 Starting up database 'ReportServerTempDB'.
2006-10-01 08:33:27.88 spid54 Starting up database 'aspnetdb'.
2006-10-01 10:50:18.71 Server Server resumed execution after being idle 4523 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 10:50:18.73 Logon Error: 17828, Severity: 20, State: 3.
2006-10-01 10:50:18.73 Logon The prelogin packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library. [CLIENT: <local machine>]
2006-10-01 11:19:40.78 Server Server resumed execution after being idle 672 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 11:36:52.20 spid52 Starting up database 'aspnetdb'.
2006-10-01 11:36:52.45 spid52 Starting up database 'C:PROGRAM FILESMICROSOFT SQL SERVERMSSQL.1MSSQLDATAADVENTUREWORKS_DATA.MDF'.
2006-10-01 11:36:52.98 spid52 Starting up database 'MyCompany'.
2006-10-01 11:36:53.29 spid52 Starting up database 'ReportServer'.
2006-10-01 11:36:53.56 spid52 Starting up database 'ReportServerTempDB'.
2006-10-01 11:36:53.96 spid52 Starting up database 'aspnetdb'.
2006-10-01 11:37:27.62 spid52 Starting up database 'C:PROGRAM FILESMICROSOFT SQL SERVERMSSQL.1MSSQLDATAADVENTUREWORKS_DATA.MDF'.
2006-10-01 11:37:28.21 spid52 Starting up database 'MyCompany'.
2006-10-01 11:37:28.48 spid52 Starting up database 'ReportServer'.
2006-10-01 11:37:28.71 spid52 Starting up database 'ReportServerTempDB'.
2006-10-01 11:39:02.56 spid52 Starting up database 'ReportServer'.
2006-10-01 11:39:02.67 Logon Error: 18456, Severity: 14, State: 16.
2006-10-01 11:39:02.67 Logon Login failed for user 'NT AUTHORITYNETWORK SERVICE'. [CLIENT: <local machine>]
2006-10-01 12:39:22.70 Server Server resumed execution after being idle 2709 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 14:02:22.34 Server Server resumed execution after being idle 1287 seconds: user activity awakened the server. This is an informational message only. No user action is required.
2006-10-01 14:02:22.34 Logon Error: 17828, Severity: 20, State: 3.
2006-10-01 14:02:22.34 Logon The prelogin packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library. [CLIENT: <local machine>]
Last but not least:
There is a wealth of information already available to help you answer your questions.
(1) SQL Server 2005 Books Online: http://msdn2.microsoft.com
(2) Microsoft Support Knowledge Base: http://support.microsoft.com
(3) SQL Protocol Team Blog: http://blogs.msdn.com/sql_protocols
(4) MSN Search: http://search.msn.com/ or use your favorite search engine.
View 3 Replies
View Related
Jul 16, 2006
I am unable to connect SQL Server Management Studio to any of the databases on my computer. At this stage I am simply starting the Management Studio and asking it to connect to a database I made a few months ago before this connection trouble arose. I'm specifying the server name "BENCHLAP" which is the name of My Computer, using Windows Authentication.
The error I get is:
An
error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact
that under the default settings SQL Server does not allow remote
connections. (provider: Named Pipes Provider, error: 40 - Could not
open a connection to SQL Server)
The client is local. At least, it is if I understand correctly - the instance of SQL Server is installed on the same machine as the instance of IIS that I intend to use to test my web applications after we have resolved this issue, and the same machine as the one I shall use to view the application on.
I can ping the server if i type "ping -a BENCHLAP". It is successful
I think it also connects via telnet ok as well, by typing "telnet BENCHLAP 135"
All client protocols are enabled, as are the server protocols. Don't know if this is a security risk but I did it to try and solve the problem, to no avail. There are no aliases, according to the Configuration Manager.
The server itself is SQL Server Express 2005, runnning on Windows XP Professional. My anti virus software is AVG.
I'm afraid I don't know anything more, and have been researching this error for quite some time now.
Is anybody able to help me please?
Ben
View 8 Replies
View Related
Feb 10, 2008
Cannot someone please help me with following problem. I am trying to create a program to update a sql datbase from.NET 2003. I am doing this by using SQL Server Express 5. The problem is, is that when I run the program and click the button to view the table in SQL Express 5 I keep getting an 'System.NullReferenceException' and the table is not shown. When I look at the debug details it says that 'object reference not set to an instance of an object'.
Am not sure where am goin wrong as the connection is opened to the local server in SQL Express and I have created a connection object and initialised it to the address fo the datatable in SQL.
Please find below the code I am working on which shows the connection string in question and the table being called in button 6 which causes the exception.
Any help would be greatly appreciated....thanks
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;namespace MovieBase
{
/// <summary>
/// Summary description for Form1.
/// </summary>public class Form1 : System.Windows.Forms.Form
{private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;private System.Windows.Forms.Button button3;
private System.Windows.Forms.Label label1;private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;private System.Data.SqlClient.SqlConnection sqlConnection1;
private System.Windows.Forms.ComboBox GengreList;private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private System.Windows.Forms.Label label2;public DataSet MDSet = new DataSet();
SqlDataAdapter MyAdapt;private System.Data.SqlClient.SqlCommand sqlSelectCommand2;
private System.Data.SqlClient.SqlCommand sqlInsertCommand2;private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter2;public SqlConnection MovCon = new SqlConnection("Data Source = SHERMAN/SQLEXPRESS;Initial Catalog= MovieDBase;User Id=myUsername;Password=myPassword");
/// <summary>
/// Required designer variable.
/// </summary>private System.ComponentModel.Container components = null;public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>protected override void Dispose( bool disposing )
{if( disposing )
{if (components != null)
{
components.Dispose();
}
}base.Dispose( disposing );
}#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>private void InitializeComponent()
{System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
this.button1 = new System.Windows.Forms.Button();this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();this.label1 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();this.button5 = new System.Windows.Forms.Button();
this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();this.GengreList = new System.Windows.Forms.ComboBox();
this.button6 = new System.Windows.Forms.Button();this.button7 = new System.Windows.Forms.Button();
this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();this.label2 = new System.Windows.Forms.Label();
this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand();this.sqlInsertCommand2 = new System.Data.SqlClient.SqlCommand();
this.sqlDataAdapter2 = new System.Data.SqlClient.SqlDataAdapter();this.SuspendLayout();
//
// button1
// this.button1.Location = new System.Drawing.Point(184, 168);
this.button1.Name = "button1";this.button1.Size = new System.Drawing.Size(96, 23);
this.button1.TabIndex = 0;this.button1.Text = "Add A Movie";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
// this.button2.Location = new System.Drawing.Point(184, 248);
this.button2.Name = "button2";this.button2.Size = new System.Drawing.Size(96, 23);
this.button2.TabIndex = 1;this.button2.Text = "Delete A Movie";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
// this.button3.Location = new System.Drawing.Point(184, 208);
this.button3.Name = "button3";this.button3.Size = new System.Drawing.Size(96, 23);
this.button3.TabIndex = 2;this.button3.Text = "View Movies";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// label1
// this.label1.Font = new System.Drawing.Font("Myriad Web Pro", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label1.Location = new System.Drawing.Point(280, 8);this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 24);this.label1.TabIndex = 3;
this.label1.Text = "MOVIEBASE";
//
// button4
// this.button4.Location = new System.Drawing.Point(448, 344);
this.button4.Name = "button4";this.button4.Size = new System.Drawing.Size(192, 23);
this.button4.TabIndex = 4;this.button4.Text = "Current Movie Count";
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
// this.button5.Location = new System.Drawing.Point(496, 112);
this.button5.Name = "button5";this.button5.Size = new System.Drawing.Size(128, 32);
this.button5.TabIndex = 5;this.button5.Text = "Find Movie";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// sqlConnection1
// this.sqlConnection1.ConnectionString = "workstation id=SHERMAN;packet size=4096;integrated security=SSPI;data source="SHE" +
"RMAN\SQLEXPRESS";persist security info=False;initial catalog=MovieDBase";this.sqlConnection1.InfoMessage += new System.Data.SqlClient.SqlInfoMessageEventHandler(this.sqlConnection1_InfoMessage);
//
// GengreList
// this.GengreList.BackColor = System.Drawing.SystemColors.InactiveCaptionText;this.GengreList.Items.AddRange(new object[] {
"Horror",
"Comedy",
"Family/Entertainment",
"Drama",
"Boxsets",
"Sci -fi/Fantasy"});this.GengreList.Location = new System.Drawing.Point(184, 344);
this.GengreList.Name = "GengreList";this.GengreList.Size = new System.Drawing.Size(121, 21);
this.GengreList.TabIndex = 6;
//
// button6
// this.button6.Location = new System.Drawing.Point(264, 104);
this.button6.Name = "button6";this.button6.Size = new System.Drawing.Size(160, 40);
this.button6.TabIndex = 7;this.button6.Text = "View Movie List";
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
// this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.button7.Location = new System.Drawing.Point(360, 432);this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(104, 40);this.button7.TabIndex = 8;
this.button7.Text = "Exit Movie Base";this.button7.Click += new System.EventHandler(this.button7_Click);
//
// sqlSelectCommand1
// this.sqlSelectCommand1.CommandText = "SELECT [Item Number], [Movie Title], Genre, [Date of Release], Director FROM [Mov" +
"Table 1]";this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// sqlInsertCommand1
// this.sqlInsertCommand1.CommandText = "INSERT INTO [MovTable 1] ([Item Number], [Movie Title], Genre, [Date of Release]," +
" Director) VALUES (@Param1, @Param2, @Genre, @Param3, @Director); SELECT [Item N" +
"umber], [Movie Title], Genre, [Date of Release], Director FROM [MovTable 1]";this.sqlInsertCommand1.Connection = this.sqlConnection1;
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param1", System.Data.SqlDbType.VarChar, 50, "Item Number"));this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param2", System.Data.SqlDbType.VarChar, 50, "Movie Title"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Genre", System.Data.SqlDbType.VarChar, 50, "Genre"));this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param3", System.Data.SqlDbType.VarChar, 50, "Date of Release"));
this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Director", System.Data.SqlDbType.VarChar, 50, "Director"));
//
// sqlDataAdapter1
// this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "MovTable 1", new System.Data.Common.DataColumnMapping[] {new System.Data.Common.DataColumnMapping("Item Number", "Item Number"),
new System.Data.Common.DataColumnMapping("Movie Title", "Movie Title"),new System.Data.Common.DataColumnMapping("Genre", "Genre"),
new System.Data.Common.DataColumnMapping("Date of Release", "Date of Release"),new System.Data.Common.DataColumnMapping("Director", "Director")})});
this.sqlDataAdapter1.RowUpdated += new System.Data.SqlClient.SqlRowUpdatedEventHandler(this.sqlDataAdapter1_RowUpdated);
//
// label2
// this.label2.Font = new System.Drawing.Font("Myriad Web Pro", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label2.Location = new System.Drawing.Point(64, 344);this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(120, 23);this.label2.TabIndex = 9;
this.label2.Text = "Genres";
//
// sqlSelectCommand2
// this.sqlSelectCommand2.CommandText = "SELECT [Item Number], [Movie Title], Genre, [Date of Release], Director FROM [Mov" +
"Table 1]";this.sqlSelectCommand2.Connection = this.sqlConnection1;
//
// sqlInsertCommand2
// this.sqlInsertCommand2.CommandText = "INSERT INTO [MovTable 1] ([Item Number], [Movie Title], Genre, [Date of Release]," +
" Director) VALUES (@Param1, @Param2, @Genre, @Param3, @Director); SELECT [Item N" +
"umber], [Movie Title], Genre, [Date of Release], Director FROM [MovTable 1]";this.sqlInsertCommand2.Connection = this.sqlConnection1;
this.sqlInsertCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param1", System.Data.SqlDbType.VarChar, 50, "Item Number"));this.sqlInsertCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param2", System.Data.SqlDbType.VarChar, 50, "Movie Title"));
this.sqlInsertCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Genre", System.Data.SqlDbType.VarChar, 50, "Genre"));this.sqlInsertCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param3", System.Data.SqlDbType.VarChar, 50, "Date of Release"));
this.sqlInsertCommand2.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Director", System.Data.SqlDbType.VarChar, 50, "Director"));
//
// sqlDataAdapter2
// this.sqlDataAdapter2.InsertCommand = this.sqlInsertCommand2;
this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2;this.sqlDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "MovTable 1", new System.Data.Common.DataColumnMapping[] {new System.Data.Common.DataColumnMapping("Item Number", "Item Number"),
new System.Data.Common.DataColumnMapping("Movie Title", "Movie Title"),new System.Data.Common.DataColumnMapping("Genre", "Genre"),
new System.Data.Common.DataColumnMapping("Date of Release", "Date of Release"),new System.Data.Common.DataColumnMapping("Director", "Director")})});
//
// Form1
// this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.SystemColors.InactiveCaption;this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(704, 502);this.Controls.Add(this.label2);
this.Controls.Add(this.button7);this.Controls.Add(this.button6);
this.Controls.Add(this.GengreList);this.Controls.Add(this.button5);
this.Controls.Add(this.button4);this.Controls.Add(this.label1);
this.Controls.Add(this.button3);this.Controls.Add(this.button2);
this.Controls.Add(this.button1);this.Name = "Form1";
this.Text = "Form1";this.ResumeLayout(false);
}
#endregion
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]static void Main()
{Application.Run(new Form1());
}private void sqlConnection1_InfoMessage(object sender, System.Data.SqlClient.SqlInfoMessageEventArgs e)
{
}private void button5_Click(object sender, System.EventArgs e)
{
MessageBox.Show("///Under Construction");
}private void button1_Click(object sender, System.EventArgs e)
{
MessageBox.Show("///Under Construction");
}private void button2_Click(object sender, System.EventArgs e)
{
MessageBox.Show("///Under Construction");
}private void button3_Click(object sender, System.EventArgs e)
{
MessageBox.Show("///Under Construction");
}private void button4_Click(object sender, System.EventArgs e)
{
MessageBox.Show("There is currently no movie count available");
}private void button6_Click(object sender, System.EventArgs e)
{
Form2 F2 = new Form2();
sqlConnection1.Open();
MyAdapt.Fill(MDSet, "MovTable 1");
F2.dataGrid1.DataSource = MDSet;
}private void button7_Click(object sender, System.EventArgs e)
{this.Close();
sqlConnection1.Close();
}private void sqlDataAdapter1_RowUpdated(object sender, System.Data.SqlClient.SqlRowUpdatedEventArgs e)
{
}
}
}
View 1 Replies
View Related
Mar 31, 2008
Hi All, I am trying to connect to an SQL SERVER in a remote production server from ASP.net using following code. Dim conProd As New OleDbConnection("Provider=SQLOLEDB.1;Data Source=ServerName;UID=User Name;PWD=Password;Initial Catalog=Database")conProd.Open()I am getting following error while running this script [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
access denied. But I am able to connect to this server using following three other ways:1) Using query analyzer2) I created DSN and performed test connection, it succeded.3) In ASP.NET -> Server Explorer -> Data Connections, I added this connection and test connection also successful.I tried to connect to this server in VB 6.0 using following code Dim conProd As New ADODB.ConnectionconProd.Open "Provider=SQLOLEDB;Data Source=ServerName;Initial Catalog=Database; Timeout=500;", "UserName", "Password" I am able to connect using this above code in VB 6.0 also.But I dont what is happeing in .NET. Please help me. I am using XP and VS .NET 2003
View 1 Replies
View Related
Aug 12, 2005
I just installed MSDE but when I try to connect to a database or create a new database I get the following message:"Microsoft ASP.NET Web MatrixUnable to connect to the database.General network error. Check your network documentation.ConnectionRead (rec()).TDS buffer length too largeTDS buffer length too large"Can anyone tell me how to correct this problem?Thanks,
View 2 Replies
View Related
Apr 2, 2006
I have set up a database in SQL Server 2005 (The express version) and am trying unsucessfully to make a connection to it from MS Visual Web Developer 2005 Express version. I always get the same error:
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this error may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - could open a connection to SQL Server)"
How can I set up SQL Server to allow remote connections? I am trying to establish a connection from my web page to this database. Is there a user that I need to establish on the SQL Server side?
View 3 Replies
View Related
Jan 14, 2000
I upgraded my 6.5 server to 7.0 two days ago running into small problems with the database upgrade wizard. I had some small problems with security which took me some time but was not that difficult once I figured it out. I then proceeded to switch back to 6.5 mode to transfer all the data that had been done that day to my development machine so I could then import it to the SQL 7.0 version. When I was done with the transfer I switched back successfully, started the server successfully, but I was unable to connect. I get the error "Connection could not be established...", so after several attempts to connect and shuting the server down I now am at a loss. The server runs fine in 6.5 mode but it will not connect in 7.0?? Tonight I am going to try to reinstall SP1, if that does not work I am going to try to reinstall SQL 7.0. Any suggestions???
View 2 Replies
View Related
Nov 14, 2000
On a fresh installation of SQL Server 6.5, I have
opened the EM and registered the server but am unable
to connect. I get the error of 'A connection could not
be established to [ServerName]- [DB-Library] Unable
to connect: SQL Server is unavailable or does not exist.
General Network Error. Check your documentation.'
I've tried connecting with all different DB-Lib settings
to no avail. Ultimately, I want to use TCP/IP. I am,
however, able to connect to other SQL Server boxes from
this EM, just not the local server. I am able to stop
and start the services from Control Panel and from SQL
Service Manager.
Since I haven't been able to log into the local SQL Server,
I've registered the server in EM to log in with sa and a
blank password. I've already completely uninstalled SQL
and reinstalled it to see if that would help. It didn't.
Does anyone have any idea what the problem could be?
Thank you!
Toni
View 7 Replies
View Related
Mar 1, 2001
Hi,
I am connected to SQl server 7.0 thru TCP/IP .when I run Profiler I get a message like this -
"[MS ODBC SQL Server Driver]The operation could not be completed b'coz your security context could not be impersonated."
I tried using NamedPipes/MultiProtocol N/wLibrary but then also it do not work?
Any idea....
TIA
Pd
View 4 Replies
View Related
Jan 20, 2003
Hi,
I am running SQL 2000 on Windows 2000 Server. The clients are running different OS ranging from Win 98/NT/2000. Although i am able to connect to the local host, but whenever i try to connect over the network the following error pops up :
unable to connect to server <server name>
Server : Msg 11, Level 16, State 1
[Microsoft][ODBC SQL Server Driver][TCP/IP Socket]General network error. Check your network documentation.
I checked up the event long on the server and found the following entry:
Event Type: Warning
Event Source: MSSQL$NETSDK
Event Category: (8)
Event ID: 19011
Date: 1/20/2003
Time: 2:12:32 PM
User: N/A
Computer: <computer name>
Description:
The description for Event ID ( 19011 ) in Source ( MSSQL$NETSDK ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event:
(SpnRegister) : Error 1355.
May i further clarify that this error started today n till last week end (saturday, i am
stationed in India) there was no problem and the users were able to connect to the server
without any problem. My network engineer feels that its an sql problem and has nothing to do with network related issues.
i would appreciate if anybody could help me out. thanking in advance
- Paramesh
View 4 Replies
View Related
Nov 20, 2003
recently i made my PC dual boot by installing windows 2000 advanced server. It already had win2000 profesional installed on it. since then i have been unable to connect to sql server running on some other server(called CONTROLS) on the LAN. I am able to access the CONTROLS server thru 'my networkplaces' and able to see all its hsared directories and access htem. but when i open Enterprise manager i cannot connect to CONTROLS.
Please help me . i have already wasted 2 days over it.
View 3 Replies
View Related
Dec 17, 1998
I have 2 machines JAWS (publisher/distributor) and PSG (subscriber) on
trusted domains. MSSQL & SQLExec services of both machines run under the
local NT Administrator account
username: Administrator
password: XXXX
this NT Administrator account has the same username and password on both
machines. Their network protocols are named pipes. After I set up
replication following the sql manual, the LogReader, Distribution and Sync
tasks all report the error "unable to connect to JAWS". I'm wondering what
else I need to do. Any help are greatly appreciated. Thanks,
-Hoang
View 1 Replies
View Related