HELP: Renamed Machine Now SQL SRVR 7 Won't Recognize

Sep 19, 2000

Our network people changed our machine name one character without our permission, they say their naming standards can't handle an "underscore" we put in our name...now the SQL Server won't run because it doesn't recognize the name of the machine.

Is there a way of bypassing or telling SQL server that we changed the name without having to reload all of our information?

View 2 Replies


ADVERTISEMENT

Report Manager On 64 Bit Machine Does Not Recognize 32 Bit Data Sources

Aug 22, 2007

I'm a report developer who has created some reportsd against sybase data on another server. I am developing on a 64 bit Server 2003 box using SQL 2005 Reporting services. I hace created 32 bit ODBC data dsns using the supplied utitlity (odbcad32.exe). As I am creating the reports I can pull data using the data sources without a problem, however when I deploy my datasource and report to Report manager and run I get the following:


An error has occurred during report processing.

Cannot create a connection to data source 'Chicago_Reporting'.


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






This has been driving me crazy for 2 days now. Any help would be very much appreciated.

Thanks

































View 2 Replies View Related

SQL SRVR 2008 And Vb6

Dec 3, 2007


Hi
i am new to sql2008 and coming from vb6,sql2000 background. We tried Orcas. we dont want to move our project to dotnet for atleast one year. we want to makie it tune with windows vista also. so kindly tell us which version of adodb can be used with vb6 and sql2008. i am pasting our old code from vb6 here.




Code Block
dim cn as new adodb.connection
cn.open "Provider=SQLOLEDB.1;password=NETECH0507;Persist Security Info=False;User ID=sa;Initial Catalog=" & dbname & ";Data Source=" & gStrSQLServerName






Let me know what are the changes required while connecting with vb6 and sql 2008 express edition
Rgds
Pramod

View 6 Replies View Related

SQL Server Renamed

May 1, 2008

Hi Guys

I have sort of a weird problem; we havea sql server 2000 box which was virtualized using VMWare, the virtual server was then renamed and used as another sql server.

there is a simple .net framework 3.5 console application (running on the same sql server box) that reads and deletes data from that sql server, this console application opens 2 connections simultaneously, for some reason after creating the VM and renaming the server this app didn't work, the problem is that when there was one connection open the second connection command always times out though the command only deletes one record from the DB.



After several trials I found that if I ran this app from another server it works without problems and to get it working on the same box as the sql server I have to use the ip address instead of the server name in the connection string.



I had another problem related to editing the sql agent jobs on the renamed server but I found a solution for this one in KB article.



Any ideas?


View 6 Replies View Related

Installing SQL Srvr On Win98

Sep 24, 2001

Hi!
I have tried installing SQL Server 7.0 on my Win 98 machine. My machine has all the latest service packs and I think it is reasonably up to date. I've tried installing from the disc 3 times and it fails to install:
the Server Network Utility and Service Manager.
As a result, I am unable to register my local machine as a SQL server.
Any ways around this? Quick fixes?
Thanks!
--Michelle

View 4 Replies View Related

Renamed Sql 2005 Server

Mar 3, 2008

Had to migrate to new hardware running Server 2003, sql 2005. Databases, logins, two SSIS(DTS) packages working great. But, System and User maintenance plans failing since name change.

So, recreated them, and (with minor problem to be addressed at another time) the recreations are working fine. But, I can't delete (or modify) the old plans or jobs. Get the following error when physically sitting in front of the server logging in "Exception has been thrown by the target of an invocation(mscorlib). An error has occurred while establishing a connection to the server. When connecting to sql server 2005, this failure may be cause by the fact that under the default settings, sql server does not allow remote connecitons. (provider: tcp provider, error: 0 no such host is know) error 11001

As I said, I've disabled both jobs, but would prefer to delete the plan/jobs. But, it won't let me. Any ideas?

View 2 Replies View Related

SQL 2005: Renamed 'sa' Account

Apr 9, 2008

