Can't Connect To SQL2000 On Windows 2003 Server Through UDL Of VB6 Component Of ASP Application

Feb 1, 2008

I have problem connecting to a SQL 2000 server that is hosted on a Windows 2003 server. My application uses classic ASP with VB6 components. VB6 components connect to SQL server and return data to ASP application. Everything was working fine when the application and SQL server was hosted on NT machine. Recently we have shifted to Windows 2003 server. Since then we could not establish connection to SQL2000.


I'm using UDL as connection string.
IIS and SQL2000 hosted on the same machine with Windows 2003 OS.
This seems to be a security issue. Earlier I faced this issue for a .net application which I resloved adding a domain account to both SQL server and IIS directory security.
Request your input to solve this problem.



Sunandajit Ray
Infrasoft Technologies Limited

View 1 Replies


ADVERTISEMENT

Can't Connect .Net Application From Windows Server 2003 To Database Server (SQL Server 2000)

Apr 3, 2008

Hi,
I am having a problem connecting my .net applications from the application server to the database server. When I run the application from my windows xp (sp2) box it works fine. When I try to connect via SQL Management Studio to the database server from the application server I get the same error.
Here is the error:
System.Data.SqlClient.SqlException: 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)
 Here is the Environment:
App Server:
Windows Server 2003 Standard Edition
Inside Company's Firewall/ Network
Database Server:
Windows Server 2000 Advanced Edition
SQL Server 2000 SP4
Remote Connections to the Server is checked
Enable Protocols: Named Pipes & TCP/IP
TCP/IP Port: 1402 (I don't know why it isn't the default of 1433)
The db server is sitting out side the Company's firewall (don't ask me why). I can access it fine from inside the firewall on my XP box but not from windows server 2003. There is a web server outside the our network that also connects to the db server with no problem and that is running Windows Server 2003 Web Edition.
I can ping the db server from the app server using the IP address.
I tried using the IP address and the port 1402 in my connection string but that didn't work from any machine (XP and Server).
I imagine the issue is somehow related to the company's firewall but why would it only block Windows Server 2003 and not XP?
What do I tell the network admin to change?
Any help would be appreciated.
Thanks,
Oran
 

View 4 Replies View Related

MSDE Install On Windows 2003 SP1 Application Server

May 23, 2006

I am trying to install MSDE 2.8 on this OS. When I try to install, I receive the following error: Fatal error setup This setup does not support installing on this operating system



Any ideas?

View 4 Replies View Related

Installing Onto Windows 2003 Server For Multi-user Application

Apr 22, 2006

Good Day,

I have an application that is being developed on Visual Studio 2005 (VB) and SQL Express. The application is set up to use the SQL Express on the development computer, and if an Internet or CD install is built, it installs SQL Express as expected. The question is, when it is time to deploy and put the SQL Express database on the 2003 server, how should the install on the server be done and how should we set the database path to the server?

Thanks,

Dave

View 1 Replies View Related

MSDTC - Remote Accessing SQL Server 2005 From A Desktop Application - Windows 2003 Server

Dec 6, 2007

Hi,

I am developing a windows application that needs to communicate with a remote SQL server 2005 database. Server allows remote connections and MSDTC service also running. Do I need to run MSDTC service on the client machine where I use desktop application ? any ideas ? It's throwing some error like
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.

But my SQL Server allows remote connection, and I am able to do a select statement.
But when I insert/update anything, it's throwing this error. I guess some problem with MSDCT. Anybody have any idea ?

View 1 Replies View Related

Connection Failure To SQL Server 2000 In Remote Machine From Application In Windows Server 2003

Dec 25, 2007

Hi!!

I'moving my asp application to a new hosting server.

So when i tried the setup locally with the live DB & application in my test machine...
The DB access is denied when application tries to hit the DB.


DB is in seperate machine with SQL Server 2000 & application(ASP) is in Windows server 2003.....
Kindly help me with your suggestions....on what went wrong?

View 1 Replies View Related

Error Provider Cannot Be Found. It May Not Be Properly Installed. After Deploying Application On Windows 2003 Server

May 23, 2007

hello folks

i have recently started to work with the analysis services and i am having some problems.

i have made a web application that for now just tries to connect to an analysis server.

The server is installed on an xp sp 2 system.

for testing, i used my local computer, which is running also win xp sp2. After deploying, the application can connect to the AS server on the other machine. the problem occurs when i try to deploy the applicatuion on the production server, which is running win 2k3 server on 32 bit. When deploying, i use the same connection string, so it should try to connect to the AS server installed on a win xp sp2 system.

The first thing that came to my mind was to check the MDAC versions, be cause of the message: "Provider cannot be found. It may not be properly installed."

on my computer, where the application worked ok, the version is MDAC 2.8 SP 1 Windows XP SP 2

