Showing posts with label attempted. Show all posts
Showing posts with label attempted. Show all posts

Sunday, March 25, 2012

Cannot Query Excel Linked Server

Hello,

I have attempted to set up a linked server to an Excel 2003 workbook, and I get an OLEDB error when I attempt to query against it. Some notes about the workbook;

-It has one worksheet in it named 'Add Revenue Accts'.
-The name of the workbook is 'Revenue_to_All_Accounts.xls'
-Its location is \\cdnbwfin1\data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_All_Accounts

I have the linked server configured as follows;

-Linked Server; REVENUE_TO_ALL_ACCOUNTS
-Provider; Microsoft Jet 4.0 OLE DB Provider
-Data Source; \\cdnbwfin1\data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_All_Accounts\Revenue_to_All_Accounts.xls
-Provider String; Microsoft.Jet.OLEDB.4.0;Data Source=\\Cdnbwfin1\Data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_All_Accounts\Revenue_to_All_Accounts.xls;Persist Security Info=False

When I attempt the following query;
SELECT * FROM OPENQUERY(REVENUE_TO_ALL_ACCOUNTS, 'SELECT * FROM [Add Revenue Accts$]')

The following message appears, and no results are returned;

[OLE/DB provider returned message: Unspecified error]
OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005: ].
Msg 7399, Level 16, State 1, Procedure sp_tables_ex, Line 20
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.

I have Googled this error, but I have not found anything that really points to what the problem might be. What could be the problem?

Thank you for your help!

cdun2

Hi,

how are you connecting to the SQL Server while using this query ? If you are connecting to the server using a SQL Server login, the process will try to impersonate the SQL Server account (that one that runs the service of SQL Server) to acces the network file. If the Service account is not priviledged to access the file nor the network share, the process will fail. Could you describe your used enviuronment for a better understanding if the above description is your problem ?

HTH, Jens K. Suessmeyer.


http://www.sqlserver2005.de

Wednesday, March 7, 2012

Cannot install SQL Server 2005 Express on Virtual PC 7.0

Hi, I received the following error message when I attempted to install SQL Server 2005 Express on Virtual PC 7.0.2 as a component of VWD 2005 as well as standalone application:
Microsoft SQL Server 2005 Setup was unable to install on your computer.
In the 'Microsoft SQL Server 2005 Setup', I received the following information:
EventType : sql90setup P1 : do_sqlscript P2: 0x733f
P3 : sqls__service__start P4 : 0x42b P5 : sqlsetuplib_service.cpp@.301
P6 : sqlca.dll@.2005.90.1399.0 P7 : sqlrun_sql.msi@.9/00.1399.06
Lastly, it said that it would send the following file as part of the report:
c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0007.cab
The host machine for Virtual PC 7.0.2 is Mac OS X 10.4.6. If you have any ideas as to how to resolve this issue, it would be GREATLY appreciated.
Peace,
-Conrad

I'm not sure what our supprt level is for VPC, I'm going to move this to the SQL Setup forum.

- Mike

|||I can tell you that Virtual PC for MAC is NOT supported. See the VPC Mac Forum post
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.mac.virtualpc&tid=90715b2e-77ba-4f8a-a189-daee29467ff0&cat=en_US_595a5881-be4a-4db4-97b0-5f3a78602e23&lang=en&cr=US&sloc=en-us&m=1&p=1
As discussed in the above post, the issue is that VPC for Mac emulates a Pentium II and SQL Server 2005 requires a Pentium III. The cache prefetching instructions seem to be the real problem. At this stage the only possible way of running SQL Server 2005 on Mac hardware is to buy one of the new Intel based Macs and create a Dual boot for Windows XP on it, either that or pray to whatever diety you believe in that Microsoft will eventually bring out a version ov VPC for Mac that will emulate a Pentium III.
Cheers.

Saturday, February 25, 2012

Cannot install MSDE 2000 on XP SP2