We have renamed the 'sa' account on a SQL Server 2005 machine. Whenwe runSELECT * FROM sysloginsit appears that 'sa' no longer exists as a valid SQL login. However,when we look at running processes through sp_who, we see that 'sa' isstill being used in various background operations, even when we shutdown and restart the SQL Server. Can someone explain this?Bill E.Hollywood, FL

View 2 Replies View Related

SQL Express Database Gets Renamed

Oct 30, 2007



Hi

I have created a database using the following create database instruction



Create Database SoftwareChange

ON (NAME = 'SoftwareChange',

FILENAME = 'C:DevelopmentSoftwareChangeDatabaseSoftwareChange.mdf',

size = 10mb,

filegrowth = 2mb)

log on (NAME = 'SoftwareChangeLog',

FILENAME = 'C:DevelopmentSoftwareChangeDatabaseSoftwareChangeLog.ldf',

size = 2mb,

filegrowth = 1mb)

go


This shows up fine in Managment Studio, I then connect to the database from VB.net Express and it connects to the database using the following connection string :

Data Source=.SQLEXPRESS;AttachDbFilename=C:DevelopmentSoftwareChangeDatabaseSoftwareChange.mdf;Initial Catalog=C:DevelopmentSoftwareChangeDatabase;Integrated Security=True;Connect Timeout=30;User Instance=False


I don't want it to be a user instance as and without the path in AttachDBfilename it doesn't see the database.

Here's the problem when I go back into Management Studio and click on the SoftwareChange entry under databases it gives me a file not found error then subsequently doesn't let me open it. However another database entry has appeared "C:DevelopmentSoftwareChangeDatabase", this is the path of the database and displays the contents of SoftwareChange. I can detach and re-attach as SoftwareChange but why does VB.net (i assume) change the name of Db in SQL.

Regards
Ian

View 3 Replies View Related

Renamed Pc, Still Old Domain Name Logins

Sep 29, 2007



I recently changed the name of my pc to MYNEWPC ...but in SQL Server 2005 Security/Logins there are a couple of logins pointing to the old name...would i need to add these, change these or do something to make it point to the new pc name?

Here is what I see that needs to be changed from MYOLDPC to MYNEWPC, how do i go about doing this..is this needed?

MYOLDPCSQLServer2005SQLAgentUser$MYOLDPC$MSSQLSERVER

MYOLDPCSQLServer2005MSSQLUser$MYOLDPC$MSSQLSERVER
MYOLDPCSQLServer2005MSFTEUser$MYOLDPC$MSSQLSERVER

View 1 Replies View Related

Sql Srvr 6.5 Only Runs From Command Prompt

Oct 11, 1999

We have a development server that will only run SQL Server from a DOS command prompt. Each time I reboot the server the services don't autostart, and I am unable to start them manually using Service Manager. Does anyone know what I can do to fix this problem?
Thanks

View 1 Replies View Related

LogShipping Cant Make Sec Srvr Operational

Feb 12, 2004

Whenever I am trying to put my secondary server operational as my primary (primary is not available) by running

sp_change_secondary_role

@db_name = 'TX_ACCT',

@final_State = 1,

@access_level = 1,

@terminate = 1



I am repeatedly getting this message



Server: Msg 3021, Level 16, State 1, Procedure sp_change_secondary_role, Line 124

Cannot perform a backup or restore operation within a transaction.

Server: Msg 3013, Level 16, State 1, Procedure sp_change_secondary_role, Line 124

RESTORE DATABASE is terminating abnormally.

Server: Msg 226, Level 16, State 1, Line 1

ALTER DATABASE statement not allowed within multi-statement transaction.



Can you please help? This is urgent

View 6 Replies View Related

Srvr Permissions: Public Gone, Need It Back!

Jun 3, 2008

Hi all,

Hope someone can help: by default, there's an entry for 'public' in server permissions (right-click server in Management Studio > Properties > Permissions), which has 1 selection: 'View All Databases' is set to 'grant'. I wanted to disable this permission, and so unfortunately unchecked the 'grant' tickbox but forgot to tick the 'deny' tickbox. What appears to have happened is the entire 'public' entry has been removed, meaning I can't go back and reselect 'grant' (or 'deny') for 'View All Databases'. I'd really like to get the 'public' role to reappear... Is that possible?