on the win2k3 server, the MDAC version is : MDAC 2.8 SP2.... i thought it was the version of the service pack, so o searched for the update of MDAC 2.8 SP1, trying to install mdac 2.8 sp2 to see if i was to see the same error, but i found that mdac 2.8 sp2 is only for win2k3 server, and for win xp is mdac 2.8 sp1, according to this link: http://support.microsoft.com/default.aspx/kb/884103

Now i got confused and have no clues how to make this work...

Can anybody give any hint?

View 2 Replies View Related

How Do I Connect Client Machines To SQL Server 2005 Installed On A Windows 2003 Server

Apr 11, 2008

I am new to SQL server 2005


Windows 2003 Server and all client PCs are all on the same network. I installed SQL 2005 std version on windows server 2003 and created a database and tables in it.

I have two users, who want to connect to SQL server 2005 from their PCs (they have windows XP):

These are two things that I need to facilitate:

1) They want to be able to write queries using Query Designer and run from their PCs.

2) I created an MS Access database on my PC, I want to use Access database as a front end to the SQL server database. I will create queries, forms in Access DB, and I want to be able to get the data from SQL server Database to do this. I guess I can use ODBC to connect to tables in SQL server database.

3) I want to connect SQL server to Oracle database, and run oracle stored procedures. I want to load the results of oracle stored procedures into SQL server database tables. I guess I will use IIS for this.

Any suggestions are appreciated, especially with item number 1.

View 9 Replies View Related

Cant Connect To SQL Server Installed In Windows Server 2003

Feb 11, 2005

Hi, im trying to connect to my sql server installed in windows 2003 OS, i always get login failed whenever i run my asp.net application, do i have to setup anything in my local computer to access my database in windows 2003 server? or in IIS maybe? pls help.

View 1 Replies View Related

How To Connect With SqlServer 2000 In Pocket PC 2003 Application.

Oct 31, 2007

How to Connect sqlServer 2000 in Pocket PC 2003 Application.
In Packet PC 2003 Application I have to connect to sql server 2000 on
my machine. The application gives error if connected using sqlConnection. Is SQL server CE necessary to connect to sql server 2000 in .Net Compact Framework?

View 1 Replies View Related

Connect DtSearch From Windows Application

Mar 13, 2008

I have to search the keyword from windows application using dtSearch. when user enter the list of keywords in UI, i have to connect to dtSearch tool and based on the output return, the matched keyword should be added to database table.

Now, i have problem in connecting this tool from my application.

Thanks in advance.

View 2 Replies View Related

Any One Tell Me The Code To Connect To .sdf File In C# Windows Application?

Apr 10, 2008

Hi,

Any one tell me the code to connect to .sdf file in c# windows application?And tell the requirments to conncet.My sdf file path is this

C:\Documents and Settings\koti\My Documents\Example.sdf

I write this code.It is not working

string str = "Provider=Microsoft.SQLSERVER.MOBILE.OLEDB.3.0;Data Source=C:\Documents and Settings\koti\My Documents\Example.sdf;SSCE:Encrypt Database=True";
SqlCeConnection cn = new SqlCeConnection(str);
cn.Open();

Ant one help me Plz...

Regards,
venkat.

View 6 Replies View Related

Using A Windows Application To Connect To An Online Access DB.

Aug 25, 2007

Hi all,

I'm working on a project where I have to create a password protected form for teachers to submit reports about students.
Originally I was going to use asp.net to create the form, but unfortunately the server I'm working with will not be granted asp functionality in the allotted timeframe.

To solve this issue I have another idea. So I will ask a few questions to help with research before I begin coding.

Is it possible to create a windows application that can connect to an access database hosted online? The windows app will need to be be able to update, insert, and select information from the database.

There is only going to be about 30-40 people using this windows application once or twice a week.

Thus I envision taking a password protected access database and dropping it onto a server.
The windows application will have the online location of the database embeded into the code. (connection string)
From there on out coding for the windows application should be the exact same as if the database was hosted locally on the computer, correct?

Also,
1. What is a good way to check and make sure the computer is connected to the internet before my application tries to access the database?

2. Are there any drastic security issues with this process that I should think about. The database will only be password proected, and the windows application will take a username/password from the user and check it against a table before they are able to submit info to the database.

I just need to be pointed in the right direction for this project.
Thanks.

View 1 Replies View Related

Any Issues Installing SQL2000 SP4 On Window 2003 SP2 Server?

Nov 14, 2007

I was told that SQL2000 SP4 needs to install prior to installing SP2 for windows 2003 server. Is that true? What issues I will encounter if the installation is done the other way around?
Thanks for any insights

View 3 Replies View Related

Unable To Connect To SQL SERVER 2005 Database Engine Using Windows Authentication Under Windows Vista...

