ADVERTISEMENT

Problem On Connecting SQL Server Using ODBC 32 Bits On 64 Bits OSSQL Database

Apr 9, 2008

I've a 32 bits application that runs on 64 bits Windows Server+MS-SQL.
I've created an ODBC DSN using c:WindowsSysWow64odbcad32.exe.
Sp, the program recognize the ODBC but having problem connecting.
The error look likes this:
***
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not find server '<name>' in sys.server. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers.
***

Any help is appreciated.

Regards,
Ben

View 1 Replies View Related

Problem With ODBC 32 Bits In A Server Of 64 Bits

Nov 19, 2007


Hello,

This is my first post in this forum, I have one application built in asp .net, through a ODBC connect to a external database (prinex). The application was running in a 32bits server, but the server had to stop and now there is running in a machine of 64 bits.

The driver that use in server of 32 bits only exists for this version, right now i have to use the same for the 64 bits machine, i can install and configure the DSN (using c:WindowsSysWow64odbcad32.exe).

But at the time of execute the aplicattion an error is displayed. ¿How can i solve this problem?, ¿There is a way to force the application to use 32 bits DSN? ¿There is an alternative solution for connect to the database? ¿Someone had the same problem?

This is the image of the error:
http://img404.imageshack.us/img404/8168/errorwebbn1.png

If somebody can help me, i would be very grateful.

PD: Sorry for my english.

View 1 Replies View Related

MDAC (urgent)

Apr 3, 2001

Hello guys,
What is the use of MDAC and how to check the version of MDAC.
on any server.
Thank you.

Paul

View 1 Replies View Related

Urgent Mdac

Oct 19, 2004

Hi,
I install MDAC 2.8 the installation is ok, i reboot and when i look in add/remove programs box there isn't mdac.
And my entreprise manager tools don't work properly.


It's very urgent please help me.

View 3 Replies View Related

Log Shipping Between Sql Server 2000 64 Bits And Sql Server 2005 32 Bits

Apr 16, 2007

Hello



I want make log shipping between a Sql Server 2000 64 bits itanium (primary server) and a SQL Server 2005 32 bits.

Is it possible or I'll have got any problem?







Thanks you



View 1 Replies View Related

Bits Of Indexes RFC

Jun 15, 2004

I suppose this is more an RFC than a true question, but I've come to realize "bit" data types do not optimize a query when they are used in a WHERE clause. Since they cannot be indexed, it forces the analyzer to query an available index for rows based upon the non-bit constraints. The result is then scanned to match the values of the bit constraints of the query. So you're potentially doing a full table scan, or an index scan.

My original thought was that I'd improve performance by using bit fields since they are a smaller datatype, but as development progressed, we began using those bits in our queries. At this point, it may be beneficial to convert those bit types to smallint.

Am I wrong in my conclusion?

View 6 Replies View Related

SQL Server 16 Bits Client

Aug 25, 1999

Hi,

I have an vendor application need to use SQL Server 16 bits version for server and client. I installed the SQL Server 6.5 from my "Backoffice 20" CD ROM
I was told that after my installation of SQL Server 6.5 on server, if there is a folder "BIN" and "BINN", that means that I have installed both the 16 and 32 bits version. Is this true? To install SQL Server Client, if I install from my server from the sql65i386, the 32 bits client will be installed to my client workstation. Which folder should I look for the 16 bits client installation?

View 1 Replies View Related

Oracle OLE DB Provider (64-bits)

Dec 10, 2005

Hi all,

View 3 Replies View Related

NULL/Varchar And Extra Bits

Jul 20, 2005

How may extra bits does a NULL column contain.And how many extra bits does a varchar column contain.(I 've worked with Ingres and in that environment it both needed 2 extrabits)Bye,Arno de Jong, The Netherlands

View 2 Replies View Related

AWE Enable And SQL Server 2005 X64 Bits

Apr 20, 2006

Hello,

I am setting up a new server with Windows Server 2003 x64 bits and SQL Server 2005 x64 bits. Under 32 bits of Windows we normally use /3GB and enable AWE under SQL Server (both SQL 2000 and SQL 2005) and allocate 6 GB of fixed memory to SQL Server.

Does any one know whether I should do the same thing under the x64 bits platform. I read some articles on the web that it is no longer required to use AWE under SQL 2005 x64 bits??

Please advise.

Thanks.

View 6 Replies View Related

Bcp From MSSQL2000 To MSSQL2005

Mar 4, 2008

Hi,
I have a bunch of data from tables on MS SQL 2000 and i want to transfer this data to my new database running on MS SQL 2005. How do i perform bcp on this? thanks :D

View 1 Replies View Related

MSSQL2005 SP1 Setup

Apr 21, 2006

I have an Evaluation version of Enterprise edition MSSQL2005 for development. I tried to install MSSQL2005 sp1 and it is necessary to upgrade to the release version of SQL2005. Currently, I just got the release CD on hand, how can I upgrade the evaluation version to release version except uninstalling the eval and install with the release edition? Thanks in advance

View 1 Replies View Related

MSSQL2005 Loging Problem!

Mar 17, 2008

When i try to login using SQL server Authentication i get a problem:-
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider)