A very big thanks for any help!

View 1 Replies View Related

Non-techie Interface To SQL Srvr 05 DM Functionality For 500,000 Rows?

Jan 15, 2008

Dear all,

We've a denormalised database (SQL Server 05) with around half a million rows, feeding a fairly simple Analysis Services cube. We were hoping to use the Excel 07 DM add-in as a user-friendly interface to lots of people, but as far as I can tell we need to first import the data into an Excel 07 worksheet. I realise 2007 has a 1mn limit, but the rows are wide, downloading GBs is not possible, and I have concerns about Excel performance and reliability at these volumes, especially on a desktop.

Is there any way to use the data mining functionality without having the data in Excel?

If not, what would be the simplest/quickest/cheapest way of providing this functionality (or subsets of it) to people who know Excel but not data mining?

Thanks for any guidance or corrections,
Chris

PS. Would downloading subsets of the data work, along the lines of the article entitled Sampling Nested Tables ( http://www.sqlserverdatamining.com/ssdm/Default.aspx?tabid=102&Id=14 )?

View 8 Replies View Related

Problems Creating Database On SQL Srvr. 2005 Ent. Edtn.

Dec 17, 2006

Posted - 12/17/2006 : 07:23:22



Hi,

I have just started to learn SQL Server 2005, and am currently using the MCTS SQL Server 2005 Self-Paced Training Kit. I am literally at the very start, and already seem to have hit a snag and can't figure it out. From browsing here in the past I recall people here seemed quite clued up, and I was hoping someone might be able to assist.

I am using SQL Server 2005 Ent. Edtn. (trial) on Win XP Pro (SP2). I am basically trying to run a sample script copied from book to create a database and primary, secondary and log files. Whilst I have the theory down, and thought I understood the SQL (have used other DBMSs in the past, MySQL/ACCESS etc.) I am getting an error when trying to run the following code when connected to the default instance on my PC. The code I am trying to run is:


create database Sales

ON

primary

(name = SalesPrimary,

filename = E:Sales_DataSalesPrimary.mdf,

size = 50mb,

MAXSIZE = 200,

filegrowth = 20),

Filegroup SalesFG

( name = SalesData1,

filename = F:Sales_DataSalesData1.ndf,

size = 200mb,

maxsize = 800,

filegrowth = 100),

( name = SalesData2,

Filename = F:Sales_DataSalesData2.ndf,

Size = 400mb,

Maxsize = 1200,

Filegrowth = 300),

Filegroup SalesHistoryFG

( name = SalesHistory1,

filename = F:Sales_DataSalesHistory1.ndf,

size = 100mb,

maxsize = 500,

filegrowth = 50)

LOG ON

(name = Archlog1,

Filename = G:Sales_DataSalesLog.ldf,

size = 300mb,

maxsize = 800,

filegrowth = 100)

I find I get the following error message:

Msg 102, Level 15, State 1, Line 5
Incorrect syntax near 'E'.
Msg 132, Level 15, State 1, Line 16
The label 'F' has already been declared. Label names must be unique within a query batch or stored procedure.
Msg 132, Level 15, State 1, Line 22
The label 'F' has already been declared. Label names must be unique within a query batch or stored procedure.

Anyone have any ideas? Your help is greatly appreciated!

Thanks,

Will

View 8 Replies View Related

Renamed Computer And Connected To Sql Server Without Problem...

Sep 5, 2005

 I have read that if I change "computer name" and then try to startup sql server it will recognize the changes automatically BUT you need to execute sp_dropserver and sp_addserver procedures too in order to set all thing right.But yesterday I tried it on a Personal edition on xp and after reboot sql server came up without any problem and I could connec it without executing sp_dropserver and sp_addserver! Was it a specific situation or no need to those SPs at all?

View 10 Replies View Related

Renamed Database - Unable To Enable The Broker

Apr 16, 2008

Here's the scenario -

We had issues with our production database which had 'broker enabled', I restored an older backup and then renamed the Prod database to ProdOld and the Backup database to Prod. We noticed yesterday that the broker service wasn't working and had the error

'The SQL Server Service Broker for the current database is not enabled, and as a result query notifications are not supported. Please enable the Service Broker for this database if you wish to use notifications.

'
I ran the following script against the database

ALTER DATABASE prod SET ENABLE_BROKER
go
GRANT CREATE PROCEDURE to User

GRANT CREATE QUEUE to User
GRANT CREATE SERVICE to User
GRANT REFERENCES on CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] to User
GRANT VIEW DEFINITION to User