Mar 26, 2008

Hallo there,

I just upgraded from Windows XP Pro to Windows Vista Bussiness and tried to reinstall SQL Server 2005 Developers Edition. After the installation i downloaded (using microsoft windows update) and installed all the service packs for sql and vista available.

My problem is when i open sql server management studio and try to connect to my default instance using windows authentication and database engine, an 18456 error occurs.

I enabled all the protocols and all the ports
I disabled windows firewall and antivirus (eset nod32)
I installed all service packs available
I have also installed Visual Studio 2005 without installing sqlexpress

But nothing happens!

Please i am very desperate, any information will be gratefully accepted.

This is my installation Information



Code Snippet

Microsoft SQL Server Management Studio 9.00.3042.00
Microsoft Analysis Services Client Tools 2005.090.3042.00
Microsoft Data Access Components (MDAC) 6.0.6001.18000 (longhorn_rtm.080118-1840)
Microsoft MSXML 3.0 5.0 6.0
Microsoft Internet Explorer 7.0.6001.18000
Microsoft .NET Framework 2.0.50727.1434
Operating System 6.0.6001


Thank you in advance,
Patonios


View 3 Replies View Related

Issue With 2003 Virtual Server And ASP.NET 2.0 Application

Jun 1, 2006

I'm using Sql server 2005 Express.

my connection string is as fallows:

Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|ccinfo.mdf;Integrated Security=True;User Instance=True

When testing this website on my local computer everything works fine. But then I uploaded it to my server... dun dun dun....

Its a godaddy virtual server running windows server 2003.

When I try to connect to the database stored in my app_data folder I get this error message:

'Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. '

What does this mean?

View 6 Replies View Related

Windows 2003 Server

Jan 23, 2008

Hello, pls Some of my factory guys can log on the same user name at the same time, so I want a situation where a user name may be able to log on, one at a time. Whoever that is reading this, note this is not a misplacement, this is the fact that I don't have means of solving it, I am also of opinion that some have full knowledge of windows 2003 server

View 1 Replies View Related

Windows 2003 Server

Apr 22, 2004

I have SQL 2k on a W2003 Server.
I have SP3 installed.
My problem is that i cant connect to the server via telnet:

"C:>telnet localhost 1433
Connecting to localhost...Could not open connection to the host, on port 1433: Connect failed."

I try telnet 127.0.0.1 also.
In the Server Network Utility TCP/IP is ENABLED and the port number is 1433.

Who can help me?
(Sorry for my english)

View 2 Replies View Related

SQl With Windows Server 2003 SBS R2

Nov 25, 2006

We have purchased Windows 2003 Small Business Edition Premium.

Our company uses Analysis Manager / Analysis Services and also MDX functions. However Release2 only appears to have SQL 2005 Workgroup edition with it and these features do not seem to be present.

Does anybody know how I upgrade to get these functions? I don’t know if these functions can be downloaded or whether we have to upgrade by purchasing SQL Server Standard 2005 edition outright?

Thanks, Stephen.

View 1 Replies View Related

Windows 2003 Server And ASP

Jul 23, 2005

Hi,I am unable to connect to a database in my SQL 2000 Server installed ona Windows 2003 Server machine from an asp page. It gives the thefollowing error:Microsoft OLE DB Provider for SQL Server (0x80004005)Login failed for user 'sa'. Reason: Not associated with a trusted SQLServer connection.I also sometimes get:MSDataShape (0x80004005)Data provider could not be initialized.I can connect with the same connection string and parameters from avisual basic 6 application.I can also connect the web client with the same DB in SQL 2000 runningon Windows 2000/XP.The authentication mode is mixed.I believe it is something to do with security. Please advise me on whatto do. It is very urgent.

View 11 Replies View Related

SQL 7.0 On Windows 2003 Server

Oct 19, 2006

Hi,

I have a client requiring SQL 7.0 installed on Windows 2003 Server Std. Just wondering if its supported and possible to install SQL 97 on Windows 2003 servers.

Thanks

View 1 Replies View Related

SQL2000 PE Cannot Connect To SQL7 Server

Nov 13, 2000

I have setup SQL2000 Personal edition on my notebook.

I cannot connect to an existing SQL7 server on the network anymore. I
used to run SQL7 Desktop edition which ran just fine.
I also noticed that when I start my machine it take about 2 minutes
until the SQL service is started.

Any ideas why this is not working anymore?


Thomas Schoch
Elephant Software AG
Switzerland

View 1 Replies View Related

Connect To Remote SQL2000 Server

Jan 17, 2002

Hi

What connection string should i use to connect to a remote SQL2000 server over the internet??


Thanks

View 2 Replies View Related

Server 2000 And Windows 2003

Oct 26, 2004