but when i try to login windows authentication it is ok and login with out any problem!!

1)what is the problem???
2)how to avoid this problem??

View 1 Replies View Related

Connect To MSSQL2005 Via ODBC

Dec 12, 2005

Installed SQL2005, connect via (the new) SQL Nativ Client ODBC Vers. 2005.90.1399.00 works, just as (the old) SQL Server ODBC-Driver 2000.85.1117.00. Works fine.

View 7 Replies View Related

Problem Running SSIS Package On 64 Bits Server.

Mar 6, 2008



Hi,

I developed an SSIS package on my computer (32bits).
The package basically get data from excel file and save it to a sql database.
I use an OLE DB connection to the excel file:
Provider=Microsoft.ACE.OLEDB.12.0;Extended Properties=Excel 12.0;

other info: Run64bitRuntime : false

It works fine on my local computer.
I use the DeploymentManifest to deploy the package on the server. (all validations are ok).

But when I run a job which run the package i get this:
with job step : SQL Server integration Services Package:

Executed as user: LU1xp_cmdshell. ...on 9.00.3042.00 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:29:04 AM Progress: 2008-03-06 10:30:20.22 Source: Data Flow Task
Validating: 0% complete End Progress Progress: 2008-03-06 10:30:20.26 Source: Data Flow Task Validating: 3% complete End Progress Progress: 2008-03-06 10:30:20.29 Source: Data Flow Task Validating: 7% complete End Progress Progress: 2008-03-06 10:30:20.32 Source: Data Flow Task Validating: 10% complete End Progress Progress: 2008-03-06 10:30:20.35 Source: Data Flow Task Validating: 14% complete End Progress Progress: 2008-03-06 10:30:20.35 Source: Data Flow Task Validating: 17% complete End Progress Progress: 2008-03-06 10:30:20.35 Source: Data Flow Task Validating: 21% complete End Progress Progress: 2008-03-06 10:30:20.35 Source: Data Flow Task Validating: 25% comple... The package execution fa... The step failed



With job step cmd system:


Executed as user: LU1xp_cmdshell. Microsoft (R) SQL Server Execute Package Utility Version 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 10:32:37 AM Could not load package "******" because of error 0xC0010014.
Description: One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors. Source: Started: 10:32:37 AM Finished: 10:34:08 AM Elapsed: 91.141 seconds. Process Exit Code 5. The step failed.



No more detail about the error.


There is something strange:
When I execute the package via DTEXECUI on my local computer and i speciify the sql server where i deploied the package. It works.
The same on the server doesn't work.

I don't get it.

View 4 Replies View Related

Installation Of SQL Server 2005 + RS Fails On A Vista 64 Bits

Feb 27, 2007

Hello,

I'm trying to install a version of SQL server 2005 with reporting services on a vista 64 bits.

I've a licence for SQL server 2005 standard edition in French, my vista is in French, and I'm using visual studio standard edition in English to develop. I would like to develop reports using SQL server to include these reports in my applications developped with Visual Studio.

Wich version of SQL server should I install ? I've tryed to install SQL server express 2005 with advanced feature SP2 (english version) and then later the standard edition (French version) (each time uninstalling all SQL server components between tries), but I got problems with reporting services each time.

I got first a warming saying than reporting services is 32 bits and IIS is 64 bits, I so allowed IIS to run 32 bits ASP .Net, but after that, I now get a problem of .Net registration in IIS as warming message on the line concerning Reporting services during the install of SQL Server, and it doesn't even offer to install RS on the next window.

I reinstalled the DotnetFX64 to be sure, but still get the same message. If I look in the IIS the application pools are looking me to be normal, with the ASPNET 32 bit code allowed.

View 11 Replies View Related

Problem With Asp Page And ODBC On Windows 2003 SR 64 Bits

Sep 8, 2006

I have an Application developed on ASP, I got a few new servers 64bits, I installed microsoft WIN 2003 SR.
When I get in into the web site I receive this errors:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/ConnectToDatabase.asp, line 17

I made some obvios checks, I checked that the ODBC really exists and we move the IIS 6.0 to run in 32bits mode as I found in some page.