And it came back with a message that the broker was already enabled.
I did a disable/enable just for kicks, but we still get the same error message.
I did a check on the sys.databases table and it shows that the 'is_broker_enabled' field set = 0 (should be one)

Any ideas on what's going on here? Could the rename caused the broker to become out of sync?
It would be great if I could just update the bit field, but I don't believe there is an easy way of updatting the system tables.

Thanks in advance

View 3 Replies View Related

SQL 2012 :: Renamed Failover Nodes For Cluster And Broke It

Apr 17, 2014

I had a cluster running on 3 nodes (windows failover cluster) with server 2012 and SQL server 2012 running in the cluster. Well, I thought I'd just go ahead and rename all 3 of the hosts with new hostnames and it apparently broke the cluster pretty bad. Now when I open failover cluster manager I cannot see anything nor can I connect to the cluster object in AD. I re-named all of the hosts back to their original names but that didn't work.

View 5 Replies View Related

SQL 2012 :: Transactional Replication Publisher Tables Renamed?

Apr 1, 2015

I am using SQL 2012 SE and implementing transactional replication. I need to insert the rows from publisher database tables to new tables, drop the old tables and rename the new tables with the old table names.

For example:

Publisher database tables that are being replicated:

Table1
Table2
Table3

and I am going to create new tables in publisher database

Table1_new
Table2_new
Table3_new

Move data from

Table1--->Table1_new
Table2--->Table2_new
Table3--->Table3_new

Drop constraints from and then tables (does this require articles to be removed from replication?)

Table1
Table2
Table3

Rename

Table1_new to Table1
Table2_new to Table2
Table3_new to Table3

Does this require replication to set up from scratch or add the three articles only to replication? Is there a way this can be done without pausing or reinitializing replication or without removing articles and adding them back?

View 0 Replies View Related

Installaing SQL Srvr 2005 Developer Edition - Problem With Report Server

Dec 30, 2005

The install went smoth with no error messages.  But when I try to open report manager, I am getting the following message:

"The report server is not responding...."

When I try to access the report server, I get:

"The report server has encountered a configuration error.  Access denied to the path c:program filesmicrosoft sql servermssql.3
eporting services
eportserver
sreportserver.config' is denied"

I have two partitions on win xp.  These are C and D.  C is a system drive and this is where sql server 2005 is installed as well.

Any ideas?

 

 

 

View 2 Replies View Related

Could Not Recognize New Keyword In 2005

Jan 4, 2007

JANAKIRAM writes "Hi,

I am using SQL Server 2005 & Windows XP O/s with SP6.

My SQL Server could not recognize the all new SQL Keywords & Methods incorporated into 2005.
It's givng Incorrect Syntax error.

Why so. What am I missing to cinfigure before using them.

Please let me know.

Thanks & Regards
Janakiram"

View 6 Replies View Related

System Won't Recognize Sql Server

Apr 7, 2006

The application (SQL2000 SP4) is running and appears to be functioning OK. The issue is that the SB Server doesn't recognize it, so when I try to add services to SBS, I fails the check. When I try to publish it to the AD, I get error 22039. MSCRM 3.0 is also installed on the same box and is working fine.

View 1 Replies View Related

Can't Get Linq To Recognize That Sproc Has Changed

Dec 21, 2007