Hello y'all,
I have to do a new install of SERVER 2000 using WINDOWS 2003 . Has anyone done this. If so, what are the steps. Should I expect any problems ? Any help appreciated.
Thanx

View 1 Replies View Related

MSDE2000A + Windows 2003 Server

Jan 15, 2004

I have been searching the net and haven't found anything that has worked so far for resolving this issue, hopefully someone on here can provide some insight?

I did a fresh install of a Windows 2003 Standard Edition server (as part of a workgroup, not a domain..the server is only temporary for testing) and installed MSDE 2000A (the version that contains all current service packs). I can use the MSDE server locally on the server without any issue...however when I try to connect to MSDE with a workstation, it tells me that Access is denied or the Server does not exist.

The ICF is disabled, and all passowrds being entered have been checked, however I still can not connect to the sql server. Does anyone have any ideas on this or run into this problem before?

View 2 Replies View Related

Windows Server 2003 Freezes

Mar 7, 2008

Set up - windows server 2003 - SQL server 2000 + tools installed

Not sure why its happening but recently when running some scripts onto one of the databases held on the server windows crashes.

I say crashes - it is non responsive but the mouse cursor can be moved.

these scripts are not being run from the server but from one of many machines on our companies network.

Any suggestions would be great

View 1 Replies View Related

SQL Server 2000 And Windows 2003 SBS

Jul 23, 2005

I have XP workstations and windows 2003 SBS. I setup an ODBC for anapplication (tried both User and System DSN), but after a few usage, I getthe following error:Connection failed:SQLState: 'HY000'SQL Server Error: 0[Microsoft][ODBC SQL Server Driver]Cannot generate SSPI context.Any ideas? Is this a bug?--Thank youPlease post only

View 3 Replies View Related

MSDE2000A + Windows 2003 Server

Jul 20, 2005

I have been searching the net and haven't found anything that hasworked so far for resolving this issue, hopefully someone on here canprovide some insight?I did a fresh install of a Windows 2003 Standard Edition server (aspart of a workgroup, not a domain..the server is only temporary fortesting) and installed MSDE 2000A (the version that contains allcurrent service packs). I can use the MSDE server locally on theserver without any issue...however when I try to connect to MSDE witha workstation, it tells me that Access is denied or the Server doesnot exist.The ICF is disabled, and all passowrds being entered have beenchecked, however I still can not connect to the sql server. Doesanyone have any ideas on this or run into this problem before?

View 1 Replies View Related

NFS Between Unix And Windows Server 2003 R2

Jan 18, 2008

I have a windows server 2003 R2 sharing a filesystem using NFS. I have created a group and passwd file and mapped the ids' to the unix login ids' . I', able to mount but when I try to cd to the directory I get "NFS access failed for server testsrvr: RPC: Authentication error". On the win2k3 server I'm getting an event error "There was a mapping failure". I have the Admin id on the win2k3 server mapped to the unix root login .

View 1 Replies View Related

MS SQL 2005 + Windows Server 2003 SP2

Jul 13, 2007

At first I thought it was just me, but has anyone else noticed that SQL 2005 suffers a performance hit when you install Windows Server 2003 SP2?



Since SP2, memory and hard drive usage has gone through the roof on a number of servers I use. It may just be coincidence... but it seems unlikely.

View 6 Replies View Related

Windows Server 2003 Query

Nov 12, 2006

I am following the MCTS Self-Paced Training Kit for Exam 70-431 (implementation and maintenance of sql server 2005) and one of the prerequisites is that I have Microsoft Windows Server 2003 running on my computer on an NTFS file system (NTFS) partition. Now am I right in thinking Windows Server 2003 is an operating system. If it is can I install it alongside XP Professional which I am currently running. I am currently afraid to go ahead with the installation as I am worried it will overwrite XP, which would be disastrous as I have a great deal of data on it.

Thanks

vik

View 4 Replies View Related

How To Run Two Sql Servers On One Windows Server 2003

Nov 13, 2007

I have a problem i have been working on moving sql2000 databases to 2005.
I have two servers running on one machine.
Is there a way to make my 2005 server a default server

I want to make 2005 a default server instead of 2000.
Because in my connection string from the applications i connect to server using external ip & it's connecting to 2000 instead of 2005.

How can i solve this problem

let me know
thanks

View 7 Replies View Related

SQL Server, Windows 2003, And ASP Problem

Apr 2, 2007

I have SQL Server 2000 running on Windows 2003 Server. I have Windows 2000 Server running IIS. I am trying to connect my asp running on 2000 to my SQL Server running on 2003, but I run into the problem when I have to machines connecting to the database. The first machine works, but the second machine comes up with the page is not found. When the first machine is done with getting the data, I am able to refresh on the second machine and it works. Some reason it is only allowing one connection at a time on the same database. Any help would be greatly appreciated. Thanks

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved