|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exception trying to import data from Excel .I am running SQL Management Studio and was trying to import excel data into a table on my local 2005 database. When I choose the import task then choose Excel as the data source I get this lovely message: TITLE: SQL Server Import and Export Wizard ------------------------------ An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. ------------------------------ ADDITIONAL INFORMATION: Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ The connection type "EXCEL" specified for connection manager "{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({06C927B9-F2F2-429B-B488-591883AE4655}) ------------------------------ The connection type "EXCEL" specified for connection manager "{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({06C927B9-F2F2-429B-B488-591883AE4655}) I have searched the net (google and groups) and have come up with nothing. Any ideas would be greatly appreciated. -- Rich Hello Rich,
It seems there is some issues in SSIS related components are not registered properly. You may want to try the following: Bring up a command prompt and -- go to C:\Program Files\Microsoft SQL Server\90\DTS\Binn -- type below to unregister: regsvr32.exe -u dtsconn.dll --Then type below to register: regsvr32.exe dtsconn.dll If the issue persists, please ensure the Users (machinename\Users) have Full Control on the HKEY_CLASSES_ROOT\CLSID\. In fact, you should go to PERMISSION-->ADVANCE Ensure machinename\Users have full control permission. Best Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ===================================================== This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- Show quote >Thread-Topic: Exception trying to import data from Excel . >thread-index: AcY9aoUve4FjMD2oRuCRoGREQJdwgw== >X-WBNR-Posting-Host: 143.166.226.16 >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >Subject: Exception trying to import data from Excel . >Date: Wed, 1 Mar 2006 11:58:33 -0800 >Lines: 39 >Message-ID: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> >MIME-Version: 1.0 >Content-Type: text/plain; > charset="Utf-8" >Content-Transfer-Encoding: 7bit >X-Newsreader: Microsoft CDO for Windows 2000 >Content-Class: urn:content-classes:message >Importance: normal >Priority: normal >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >Newsgroups: microsoft.public.sqlserver.tools >Path: TK2MSFTNGXA03.phx.gbl >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29869 >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >X-Tomcat-NG: microsoft.public.sqlserver.tools > >Hello, > >I am running SQL Management Studio and was trying to import excel data into >a table on my local 2005 database. When I choose the import task then choose >Excel as the data source I get this lovely message: > >TITLE: SQL Server Import and Export Wizard >------------------------------ > >An error occurred which the SQL Server Integration Services Wizard was not >prepared to handle. > >------------------------------ >ADDITIONAL INFORMATION: > >Exception has been thrown by the target of an invocation. (mscorlib) > >------------------------------ > >The connection type "EXCEL" specified for connection manager >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >connection manager type. This error is returned when an attempt is made to >create a connection manager for an unknown connection type. Check the >spelling in the connection type name. > ({06C927B9-F2F2-429B-B488-591883AE4655}) > >------------------------------ > >The connection type "EXCEL" specified for connection manager >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >connection manager type. This error is returned when an attempt is made to >create a connection manager for an unknown connection type. Check the >spelling in the connection type name. > ({06C927B9-F2F2-429B-B488-591883AE4655}) > >I have searched the net (google and groups) and have come up with nothing. >Any ideas would be greatly appreciated. >-- >Rich > Peter,
Thanks for the quick response. I tried what you said (unregister and re-register) and it yeilded no results. I then applied the registry permisison (while SQL Management studio was open and the error was on the screen) to the CLSID folder (giving Users full control). I then tried the operation again and got a message saying something to the effect of Server Name Unknown (sorry I didnt think to write it down). So I closed the SQL Management studio and re-opened it. When I tried again, I got a similar message to the first time I tried but it had different CLSID's. I have attached the message below. One other thing to note, I noticed that I also do not have the drivers to be able to read in such things as flat files. On a co-workers computer it appears between the first .net dirvers and the media catalog drivers. I am not sure if te two are related but I thought I would bring it up. Lastly before, you replied today, I uninstalled SQL Server and the tools and then re-installed. Still nothing. Message follows: TITLE: SQL Server Import and Export Wizard ------------------------------ An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. ------------------------------ ADDITIONAL INFORMATION: Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ The connection type "EXCEL" specified for connection manager "{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) ------------------------------ The connection type "EXCEL" specified for connection manager "{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) ------------------------------ BUTTONS: OK ------------------------------ -- Rich Show quote "Peter Yang [MSFT]" wrote: > Hello Rich, > > It seems there is some issues in SSIS related components are not registered > properly. You may want to try the following: > > Bring up a command prompt and > -- go to C:\Program Files\Microsoft SQL Server\90\DTS\Binn > -- type below to unregister: > regsvr32.exe -u dtsconn.dll > > --Then type below to register: > regsvr32.exe dtsconn.dll > > If the issue persists, please ensure the Users (machinename\Users) have > Full Control on the > HKEY_CLASSES_ROOT\CLSID\. > In fact, you should go to PERMISSION-->ADVANCE > Ensure machinename\Users have full control permission. > > Best Regards, > > Peter Yang > MCSE2000/2003, MCSA, MCDBA > Microsoft Online Partner Support > > When responding to posts, please "Reply to Group" via your newsreader so > that others may learn and benefit from your issue. > > ===================================================== > > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > -------------------- > >Thread-Topic: Exception trying to import data from Excel . > >thread-index: AcY9aoUve4FjMD2oRuCRoGREQJdwgw== > >X-WBNR-Posting-Host: 143.166.226.16 > >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> > >Subject: Exception trying to import data from Excel . > >Date: Wed, 1 Mar 2006 11:58:33 -0800 > >Lines: 39 > >Message-ID: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> > >MIME-Version: 1.0 > >Content-Type: text/plain; > > charset="Utf-8" > >Content-Transfer-Encoding: 7bit > >X-Newsreader: Microsoft CDO for Windows 2000 > >Content-Class: urn:content-classes:message > >Importance: normal > >Priority: normal > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 > >Newsgroups: microsoft.public.sqlserver.tools > >Path: TK2MSFTNGXA03.phx.gbl > >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29869 > >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 > >X-Tomcat-NG: microsoft.public.sqlserver.tools > > > >Hello, > > > >I am running SQL Management Studio and was trying to import excel data > into > >a table on my local 2005 database. When I choose the import task then > choose > >Excel as the data source I get this lovely message: > > > >TITLE: SQL Server Import and Export Wizard > >------------------------------ > > > >An error occurred which the SQL Server Integration Services Wizard was not > >prepared to handle. > > > >------------------------------ > >ADDITIONAL INFORMATION: > > > >Exception has been thrown by the target of an invocation. (mscorlib) > > > >------------------------------ > > > >The connection type "EXCEL" specified for connection manager > >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid > >connection manager type. This error is returned when an attempt is made to > >create a connection manager for an unknown connection type. Check the > >spelling in the connection type name. > > ({06C927B9-F2F2-429B-B488-591883AE4655}) > > > >------------------------------ > > > >The connection type "EXCEL" specified for connection manager > >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid > >connection manager type. This error is returned when an attempt is made to > >create a connection manager for an unknown connection type. Check the > >spelling in the connection type name. > > ({06C927B9-F2F2-429B-B488-591883AE4655}) > > > >I have searched the net (google and groups) and have come up with nothing. > > >Any ideas would be greatly appreciated. > >-- > >Rich > > > > Hello Rich,
It seems that oledb related driver has issues on this server. I suggest that you try the following steps: 1. Reinstall MDAC by right clicking %windir%\inf\mdac.inf->Install to reinstall MDAC. You may prompt to insert Win2003 setup CD. 2. Reinstall Jet SP8 on your server: 239114: How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 http://support.microsoft.com/default.aspx?scid=kb;en-us;239114 Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ===================================================== This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- >Thread-Topic: Exception trying to import data from Excel . <53c43gaPGHA.8***@TK2MSFTNGXA03.phx.gbl>>thread-index: AcY9rUgr1ynjYsVLQnuskA4GOXAWCw== >X-WBNR-Posting-Host: 70.123.136.122 >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >References: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> Show quote >Subject: RE: Exception trying to import data from Excel . >Date: Wed, 1 Mar 2006 19:56:27 -0800 >Lines: 167 >Message-ID: <ADECD008-AC46-4800-B932-121744E9B***@microsoft.com> >MIME-Version: 1.0 >Content-Type: text/plain; > charset="Utf-8" >Content-Transfer-Encoding: 7bit >X-Newsreader: Microsoft CDO for Windows 2000 >Content-Class: urn:content-classes:message >Importance: normal >Priority: normal >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >Newsgroups: microsoft.public.sqlserver.tools >Path: TK2MSFTNGXA03.phx.gbl >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29881 >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >X-Tomcat-NG: microsoft.public.sqlserver.tools > >Peter, > >Thanks for the quick response. I tried what you said (unregister and >re-register) and it yeilded no results. I then applied the registry >permisison (while SQL Management studio was open and the error was on the >screen) to the CLSID folder (giving Users full control). I then tried the >operation again and got a message saying something to the effect of Server >Name Unknown (sorry I didnt think to write it down). So I closed the SQL >Management studio and re-opened it. When I tried again, I got a similar >message to the first time I tried but it had different CLSID's. I have >attached the message below. > >One other thing to note, I noticed that I also do not have the drivers to be >able to read in such things as flat files. On a co-workers computer it >appears between the first .net dirvers and the media catalog drivers. I am >not sure if te two are related but I thought I would bring it up. > >Lastly before, you replied today, I uninstalled SQL Server and the tools and >then re-installed. Still nothing. > >Message follows: > >TITLE: SQL Server Import and Export Wizard >------------------------------ > >An error occurred which the SQL Server Integration Services Wizard was not >prepared to handle. > >------------------------------ >ADDITIONAL INFORMATION: > >Exception has been thrown by the target of an invocation. (mscorlib) > >------------------------------ > >The connection type "EXCEL" specified for connection manager >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid >connection manager type. This error is returned when an attempt is made to >create a connection manager for an unknown connection type. Check the >spelling in the connection type name. > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) > >------------------------------ > >The connection type "EXCEL" specified for connection manager >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid >connection manager type. This error is returned when an attempt is made to >create a connection manager for an unknown connection type. Check the >spelling in the connection type name. > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) > >------------------------------ >BUTTONS: > >OK >------------------------------ > > >-- >Rich > > >"Peter Yang [MSFT]" wrote: > >> Hello Rich, >> >> It seems there is some issues in SSIS related components are not registered >> properly. You may want to try the following: >> >> Bring up a command prompt and >> -- go to C:\Program Files\Microsoft SQL Server\90\DTS\Binn >> -- type below to unregister: >> regsvr32.exe -u dtsconn.dll >> >> --Then type below to register: >> regsvr32.exe dtsconn.dll >> >> If the issue persists, please ensure the Users (machinename\Users) have >> Full Control on the >> HKEY_CLASSES_ROOT\CLSID\. >> In fact, you should go to PERMISSION-->ADVANCE >> Ensure machinename\Users have full control permission. >> >> Best Regards, >> >> Peter Yang >> MCSE2000/2003, MCSA, MCDBA >> Microsoft Online Partner Support >> >> When responding to posts, please "Reply to Group" via your newsreader so >> that others may learn and benefit from your issue. >> >> ===================================================== >> >> >> This posting is provided "AS IS" with no warranties, and confers no rights. >> >> >> -------------------- >> >Thread-Topic: Exception trying to import data from Excel . >> >thread-index: AcY9aoUve4FjMD2oRuCRoGREQJdwgw== >> >X-WBNR-Posting-Host: 143.166.226.16 >> >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >> >Subject: Exception trying to import data from Excel . >> >Date: Wed, 1 Mar 2006 11:58:33 -0800 >> >Lines: 39 >> >Message-ID: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> >> >MIME-Version: 1.0 >> >Content-Type: text/plain; >> > charset="Utf-8" >> >Content-Transfer-Encoding: 7bit >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >Content-Class: urn:content-classes:message >> >Importance: normal >> >Priority: normal >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >> >Newsgroups: microsoft.public.sqlserver.tools >> >Path: TK2MSFTNGXA03.phx.gbl >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29869 >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >> >X-Tomcat-NG: microsoft.public.sqlserver.tools >> > >> >Hello, >> > >> >I am running SQL Management Studio and was trying to import excel data >> into >> >a table on my local 2005 database. When I choose the import task then >> choose >> >Excel as the data source I get this lovely message: >> > >> >TITLE: SQL Server Import and Export Wizard >> >------------------------------ >> > >> >An error occurred which the SQL Server Integration Services Wizard was not >> >prepared to handle. >> > >> >------------------------------ >> >ADDITIONAL INFORMATION: >> > >> >Exception has been thrown by the target of an invocation. (mscorlib) >> > >> >------------------------------ >> > >> >The connection type "EXCEL" specified for connection manager >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >> >connection manager type. This error is returned when an attempt is made to >> >create a connection manager for an unknown connection type. Check the >> >spelling in the connection type name. >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) >> > >> >------------------------------ >> > >> >The connection type "EXCEL" specified for connection manager >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >> >connection manager type. This error is returned when an attempt is made to >> >create a connection manager for an unknown connection type. Check the >> >spelling in the connection type name. >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) >> > >> >I have searched the net (google and groups) and have come up with nothing. >> >> >Any ideas would be greatly appreciated. >> >-- >> >Rich >> > >> >> > Peter,
You are a genius. Thanks a million. I re-installed the MDAC inf and everything started working again. Thank you so much. I have a task where I REALLY needed to be able to import some xls/csv spreadsheets and was not looking forward to having to write the code to do it myself. Thanks again. -- Rich Show quote "Peter Yang [MSFT]" wrote: > Hello Rich, > > It seems that oledb related driver has issues on this server. I suggest > that you try the following steps: > > 1. Reinstall MDAC by right clicking %windir%\inf\mdac.inf->Install to > reinstall MDAC. You may prompt to insert Win2003 setup CD. > > 2. Reinstall Jet SP8 on your server: > > 239114: How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 > http://support.microsoft.com/default.aspx?scid=kb;en-us;239114 > > Regards, > > Peter Yang > MCSE2000/2003, MCSA, MCDBA > Microsoft Online Partner Support > > When responding to posts, please "Reply to Group" via your newsreader so > that others may learn and benefit from your issue. > > ===================================================== > > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > -------------------- > >Thread-Topic: Exception trying to import data from Excel . > >thread-index: AcY9rUgr1ynjYsVLQnuskA4GOXAWCw== > >X-WBNR-Posting-Host: 70.123.136.122 > >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> > >References: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> > <53c43gaPGHA.8***@TK2MSFTNGXA03.phx.gbl> > >Subject: RE: Exception trying to import data from Excel . > >Date: Wed, 1 Mar 2006 19:56:27 -0800 > >Lines: 167 > >Message-ID: <ADECD008-AC46-4800-B932-121744E9B***@microsoft.com> > >MIME-Version: 1.0 > >Content-Type: text/plain; > > charset="Utf-8" > >Content-Transfer-Encoding: 7bit > >X-Newsreader: Microsoft CDO for Windows 2000 > >Content-Class: urn:content-classes:message > >Importance: normal > >Priority: normal > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 > >Newsgroups: microsoft.public.sqlserver.tools > >Path: TK2MSFTNGXA03.phx.gbl > >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29881 > >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 > >X-Tomcat-NG: microsoft.public.sqlserver.tools > > > >Peter, > > > >Thanks for the quick response. I tried what you said (unregister and > >re-register) and it yeilded no results. I then applied the registry > >permisison (while SQL Management studio was open and the error was on the > >screen) to the CLSID folder (giving Users full control). I then tried the > >operation again and got a message saying something to the effect of Server > >Name Unknown (sorry I didnt think to write it down). So I closed the SQL > >Management studio and re-opened it. When I tried again, I got a similar > >message to the first time I tried but it had different CLSID's. I have > >attached the message below. > > > >One other thing to note, I noticed that I also do not have the drivers to > be > >able to read in such things as flat files. On a co-workers computer it > >appears between the first .net dirvers and the media catalog drivers. I > am > >not sure if te two are related but I thought I would bring it up. > > > >Lastly before, you replied today, I uninstalled SQL Server and the tools > and > >then re-installed. Still nothing. > > > >Message follows: > > > >TITLE: SQL Server Import and Export Wizard > >------------------------------ > > > >An error occurred which the SQL Server Integration Services Wizard was not > >prepared to handle. > > > >------------------------------ > >ADDITIONAL INFORMATION: > > > >Exception has been thrown by the target of an invocation. (mscorlib) > > > >------------------------------ > > > >The connection type "EXCEL" specified for connection manager > >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid > >connection manager type. This error is returned when an attempt is made to > >create a connection manager for an unknown connection type. Check the > >spelling in the connection type name. > > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) > > > >------------------------------ > > > >The connection type "EXCEL" specified for connection manager > >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid > >connection manager type. This error is returned when an attempt is made to > >create a connection manager for an unknown connection type. Check the > >spelling in the connection type name. > > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) > > > >------------------------------ > >BUTTONS: > > > >OK > >------------------------------ > > > > > >-- > >Rich > > > > > >"Peter Yang [MSFT]" wrote: > > > >> Hello Rich, > >> > >> It seems there is some issues in SSIS related components are not > registered > >> properly. You may want to try the following: > >> > >> Bring up a command prompt and > >> -- go to C:\Program Files\Microsoft SQL Server\90\DTS\Binn > >> -- type below to unregister: > >> regsvr32.exe -u dtsconn.dll > >> > >> --Then type below to register: > >> regsvr32.exe dtsconn.dll > >> > >> If the issue persists, please ensure the Users (machinename\Users) have > >> Full Control on the > >> HKEY_CLASSES_ROOT\CLSID\. > >> In fact, you should go to PERMISSION-->ADVANCE > >> Ensure machinename\Users have full control permission. > >> > >> Best Regards, > >> > >> Peter Yang > >> MCSE2000/2003, MCSA, MCDBA > >> Microsoft Online Partner Support > >> > >> When responding to posts, please "Reply to Group" via your newsreader so > >> that others may learn and benefit from your issue. > >> > >> ===================================================== > >> > >> > >> This posting is provided "AS IS" with no warranties, and confers no > rights. > >> > >> > >> -------------------- > >> >Thread-Topic: Exception trying to import data from Excel . > >> >thread-index: AcY9aoUve4FjMD2oRuCRoGREQJdwgw== > >> >X-WBNR-Posting-Host: 143.166.226.16 > >> >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> > >> >Subject: Exception trying to import data from Excel . > >> >Date: Wed, 1 Mar 2006 11:58:33 -0800 > >> >Lines: 39 > >> >Message-ID: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> > >> >MIME-Version: 1.0 > >> >Content-Type: text/plain; > >> > charset="Utf-8" > >> >Content-Transfer-Encoding: 7bit > >> >X-Newsreader: Microsoft CDO for Windows 2000 > >> >Content-Class: urn:content-classes:message > >> >Importance: normal > >> >Priority: normal > >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 > >> >Newsgroups: microsoft.public.sqlserver.tools > >> >Path: TK2MSFTNGXA03.phx.gbl > >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29869 > >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 > >> >X-Tomcat-NG: microsoft.public.sqlserver.tools > >> > > >> >Hello, > >> > > >> >I am running SQL Management Studio and was trying to import excel data > >> into > >> >a table on my local 2005 database. When I choose the import task then > >> choose > >> >Excel as the data source I get this lovely message: > >> > > >> >TITLE: SQL Server Import and Export Wizard > >> >------------------------------ > >> > > >> >An error occurred which the SQL Server Integration Services Wizard was > not > >> >prepared to handle. > >> > > >> >------------------------------ > >> >ADDITIONAL INFORMATION: > >> > > >> >Exception has been thrown by the target of an invocation. (mscorlib) > >> > > >> >------------------------------ > >> > > >> >The connection type "EXCEL" specified for connection manager > >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid > >> >connection manager type. This error is returned when an attempt is made > to > >> >create a connection manager for an unknown connection type. Check the > >> >spelling in the connection type name. > >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) > >> > > >> >------------------------------ > >> > > >> >The connection type "EXCEL" specified for connection manager > >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid > >> >connection manager type. This error is returned when an attempt is made > to > >> >create a connection manager for an unknown connection type. Check the > >> >spelling in the connection type name. > >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) > >> > > >> >I have searched the net (google and groups) and have come up with > nothing. > >> > >> >Any ideas would be greatly appreciated. > >> >-- > >> >Rich > >> > > >> > >> > > > > Hello Rich,
Welcome! Great to hear the issue is resolved. :-) Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ===================================================== This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- >Thread-Topic: Exception trying to import data from Excel . <53c43gaPGHA.8***@TK2MSFTNGXA03.phx.gbl> >thread-index: AcY+EDFvaKWB5xrzSHyd9a5fSbx9sA== >X-WBNR-Posting-Host: 143.166.226.17 >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >References: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> <ADECD008-AC46-4800-B932-121744E9B***@microsoft.com> <MZFTnFdPGHA.2***@TK2MSFTNGXA03.phx.gbl> Show quote >Subject: RE: Exception trying to import data from Excel . >Date: Thu, 2 Mar 2006 07:44:29 -0800 >Lines: 247 >Message-ID: <FF059899-A260-49CC-85F8-134D3D7F7***@microsoft.com> >MIME-Version: 1.0 >Content-Type: text/plain; > charset="Utf-8" >Content-Transfer-Encoding: 7bit >X-Newsreader: Microsoft CDO for Windows 2000 >Content-Class: urn:content-classes:message >Importance: normal >Priority: normal >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >Newsgroups: microsoft.public.sqlserver.tools >Path: TK2MSFTNGXA03.phx.gbl >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29886 >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >X-Tomcat-NG: microsoft.public.sqlserver.tools > >Peter, > >You are a genius. Thanks a million. I re-installed the MDAC inf and >everything started working again. Thank you so much. I have a task where I >REALLY needed to be able to import some xls/csv spreadsheets and was not >looking forward to having to write the code to do it myself. > >Thanks again. >-- >Rich > > >"Peter Yang [MSFT]" wrote: > >> Hello Rich, >> >> It seems that oledb related driver has issues on this server. I suggest >> that you try the following steps: >> >> 1. Reinstall MDAC by right clicking %windir%\inf\mdac.inf->Install to >> reinstall MDAC. You may prompt to insert Win2003 setup CD. >> >> 2. Reinstall Jet SP8 on your server: >> >> 239114: How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 >> http://support.microsoft.com/default.aspx?scid=kb;en-us;239114 >> >> Regards, >> >> Peter Yang >> MCSE2000/2003, MCSA, MCDBA >> Microsoft Online Partner Support >> >> When responding to posts, please "Reply to Group" via your newsreader so >> that others may learn and benefit from your issue. >> >> ===================================================== >> >> >> This posting is provided "AS IS" with no warranties, and confers no rights. >> >> >> -------------------- >> >Thread-Topic: Exception trying to import data from Excel . >> >thread-index: AcY9rUgr1ynjYsVLQnuskA4GOXAWCw== >> >X-WBNR-Posting-Host: 70.123.136.122 >> >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >> >References: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> >> <53c43gaPGHA.8***@TK2MSFTNGXA03.phx.gbl> >> >Subject: RE: Exception trying to import data from Excel . >> >Date: Wed, 1 Mar 2006 19:56:27 -0800 >> >Lines: 167 >> >Message-ID: <ADECD008-AC46-4800-B932-121744E9B***@microsoft.com> >> >MIME-Version: 1.0 >> >Content-Type: text/plain; >> > charset="Utf-8" >> >Content-Transfer-Encoding: 7bit >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >Content-Class: urn:content-classes:message >> >Importance: normal >> >Priority: normal >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >> >Newsgroups: microsoft.public.sqlserver.tools >> >Path: TK2MSFTNGXA03.phx.gbl >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29881 >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >> >X-Tomcat-NG: microsoft.public.sqlserver.tools >> > >> >Peter, >> > >> >Thanks for the quick response. I tried what you said (unregister and >> >re-register) and it yeilded no results. I then applied the registry >> >permisison (while SQL Management studio was open and the error was on the >> >screen) to the CLSID folder (giving Users full control). I then tried the >> >operation again and got a message saying something to the effect of Server >> >Name Unknown (sorry I didnt think to write it down). So I closed the SQL >> >Management studio and re-opened it. When I tried again, I got a similar >> >message to the first time I tried but it had different CLSID's. I have >> >attached the message below. >> > >> >One other thing to note, I noticed that I also do not have the drivers to >> be >> >able to read in such things as flat files. On a co-workers computer it >> >appears between the first .net dirvers and the media catalog drivers. I >> am >> >not sure if te two are related but I thought I would bring it up. >> > >> >Lastly before, you replied today, I uninstalled SQL Server and the tools >> and >> >then re-installed. Still nothing. >> > >> >Message follows: >> > >> >TITLE: SQL Server Import and Export Wizard >> >------------------------------ >> > >> >An error occurred which the SQL Server Integration Services Wizard was not >> >prepared to handle. >> > >> >------------------------------ >> >ADDITIONAL INFORMATION: >> > >> >Exception has been thrown by the target of an invocation. (mscorlib) >> > >> >------------------------------ >> > >> >The connection type "EXCEL" specified for connection manager >> >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid >> >connection manager type. This error is returned when an attempt is made to >> >create a connection manager for an unknown connection type. Check the >> >spelling in the connection type name. >> > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) >> > >> >------------------------------ >> > >> >The connection type "EXCEL" specified for connection manager >> >"{586BE7D4-F968-4585-9DE7-DAEDAD067CF3}" is not recognized as a valid >> >connection manager type. This error is returned when an attempt is made to >> >create a connection manager for an unknown connection type. Check the >> >spelling in the connection type name. >> > ({38BF22B4-3036-4BAB-9177-4820DA4EE187}) >> > >> >------------------------------ >> >BUTTONS: >> > >> >OK >> >------------------------------ >> > >> > >> >-- >> >Rich >> > >> > >> >"Peter Yang [MSFT]" wrote: >> > >> >> Hello Rich, >> >> >> >> It seems there is some issues in SSIS related components are not >> registered >> >> properly. You may want to try the following: >> >> >> >> Bring up a command prompt and >> >> -- go to C:\Program Files\Microsoft SQL Server\90\DTS\Binn >> >> -- type below to unregister: >> >> regsvr32.exe -u dtsconn.dll >> >> >> >> --Then type below to register: >> >> regsvr32.exe dtsconn.dll >> >> >> >> If the issue persists, please ensure the Users (machinename\Users) have >> >> Full Control on the >> >> HKEY_CLASSES_ROOT\CLSID\. >> >> In fact, you should go to PERMISSION-->ADVANCE >> >> Ensure machinename\Users have full control permission. >> >> >> >> Best Regards, >> >> >> >> Peter Yang >> >> MCSE2000/2003, MCSA, MCDBA >> >> Microsoft Online Partner Support >> >> >> >> When responding to posts, please "Reply to Group" via your newsreader so >> >> that others may learn and benefit from your issue. >> >> >> >> ===================================================== >> >> >> >> >> >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> >> >> >> >> -------------------- >> >> >Thread-Topic: Exception trying to import data from Excel . >> >> >thread-index: AcY9aoUve4FjMD2oRuCRoGREQJdwgw== >> >> >X-WBNR-Posting-Host: 143.166.226.16 >> >> >From: "=?Utf-8?B?UmljaCBEZW5pcw==?=" <cojones@community.nospam> >> >> >Subject: Exception trying to import data from Excel . >> >> >Date: Wed, 1 Mar 2006 11:58:33 -0800 >> >> >Lines: 39 >> >> >Message-ID: <61A56959-4BBB-4267-BDF9-D2CACA3AF***@microsoft.com> >> >> >MIME-Version: 1.0 >> >> >Content-Type: text/plain; >> >> > charset="Utf-8" >> >> >Content-Transfer-Encoding: 7bit >> >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >> >Content-Class: urn:content-classes:message >> >> >Importance: normal >> >> >Priority: normal >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 >> >> >Newsgroups: microsoft.public.sqlserver.tools >> >> >Path: TK2MSFTNGXA03.phx.gbl >> >> >Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.sqlserver.tools:29869 >> >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250 >> >> >X-Tomcat-NG: microsoft.public.sqlserver.tools >> >> > >> >> >Hello, >> >> > >> >> >I am running SQL Management Studio and was trying to import excel data >> >> into >> >> >a table on my local 2005 database. When I choose the import task then >> >> choose >> >> >Excel as the data source I get this lovely message: >> >> > >> >> >TITLE: SQL Server Import and Export Wizard >> >> >------------------------------ >> >> > >> >> >An error occurred which the SQL Server Integration Services Wizard was >> not >> >> >prepared to handle. >> >> > >> >> >------------------------------ >> >> >ADDITIONAL INFORMATION: >> >> > >> >> >Exception has been thrown by the target of an invocation. (mscorlib) >> >> > >> >> >------------------------------ >> >> > >> >> >The connection type "EXCEL" specified for connection manager >> >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >> >> >connection manager type. This error is returned when an attempt is made >> to >> >> >create a connection manager for an unknown connection type. Check the >> >> >spelling in the connection type name. >> >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) >> >> > >> >> >------------------------------ >> >> > >> >> >The connection type "EXCEL" specified for connection manager >> >> >"{2D54D28C-42CF-4614-ADB6-371E9E4F927D}" is not recognized as a valid >> >> >connection manager type. This error is returned when an attempt is made >> to >> >> >create a connection manager for an unknown connection type. Check the >> >> >spelling in the connection type name. >> >> > ({06C927B9-F2F2-429B-B488-591883AE4655}) >> >> > >> >> >I have searched the net (google and groups) and have come up with >> nothing. >> >> >> >> >Any ideas would be greatly appreciated. >> >> >-- >> >> >Rich >> >> > >> >> >> >> >> > >> >> > Hello,
An attempt to install Microsoft SQL Server 2005 this week has not gone well. This situation bears some resemblance to the issue reported in the base note. Sure hope you can provide some pointers to help clean up this install. ^^^^^^^^^^^^^^^^^^^^^^ *************************** Microsoft SQL Server Management Studio 9.00.1399.00 Microsoft Analysis Services Client Tools 2005.090.1399.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 OS is XP that has been updated with SP2 ^^^^^^^^^^^^^^^^^^^^^^ *************************** The message reported in the base note pops up when trying to import an Excel spreadsheet TITLE: SQL Server Import and Export Wizard ------------------------------ An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. ------------------------------ ADDITIONAL INFORMATION: Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ The connection type "EXCEL" specified for connection manager "{DEF6D1FB-B267-4876-BD71-21EED20BFCC0}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({35A5EB2F-5F49-4C69-908C-910B76CB3B8D}) ------------------------------ The connection type "EXCEL" specified for connection manager "{DEF6D1FB-B267-4876-BD71-21EED20BFCC0}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({35A5EB2F-5F49-4C69-908C-910B76CB3B8D}) ------------------------------ BUTTONS: OK ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^ *************************** The following was reported when I clicked on show technical details. An error occurred which the SQL Server Integration Services Wizard was not prepared to handle. (SQL Server Import and Export Wizard) =================================== Exception has been thrown by the target of an invocation. (mscorlib) ------------------------------ Program Location: at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Microsoft.SqlServer.Dts.DtsWizard.Step1.DataSourceComboBox_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) =================================== The connection type "EXCEL" specified for connection manager "{64F34933-F4E6-464B-9F14-B271C7A92065}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({7D105397-41F6-4A2F-ADF2-87CF59C3FB94}) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Runtime.Connections.Add(String connectionType) at Microsoft.SqlServer.Dts.DtsWizard.DTSWizard.GetOrCreateConnectionManager(String name, String connectionType, WizardInputs wizardInputs) at Microsoft.SqlServer.Dts.DtsWizard.ExcelForm..ctor(DataSourceInfo info, Boolean bDest, WizardInputs inputs, WizardPage page) =================================== The connection type "EXCEL" specified for connection manager "{64F34933-F4E6-464B-9F14-B271C7A92065}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. ({7D105397-41F6-4A2F-ADF2-87CF59C3FB94}) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections90.Add(String bstrConnectionType) at Microsoft.SqlServer.Dts.Runtime.Connections.Add(String connectionType) ^^^^^^^^^^^^^^^^^^^^^^ *************************** I was not able to re-register dtsconn. “cmd> regsvr32.exe –u dtsconn.dll” returns the RegSvr32 popup, DLLUnregisterServer in dtsconn.dll failed. Return code was: 0x80070005 “cmd> regsvr32.exe dtsconn.dll” returns the RegSvr32 popup, DLLRegisterServer in dtsconn.dll failed. Return code was: 0x80070005 ^^^^^^^^^^^^^^^^^^^^^^ *************************** I was not sure where I was supposed to confirm the registry permissions. A registry search for {DEF6D1FB-B267-4876-BD71-21EED20BFCC0} and {35A5EB2F-5F49-4C69-908C-910B76CB3B8D} did not find any entries. I re-installed MDAC. I confirmed the version of Msjet40.dll but did NOT re-install Jet SP8. The Microsoft article indicated that 4.0.8618.0 is a newer version that was expected due to the XP SP2 MS04-014 combination. I also noticed that the import option for flat files is missing from the drop down list where Excel was selected. Backing up a little further, the installation did not proceed cleanly. The following failure was reported during installation. ^^^^^^^^^^^^^^^^^^^^^^ *************************** TITLE: Microsoft SQL Server 2005 Setup ------------------------------ Failed to install and configure assemblies C:\Program Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. Error: -2146233087 Error message: Unknown error 0x80131501 Error description: You must have administrative credentials to perform this task. Contact your system administrator for assistance. For help, click: http://tinyurl.com/zekv9 ------------------------------ BUTTONS: &Abort &Retry &Ignore ------------------------------ ^^^^^^^^^^^^^^^^^^^^^^ *************************** The details from the link for this failure are as follows. ^^^^^^^^^^^^^^^^^^^^^^ *************************** Details Product: SQL Server Event ID: 29549 Source: setup.rll Version: 9.00.1291.00 Component: SQL Server Setup Message: Failed to install and configure assemblies [2] in the COM+ catalog. Error: [3]{Error message: [4]}{Error description: [5]} Explanation Microsoft SQL Server Setup could not verify that Microsoft Distributed Transaction Coordinator (MS DTC) is running. User Action In the Services snap-in, verify that Distributed Transaction Coordinator is started as a Network Service account. Use the Services snap-in to configure MS DTC to run as a Network Service account, and start MS DTC. Click Retry. -------------------------------------------------------------------------------- Currently there are no Microsoft Knowledge Base articles available for this specific error or event message. For information about other support options you can use to find answers online, see http://support.microsoft.com/default.aspx. ^^^^^^^^^^^^^^^^^^^^^^ *************************** I confirmed that DTC was running and tried the install several more times with the same result. I elected to ignore the error and the install then completed “successfully”. I do not have domain administrator privilege but my account does have administrator privileges on my machine. I am currently using Microsoft Access but find it awkward to manage around the 2GB mdb limit. Thanks very much. Cheers &c. -Brian -- SQL Server Newbie ------------------------------------------------------------------------ SQL Server Newbie's Profile: http://www.dbtalk.net/m167 View this thread: http://www.dbtalk.net/t288815 Hello,
WooHoo. Importing from Excel now functions. If you are in the same situation, hopefully the following link will be of value to you. http://tinyurl.com/h49co Steps that I took. 1- created a plain user account and granted local logon priv (gpedit.msc) 2 - modified and compiled (csc) the c# program to include a 20 second delay before exiting (Thread.Sleep(20000);) 3 - copied program to test account folder, opened a cmd window and executed test program as a low priv user using "runas" 4 - modified the three reported macromedia registry entries to give read access to "users" 5 - rebooted and installed SQL Server 2005 (still had to ignore that one message during install) 6 - can now import csv and xls files Cheers &c. -Brian -- SQL Server Newbie Brian ------------------------------------------------------------------------ SQL Server Newbie's Profile: http://www.dbtalk.net/m167 View this thread: http://www.dbtalk.net/t288815 |
|||||||||||||||||||||||