Thanks you.





Ahmed

View 3 Replies View Related

SQL 2005 Expreess Edition On Server 2008 64-bits

May 2, 2008

Hi,


Does anybody know if the SQL 2005 express edition works on Windows Server 2008 64-bits?

Many Thanks.

View 1 Replies View Related

Problems Moving MSSQL2005 DB To Different Server.

May 9, 2006

Hi all,
 
Apologies if this is something very easy that i've overlooked but I've never used 2005 and cant seem to find my answer anywhere else.
Ok, Im trying to move my DB from one server to another.  Ive got the bak and sql files from the old database.  I've installed MS SQL server Management Studio and connected to the new database ok.
I then select Taks>Restore>Database>From device>Add File  And I get the error:
Cannot access the specified path or file on server, verify that you have privelidges or the path exists:
c:program filesmicrosoft sql servermssql.1mssqlackup
Ive tried creating the folders but to no avail.  Have I forgotten to set something up?
thanks in advance!
Tom

View 7 Replies View Related

GUID Pros And Cons (was: Question Mssql2005)

Aug 17, 2006

I was wanting to know. I am making a site that might be come big. And me and this dude are considering pickering abotu GUID. I don't want to use them but he does. And I was wondering what should we do? I know nothing about guids

View 1 Replies View Related

Assign Confined System Memory To Mssql2005

Jun 15, 2007

Is there an possibility to assign confined system memory to mssql2005 ? Because some other programes needs system memory too.

View 2 Replies View Related

How Can I Install DTS Packages From The Command Line To MSSQL2005

Dec 12, 2007

Hi there

I've just finished writing a script to install our SSIS packages using dtUtil.exe

We also have a whole bunch of legacy dts packages that we maintain. At the moment we rely on these being manually installed - I'm looking to automate this effort (I'm holding back a rant about 6hr production deployments due to people not being able to follow simple instructions)

Didn't find too much out there on this.. unless I'm missing something obvious, it wouldn't be the first time.

Anyone else out there have a solution to this?

thanks

View 8 Replies View Related

How Can Remove The User From A Database In MSSQL2005 Server

Nov 20, 2007

Hi all,

I am new to SQL 2005 and I am trying to drop a user from a database called TESTDB. When I try to delete the user I get the following error message:

User,group or roll 'test' already exists in the database (Microsoft SQL Server,Error :15023)

How can I remove the user from the database in MSSQL2005 server



Please help me

Thank you,

Chamith

View 3 Replies View Related

MSSQL2005+JDBC Username And Password Connection Problem

May 10, 2008

Hello. I have recently installed MS SQL SERVER 2005 and when I was installing it, it asked me for the username and password, and there I had 2 options: either write my own, either select "Use Windows Authentification". I selected the "Windows Authenthification" ( I guess that means that it uses my username and password from Windows ).

Now, Im trying to connect to the Server using Java and JDBC, but I have a problem: I have to specify the username and the password of the connection! My windows' only account is "Vlad" and I have no password. I tried these options, but it didn't work. I also tried with empty string "", and with "sa", "sa" but it didn't work either. I get an error saying that "Login failed for user 'Vlad'. The user is not associated with a trusted SQL Server Connection."

Any ideea of what the username/passwords are or how to get them?.

Thank you for your time.

View 4 Replies View Related

MSSQL2005 Express SP2 On Vista Professional Does Not Support Extended SP?

Sep 18, 2007



Can you explain please why Extended SP does not work under Vista ?


Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.0 (Build 6000: )


UAC turned off. MSQSL runs under Administrator account.

Any call of user esp - and SQL server goes to loop.
If I call system esp - all works fine.

If I try to read properties of ESP from Management Studio - I have the same effect - SQL server is in loop.

select object_id('dbo.xp_mylog')
-- works.

EXEC('sp_helpextendedproc ''xp_mylog''')
xp_mylog c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnLogEsp.dll

exec master..xp_mylog
die forever



Konstantin

View 6 Replies View Related

Connect To MSSQL2005 Using ASP2 And Display Query Result

Nov 6, 2007

Question: I have searched here and on Microsofts site already but it seems that all solutions require already either some ASP2 knowledge or MSSQL knowledge .. I am quite new in both but need to realise this for a project.

I have installed a MSSQL 2005 server running MSSQL2005 Standard in mixed authentication mode. Services running using a domain account created for this purpose.
I have then created a simple database called test with a table called testtable

All I need to achieve now is a simple ASP2 page, which is located on the DC IIS, which connects to the SQL server (in same domain but different server) using WINDOWS authentication and returns the result of

SELECT * FROM TESTTABLE