I have a GridView that is populated by a stored procedure via linq.   I changed the stored procedure to return an additional column, but I can't get the additional column to show up in the GridView.   The GridView has autogeneratecolumns=true, so if I were using a SqlDataSource the new column would show up automagically.  But now it is not showing up and I cannot reference it. I can't figure out how to make linq recognize that my stored procedure has changed. I have tried deleting the sproc definition from the dbml file, making sure the partial class is removed the .vb file, refreshing the stored procedures list in database explorer, and adding the sproc definition back again (a hassle), but still it insists on defining only the original columns and not the new column.   How do get linq to get back in sync with the database?   

View 1 Replies View Related

Recognize NULL Values As Being Equal...

May 1, 2001

Hi,

I'm using SQL SERVER 7.0.


I'm driving myself crazy on this one. I have 2 tables that look like this:


T1T2
C1C2C3C1C2C3
JOE1OTTAWAJOE1TORONTO
MARC1OTTAWAMARC4OTTAWA
GAVINNULLHALIFAXGAVIN3HALIFAX
DARRINNULLHALIFAXDARRIN3HALIFAX
DENISENULLPITTSBURGHDENISENULLPITTSBURGH
LOUISENULLRUSSELLLOUISE2RUSSELL
ANDREA3STITTSVILLEANDREANULLSTITTSVILLE
MARIO66PITTSBURGHGEORGE6KINCARDINE
LARRY6KINCARDINE
MARIO66PITTSBURGH

What I need to do is get all of the records from T2 that don't match EXACTLY to a record in T1. So I figured a LEFT OUTER JOIN should work:

SELECTT2.*
FROMT2 LEFT OUTER JOIN T1
ONT2.C1 = T1.C1
ANDT2.C2 = T1.C2
ANDT2.C3 = T1.C3
WHERET1.C1 IS NULL

But this statement returns the DENISE record when I do this (which has an EXACT match).
So, my thoughts took me to the NULL values in T1.C2 and T2.C2 for this record and I thought that, perhaps, the NULL values aren't being recognized as being equal (as they are UNKNOWN).
So I started digging around and found SET ANSI_NULLS OFF. I tried it but with no luck. Can you offer any insight on this one? What can I do to have NULL values recognized as being equal?

This is the result set that I would like to have returned in this example:

JOE1TORONTO
MARC4OTTAWA
GAVIN3HALIFAX
DARRIN3HALIFAX
LOUISE2RUSSELL
ANDREANULLSTITTSVILLE
GEORGE6KINCARDINE
LARRY6KINCARDINE


I've included a script to build and populate the tables below.

Any help on this will be greatly appreciated.

Thanks in advance,
Darrin

------------------------------------------------
IF EXISTS(
SELECT*
FROMSYSOBJECTS
WHERENAME = 'T1'
)
DROP TABLE T1
GO

IF EXISTS(
SELECT*
FROMSYSOBJECTS
WHERENAME = 'T2'
)
DROP TABLE T2
GO