I have attempted to install MSDE 2000 (Italian localized version) on
XP SP2 but the install fails with the message (translated from
Italian): "Impossible to configure the server. For further information
examine the log etc., etc."
Norton Av: disenabled. Not connected to network.
My install parameters were:
setup SAPWD="password" SECURITYMODE=SQL /L*v "C:\Temp\MSDELog.log"
I searched the log for "return value 3" (valore restituito 3, in
Italian), and have captured the 20 lines before the failure:
MSI (s) (EC:D0) [18:27:47:141]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI21.tmp, Entrypoint: InstallSQLAgentSecurity
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
TempFolder is C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\
Loading extended custom action library
C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\sqlcax.dll
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
Starting custom action InstallSQLAgentSecurity
InstallSQLAgentSecurity succeeded
MSI (s) (EC:38) [18:27:47:261]: Executing op:
ActionStart(Name=SkuIt.2D02443E_7002_4C0B_ABC9_EAB 2C064397B,,)
MSI (s) (EC:38) [18:27:47:261]: Executing op:
CustomActionSchedule(Action=SkuIt.2D02443E_7002_4C 0B_ABC9_EAB2C064397B,ActionType=1025,Source=Binary Data,Target=SkuIt,)
MSI (s) (EC:D8) [18:27:47:261]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI22.tmp, Entrypoint: SkuIt
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
TempFolder is C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\
Loading extended custom action library
C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\sqlcax.dll
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
Starting custom action SkuIt
MSI (s) (EC:38) [18:27:47:361]: Executing op:
ActionStart(Name=ConfigServer.2D02443E_7002_4C0B_A BC9_EAB2C064397B...
MSI (s) (EC:38) [18:27:47:361]: Executing op:
CustomActionSchedule(Action=ConfigServer.2D02443E_ 7002_4C0B_ABC9_EAB2C064397B...
MSI (s) (EC:C0) [18:27:47:361]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI23.tmp, Entrypoint: ConfigServer
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
TempFolder is C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\
Loading extended custom action library
C:\DOCUME~1\Mike\IMPOST~1\Temp\{E09B48B5-E141-427A-AB0C-D3605127224A}\sqlcax.dll
SOFTWARE\Microsoft\Microsoft SQL Server
Setup.{E09B48B5-E141-427A-AB0C-D3605127224A}
Starting custom action ConfigServer
Executing "C:\Programmi\Microsoft SQL Server\80\Tools\Binn\cnfgsvr.exe
-V 1 -M 1 -U sa -I "MSSQLSERVER" -Q "Latin1_General_CI_AS""
MSI (c) (BC:B8) [18:29:54:003]: Font created. Charset: Req=0, Ret=0,
Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Impossibile configurare il server. Per ulteriori informazioni,
esaminare il log degli errori del server e il log degli errori del
programma di installazione.
MSI (s) (EC!C4) [18:29:59:491]: Prodotto: Microsoft SQL Server Desktop
Engine -- Impossibile configurare il server. Per ulteriori
informazioni, esaminare il log degli errori del server e il log degli
errori del programma di installazione.
Fine operazione 18.29.59: InstallFinalize. Valore restituito 3.
Can anyone help me?
Mike Watson
hi Mike,
Mike Watson wrote:
> I have attempted to install MSDE 2000 (Italian localized version) on
> XP SP2 but the install fails with the message (translated from
> Italian): "Impossible to configure the server. For further information
> examine the log etc., etc."
please have a look at
http://support.microsoft.com/default...99&Product=sql
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.11.1 - DbaMgr ver 0.57.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||"Andrea Montanari" <andrea.sqlDMO@.virgilio.it> wrote in message news:<3b5fcgF6gi5u6U1@.individual.net>...
> hi Mike,
> Mike Watson wrote:
> please have a look at
> http://support.microsoft.com/default...99&Product=sql
Ciao Andrea,
I checked out the the indicated paper. I have no previous installs.
Nonetheless, I physically removed the leftover install folders. I then
added an INSTANCENAME="..." to my ini file and repeated the
installation.
Exactly the same result. Can you give me further help?
Mike Watson
|||Ciao Mike,
Mike Watson wrote:
> I checked out the the indicated paper. I have no previous installs.
> Nonetheless, I physically removed the leftover install folders. I then
> added an INSTANCENAME="..." to my ini file and repeated the
> installation.
> Exactly the same result. Can you give me further help?
>
I actually installed MSDE on WinXP pro sp2 2 days ago on a virtual machine
just to test the very same result reported by another user but I was not
able to repro..
all Microsoft hints related to that kind of problem are indicated to be
solved by that Knowledge Base article... but I learned that sometime MSDE
fails to install on WinXP sp2 due to problems with the MDAC 2.8 WinXP sp2
stack, and currently there's no workaround for that.. but again, I was
(fortunately :D) not able to repro this kind of problems
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.11.1 - DbaMgr ver 0.57.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Friday, February 10, 2012

Cannot find SQLResourceLoader.dll

We have a server with the default instance and 2 addtional named instances running SQL 2000 SP4. I attempted to install another instance for SQL 2005 and promptly ran into the above error when running DTS packages on the default SQL 2000 instance.

The legacy components had been installed and the server had been re-started. I also tried re-registering the dll as suggested on another forum post.

Any ideas on what I could do to get around this problem? We need to keep our existing SQL 2000 installs as is until we have a SQL 2005 server setup ready to take over the workload with absolute minimal downtime.

Thanks
Phill
mailto:philcart@.gmail.com
http://www.philcart.net/blog
http://www.sqlserver.org.au/user/bio/ViewBio.aspx?bioId=46
http://www.sqlservercentral.com/forums/userinfo.aspx?id=5534

Phil, did you hit any issues installing the legacy components from the SQL 2005 tools package? This typically is the fix for this issue.

Thanks,
Sam Lester (MSFT)

|||

No errors were reported during the install.

Over the weekend I had a chance to perform a couple of install/uninstalls. I actually did it 4 times and it failed on the 1st and 3rd times.

Guess there is something shaky there.