I try now for a couple of days so I hope someone could help me with this .. I really need a step by step guide what I need to do on the SQL server side (so a specific user can connect to this particular database) and on the IIS side ..

I know it is always painful to help someone with little knowledge but I am getting desperate.

Thanks a lot guys

View 1 Replies View Related

Enable/disable Extende Stored Procedure In MSSQL2005

Sep 20, 2007



Hi,

Anybody now how to this programmaticly ? in registry or TSQL statement ?

View 3 Replies View Related

MSsQL2005; OPENROWSET, BLOB/IMAGE And STORED PROCEDURE Problems

Oct 7, 2006

All,

I work with Microsoft SQL Server 2005 on windows XP professional.
I'd like to create stored procdure to add image to my database (jpg file).
I managed to do it using VARCHAR variable in stored procedure
and then using EXEC, but it don't work directly.

My Table definiton:
CREATE TABLE [dbo].[Users](
[UserID] [int] IDENTITY(1,1) NOT NULL,
[Login] [char](10),
[Password] [char](20),
[Avatar] [image] NULL,
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED
(
[UserID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

My working solution using stored procedure:
ALTER PROCEDURE [dbo].[AddUser]
@Login AS VARCHAR(255),
@Password AS VARCHAR(255),
@AvatarFileLocation AS VARCHAR(255),
@UserId AS INT OUTPUT
AS
BEGIN
SET @Query = 'INSERT INTO USERS ' + CHAR(13)
+ 'SELECT '''+ @Login + ''' AS Login, ' + CHAR(13)
+ '''' + @Password + ''' AS Password,' + CHAR(13)
+ '(SELECT * FROM OPENROWSET(BULK ''' + @AvatarFileLocation + ''', SINGLE_BLOB) AS OBRAZEK)'
EXECUTE (@Query)
SET @UserID = @@IDENTITY
END

I'd like to use statement in the stored procdure:
ALTER PROCEDURE [dbo].[AddUser]
@Login AS VARCHAR(255),
@Password AS VARCHAR(255),
@AvatarFileLocation AS VARCHAR(255),
@UserId AS INT OUTPUT
AS
BEGIN
DECLARE
@Query AS VARCHAR(MAX)

SET @AvatarFileLocation = 'C:hitman1.jpg'
INSERT INTO USERS
SELECT @Login AS Login,
@Password AS Password,
(SELECT * FROM OPENROWSET(BULK @AvatarFileLocation, SINGLE_BLOB) AS OBRAZEK)


SET @UserID = @@IDENTITY

END


It generates error:
Incorrect syntax near '@AvatarFileLocation'.

My question is:
Why it does not work and how to write the stored procedure code to run this code without errors.

Thanks for any reply

View 7 Replies View Related

MDAC 2.6

Feb 25, 2002

We are in the process to upgrading from SQL 7.0 SP1 on a NT 4 EE sp6a active/passive cluster to a SQL 2K SP2 on the same NT 4 EE sp6a active/passive (single instance I think it is called now) cluster.

My question now is about MDAC.

Do I need to upgrade all my clients (W98 SE) that actually have MDAC 2.5 installed to the 2.6 version of the product?

Is there any MS articles that clearly explain this argument?

Thank you in advance.
Best Regards.
Franco

View 1 Replies View Related

MDAC

Apr 6, 2001

Ive got a question on MDAC and SQL 2000.

We have a SQL Server 7.0 running on NT 4.0 with MDAC 2.1 installed.

We also have a SQL Server 2000 running on Windows 2000 with MDAC 2.6 installed, as well as other instances of 7.0 and 2000.

I am trying to setup Push replication from the box with SQL 7.0 and MDAC 2.1 installed to a 2000 server with MDAC 2.6.

A SQL 7 to 2000 push works if an instance of 7 and 2000 are installed on the same machine. I can push to any remote machine, except for the one server with MDAC 2.1 installed.

Could MDAC be my problem?

Thanks,
Kyle

View 1 Replies View Related

Old MDAC Changes, 2.1 - 2.5

Jun 8, 2007

We have a large project that is importing msado21.tlb. We want to import least msado25.tlb to access the ADODB::_Stream object, but are unsure what exactly this entails. I've noticed no problems testing that change, but I cannot find any changelog for the MDAC upgrade. Is anyone aware of, or can point me to, a list of changes (fixes, modifications, caveats, etc) between MDAC 2.1 and MDAC 2.5? The binary msado file is always much newer, of course, but we want to link with the older type libraries to maintain maximum compatibility.



Any help is appreciated, I'm at a dead end!

View 1 Replies View Related

MDAC Version

Aug 14, 2002

How to find out what version of MDAC is running on the server?

View 1 Replies View Related







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