CREATE TABLE [dbo].[T1] (
[C1] [varchar] (50) NULL ,
[C2] [varchar] (50) NULL ,
[C3] [varchar] (50) NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[T2] (
[C1] [varchar] (50) NULL ,
[C2] [varchar] (50) NULL ,
[C3] [varchar] (50) NULL
) ON [PRIMARY]
GO


INSERT T1 VALUES('JOE', '1', 'OTTAWA')
INSERT T1 VALUES('MARC', '1', 'OTTAWA')
INSERT T1 VALUES('GAVIN', NULL, 'HALIFAX')
INSERT T1 VALUES('DARRIN', NULL, 'HALIFAX')
INSERT T1 VALUES('DENISE', NULL, 'PITTSBURGH')
INSERT T1 VALUES('LOUISE', NULL, 'RUSSELL')
INSERT T1 VALUES('ANDREA', '3', 'STITTSVILLE')
INSERT T1 VALUES('MARIO', '66', 'PITTSBURGH')
GO


INSERT T2 VALUES('JOE', '1', 'TORONTO')
INSERT T2 VALUES('MARC', '4', 'OTTAWA')
INSERT T2 VALUES('GAVIN', '3', 'HALIFAX')
INSERT T2 VALUES('DARRIN', '3', 'HALIFAX')
INSERT T2 VALUES('DENISE', NULL, 'PITTSBURGH')
INSERT T2 VALUES('LOUISE', '2', 'RUSSELL')
INSERT T2 VALUES('ANDREA', NULL, 'STITTSVILLE')
INSERT T2 VALUES('GEORGE', NULL, 'KINCARDINE')
INSERT T2 VALUES('LARRY', NULL, 'KINCARDINE')
INSERT T2 VALUES('MARIO', '66', 'PITTSBURGH')
GO

View 3 Replies View Related

SQL 2000 Fails To Recognize 2nd Processor

Jul 20, 2005

I have MS SQL 2000 Standard edition licensed in "per device" mode on adual xeon. However the properties->Processor tab on EM only list 1 cpu(CPU 0) and has "use all available processors" selected and the use [#]is greyed out.Anybody else experience this? Is it really using both processors? Or doI have some limited product key? I called MS tech support but they werelike, "um that'll be $295 to open a support instance" <*click*>.Thanks!--~zillaPosted via http://dbforums.com

View 2 Replies View Related

SSIS Does Not Recognize CRLF As The En Of Line

Jul 14, 2006

Hi all,

I'm having a strange behavior here, or maybe I'm doing something wrong, I'm not sure.



Anyway, I have a csv file, the Flat File Connection Manager is configured like this:
Row delimiter: {CR}{LF}
Column delimiter: {;}

For some rows in my file the last two columns are empty and the there is no semicolon for these empty rows but these rows are still ended by a CRLF but SSIS does not consider the CRLF as the end of the row, it consider the first 2 columns of the next row as the last 2 columns of the current row.

Sample:

CSV file:
Col 1;Col 2;Col 3;Col 4;Col 5
AAAA;BBB;CCC;;
AAA1;BBB1;CCC1;;
AAA2;BBB2;CCC2
AAA3;BBB3;CCC3

Imported rows in SSIS:
Col 1 Col 2 Col 3 Col 4 Col 5
AAAA BBB CCC
AAA1 BBB1 CCC1
AAA2 BBB2 CCC2 AAA3 BBB3;CCC3

Any idea ?

Sébastien

View 8 Replies View Related

DTS Doesn't Recognize CRLF In Text File

Sep 26, 2005

I'm using DTS to import a text file (fixed field). In my sample data, I have 21 rows of data.

DTS only brings in 15 or so, because it fails to recognize the CRLF on some of the rows, and just treats it and the subsequent row as part of the previous row.

The text file is being produced via FTP from an IBM Iseries. It imports just fine into Notepad and Excel.

Anyone have any ideas why DTS would have trouble with this ?

Thanks

Greg

View 1 Replies View Related

Ssis Package Hangs On Script Transformation When Running On One Machine Not Developing Machine

May 4, 2007

Help!
I am using Script Transformation to output a new column as image[DT_IMAGE]
field to store serialized object. In the VB script, the sample code as

Row.serializedobject.AddBlobData ( binaryArrayReturnedFromC#dll )

The package always runs fine on my developing machine and will halt on other
machine at AddBlobData after certain number row records were processed. I am
stuck here. Anyone has any suggestion?

What I need is reading data from mutiple tables in one database and writing
into a single table in another datable. In order preserve all the columns
data, I use input column fields to construct a new object and then serialize
it, and store the serialize data into detination db table. (The object and
serialization function is coming from c# dll.)

Dim b As BusinessLicense = New BusinessLicense()
b.ApprovalDate = Row.approvaldate
b.BusinessId = Row.busid
b.BusinessName = Row.busname
b.NaicsCode = Row.naicscode
b.NaicsDescription = Row.naicsdescr
b.OwnerName = Row.ownername
b.Phone = Row.phone
b.Pkey = Row.pkey
b.RenewalDate = Row.renewaldate
b.StartDate = Row.startdate
b.Suite = Row.suite

Row.serializedobject.AddBlobData(Serializer.Serialize(b)) '''----This is blocking line
Row.infoType = BusinessLicense.TYPE



Both machine is xp with sp2. and standard SQL Server 2005 - 9.00.1399.06

Thanks!

View 4 Replies View Related

SQL Server 2008 :: How To Recognize And Start A Job If Another Job Step Is Successful

Jun 1, 2015

I have a maintenance job which has many job steps - checkdb, backup, rebuild index, etc...

I was asked to setup a job which will copy all backup files to a central location.

Now I wrote the script and its working good (part of a new job step)

But, I am now thinking to add some more logic in the job step:-

that is, if the previous job (server maintenance) is successfully completed with the backup job (if completed successfully), then only the copy to location job will start, if the other job step is failed, my copy bkp job will not run.

View 3 Replies View Related

Parent Package Doesn't Recognize Child Settings

Oct 27, 2006

I have two issues:

I have a simple parent that uses an Execute Package Task to call a simple child package. The child package has a Data Flow that I disabled. When running the child package by itself, the data flow task is bypassed. When running the package via the parent the data flow task executes.

Second issue is when you disable the package configurations in the child, the parent doesn't recognize that it's diables and tries to load the configurations.

It's almost like there are some settings in a child that get ignored by the parent??

Anyone else experience this?

thx

View 1 Replies View Related

SQL Server Doesn't Recognize Local F G Drive Problem

May 8, 2008

I have a Windows Internal Database (installed by SharePoint WSS 3.0) and SQL Server Management Studio Express installed on W2K3 Std server. The server has local hard disk drive C, E, F & G. However SQL Server Management Studio Express only recognize C and E drive, for example in the set default database location or in attach database file dialog window only C & E drive are available. Anyone knows why and how to fix the problem?
Thanks

View 1 Replies View Related

SSIS Import Wizard Does Not Recognize The Excel Format

Sep 6, 2007

I have an Excel file(.xls) that I need to import to SQL Server database. I am trying to use the Import wizard. However, when I select the file and click next I get the warning "External table is not in the expected format.(Microsoft JET Database Engine)" . I opened the .xls file using a text editor. It looks like some html document.


<html xmlns="urnchemas-microsoft-comfficeffice"
xmlns:x="urnchemas-microsoft-comffice:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>.................

I also used OPENQUERY to see if it works.


SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',

'Excel 12.0 xml;HDR=Yes;Database=C:myexcelfile.xls', 'SELECT * FROM [Table1$]');


SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',

'Excel 8.0;Database=C:datamyexcelfile.xls', 'SELECT * FROM [Table1$]')

I get the following errors.

OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "External table is not in the expected format.".

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".

Msg 7399, Level 16, State 1, Line 1

The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" reported an error. The provider did not give any information about the error.

Msg 7303, Level 16, State 1, Line 1

Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".

When I open the file and save it to overwrite the existing .xls file it works fine.

Is there a way to import such files using SSIS without having to open and save it?

Thanks in advance!

Tkaram

View 25 Replies View Related

SQL 2005 Enterprise Edition The Image File Setup.exe Is Valid, But Is For A Machine Type Other Than The Current Machine

Nov 28, 2006

Hi All,

I have enterprise version software CD1 and CD2 of SQL server 2005

when i try to run setup.exe..the following error pops -up

The image file Setup.exe is valid, but is for a machine type other than the current machine

MY OS version is windows 2003 32bit Operating system...

I am suspecting the binarie may be of 64bit.. How do we check the binaries are 32 bit and 64 bit software

Thanks for your Help

Mohan



View 4 Replies View Related

Connection Pool Leak In Production Machine (in Other Machine It Runs Well)

Nov 16, 2006

Hi to everyone,
I'm facing a problem that drives me crazy. I've a web application that has the following problem. When I test the application on my developement machine all runs fine, but when I put into production server there is a problem in connection pooling. Look at the following image, the blue line is the number of connection in the pool and the violet line is the number of connection reclaimed. From the image it is clear that connection are returned on the pool only in block, maybe when the garbage collection pass and reclaim the object. The strange thing is that on my developement machine all is good, and also I'm using Enterprise Library and the connection are managed internally.- Thanks to everyone for any help.   

View 2 Replies View Related







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