Commerce Server General - Error 80004005 while unpacking a custom resource

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > October 2006 > Error 80004005 while unpacking a custom resource





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Error 80004005 while unpacking a custom resource
Chris

2006-09-25, 7:26 pm

Hi,

I am currently creating a subscription sub-system to work with Commerce
Server and ideally I would like to deploy this as a custom resource.

I have used the example in the GotDotNet Commerce Server area to create
a Pup using site packager and can successfully unpack the Pup to the
machine I originally created it on. However, when I try to unpack the
pup to a different computer to add the resource to an existing site, it
fails. I have checked the log for the Pup and it displays the following
error:
Error importing object data for Subscriptions from file
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions
80004005:[Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified

Are there any other logs, etc that are outputted by the site packager
that may assist me in determining the cause of this error?

Any assistance would be greatly appreciated.

Thanks in advance



Chris Pearce


P.S. The full output of the PUP log is:

[18:51:32] 18:51:32 25/09/2006
[18:51:32] Initializing...
[18:51:32] The cmdline used to launch the packager:
/s:OnlineCommerceShop /f:"C:\Documents and
Settings\Administrator\Desktop\Subscript
ions.pup" /r
[18:51:32] IIS Entry #1 Name:Default Web Site Path:c:\inetpub\wwwroot
[18:51:33] Visual Mode
[18:51:33] Loading the package information
[18:51:33] Opening a compound document
[18:51:33] Getting package INI file
[18:51:33] Extracting Config stream contents and putting in
C:\Documents and Settings\Administrator\Local Settings\Temp\TOC.ini
file
[18:51:42] Path of package: C:\Documents and
Settings\Administrator\Desktop\Subscript
ions.pup
[18:51:44] Initializing SiteConfig for OnlineCommerceShop
[18:51:45] Database OnlineCommerceShop_subscriptions was not created on
CS2007DEV05 because it already exists.
[18:51:46] Adding config data for Subscriptions
[18:51:46] Extracting Config stream contents and putting in
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions_Config.blb file
[18:51:46] Extracting object data for Subscriptions from Config
[18:51:46] Getting object data for Subscriptions from stream Data
[18:51:46] Extracting Data stream contents and putting in C:\Documents
and Settings\Administrator\Local Settings\Temp\Subscriptions.blb file
[18:51:46] Unpacking files for Subscriptions
[18:51:46] Unpacking the site files.
[18:51:46] Unpack : The CAB file getting extracted is : C:\Documents
and Settings\Administrator\Local Settings\Temp\Subscriptions.blb
[18:51:46] The following command is being executed to decompress a file
from the package: "C:\Program Files\Microsoft Commerce Server
2007\cabarc.exe" -p -r -o X "C:\Documents and
Settings\Administrator\Local Settings\Temp\Subscriptions.blb"
"C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\
[18:51:48]
Microsoft (R) Cabinet Tool - Version 5.2.3663.0
Copyright (c) Microsoft Corporation. All rights reserved..

Extracting file(s) from cabinet 'C:\Documents and
Settings\Administrator\Local Settings\Temp\Subscriptions.blb':
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_AutoRenewals.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_RoleDefinitions.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionDefinitions.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionRoles.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptCreate.sqlschema
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptDrop.sqlschema
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_UserSubscriptions.xml

Operation successful

[18:51:48] File decompression is complete
[18:51:49] Error importing object data for Subscriptions from file
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions 80004005:[Microsoft][ODBC Driver Manager]
Data source name not found and no default driver specified
[18:51:49] Operation Completed
[18:51:50] Displaying Final information screen
[21:17:08] Starting Cleanup
[21:17:08] Cleanup finished.
[21:17:08] Program ending.
[21:17:08] Exit status code for this session: -1

Ning Lin [MSFT]

2006-09-26, 7:23 pm

Hi, Chris,

It looks like you are looking at the right log.

Are you using data source name to connect to the database? If not, do you
have the correct database connection string? If yes, it sounds like you
have setup the DSN correctly where you tested the pup package but not
correctly on the second computer. Could you check that the DSN is setup
correctly: Control Panel -> Administrative Tools -> Data sources (ODBC)?

Additional reference that might be helpful:
http://support.microsoft.com/kb/306345/EN-US/

Ning

----------------------------------------------------------------------------
-------------------------------
Ning Lin [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Chris" <chris.j.pearce@gmail.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Error 80004005 while unpacking a custom resource
Date: 25 Sep 2006 14:00:23 -0700

Hi,

I am currently creating a subscription sub-system to work with Commerce
Server and ideally I would like to deploy this as a custom resource.

I have used the example in the GotDotNet Commerce Server area to create
a Pup using site packager and can successfully unpack the Pup to the
machine I originally created it on. However, when I try to unpack the
pup to a different computer to add the resource to an existing site, it
fails. I have checked the log for the Pup and it displays the following
error:
Error importing object data for Subscriptions from file
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions
80004005:[Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified

Are there any other logs, etc that are outputted by the site packager
that may assist me in determining the cause of this error?

Any assistance would be greatly appreciated.

Thanks in advance



Chris Pearce


P.S. The full output of the PUP log is:

[18:51:32] 18:51:32 25/09/2006
[18:51:32] Initializing...
[18:51:32] The cmdline used to launch the packager:
/s:OnlineCommerceShop /f:"C:\Documents and
Settings\Administrator\Desktop\Subscript
ions.pup" /r
[18:51:32] IIS Entry #1 Name:Default Web Site Path:c:\inetpub\wwwroot
[18:51:33] Visual Mode
[18:51:33] Loading the package information
[18:51:33] Opening a compound document
[18:51:33] Getting package INI file
[18:51:33] Extracting Config stream contents and putting in
C:\Documents and Settings\Administrator\Local Settings\Temp\TOC.ini
file
[18:51:42] Path of package: C:\Documents and
Settings\Administrator\Desktop\Subscript
ions.pup
[18:51:44] Initializing SiteConfig for OnlineCommerceShop
[18:51:45] Database OnlineCommerceShop_subscriptions was not created on
CS2007DEV05 because it already exists.
[18:51:46] Adding config data for Subscriptions
[18:51:46] Extracting Config stream contents and putting in
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions_Config.blb file
[18:51:46] Extracting object data for Subscriptions from Config
[18:51:46] Getting object data for Subscriptions from stream Data
[18:51:46] Extracting Data stream contents and putting in C:\Documents
and Settings\Administrator\Local Settings\Temp\Subscriptions.blb file
[18:51:46] Unpacking files for Subscriptions
[18:51:46] Unpacking the site files.
[18:51:46] Unpack : The CAB file getting extracted is : C:\Documents
and Settings\Administrator\Local Settings\Temp\Subscriptions.blb
[18:51:46] The following command is being executed to decompress a file
from the package: "C:\Program Files\Microsoft Commerce Server
2007\cabarc.exe" -p -r -o X "C:\Documents and
Settings\Administrator\Local Settings\Temp\Subscriptions.blb"
"C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\
[18:51:48]
Microsoft (R) Cabinet Tool - Version 5.2.3663.0
Copyright (c) Microsoft Corporation. All rights reserved..

Extracting file(s) from cabinet 'C:\Documents and
Settings\Administrator\Local Settings\Temp\Subscriptions.blb':
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_AutoRenewals.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_RoleDefinitions.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionDefinitions.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionRoles.xml
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptCreate.sqlsch
ema
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptDrop.sqlschem
a
extracting: C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions\\Subscriptio
ns_UserSubscriptions.xml

Operation successful

[18:51:48] File decompression is complete
[18:51:49] Error importing object data for Subscriptions from file
C:\Documents and Settings\Administrator\Local
Settings\Temp\Subscriptions 80004005:[Microsoft][ODBC Driver Manager]
Data source name not found and no default driver specified
[18:51:49] Operation Completed
[18:51:50] Displaying Final information screen
[21:17:08] Starting Cleanup
[21:17:08] Cleanup finished.
[21:17:08] Program ending.
[21:17:08] Exit status code for this session: -1



Chris

2006-10-09, 1:20 pm

It turned out that I needed to run the resource definition sql script
once on the Admin Database of the deployment machine that I wanted to
create the custom resource.

Many thanks to Madhur and Ning for your help in resolving this.

Chris wrote:

> Hi,
>
> I am currently creating a subscription sub-system to work with Commerce
> Server and ideally I would like to deploy this as a custom resource.
>
> I have used the example in the GotDotNet Commerce Server area to create
> a Pup using site packager and can successfully unpack the Pup to the
> machine I originally created it on. However, when I try to unpack the
> pup to a different computer to add the resource to an existing site, it
> fails. I have checked the log for the Pup and it displays the following
> error:
> Error importing object data for Subscriptions from file
> C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions
> 80004005:[Microsoft][ODBC Driver Manager] Data source name not
> found and no default driver specified
>
> Are there any other logs, etc that are outputted by the site packager
> that may assist me in determining the cause of this error?
>
> Any assistance would be greatly appreciated.
>
> Thanks in advance
>
>
>
> Chris Pearce
>
>
> P.S. The full output of the PUP log is:
>
> [18:51:32] 18:51:32 25/09/2006
> [18:51:32] Initializing...
> [18:51:32] The cmdline used to launch the packager:
> /s:OnlineCommerceShop /f:"C:\Documents and
> Settings\Administrator\Desktop\Subscript
ions.pup" /r
> [18:51:32] IIS Entry #1 Name:Default Web Site Path:c:\inetpub\wwwroot
> [18:51:33] Visual Mode
> [18:51:33] Loading the package information
> [18:51:33] Opening a compound document
> [18:51:33] Getting package INI file
> [18:51:33] Extracting Config stream contents and putting in
> C:\Documents and Settings\Administrator\Local Settings\Temp\TOC.ini
> file
> [18:51:42] Path of package: C:\Documents and
> Settings\Administrator\Desktop\Subscript
ions.pup
> [18:51:44] Initializing SiteConfig for OnlineCommerceShop
> [18:51:45] Database OnlineCommerceShop_subscriptions was not created on
> CS2007DEV05 because it already exists.
> [18:51:46] Adding config data for Subscriptions
> [18:51:46] Extracting Config stream contents and putting in
> C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions_Config.blb file
> [18:51:46] Extracting object data for Subscriptions from Config
> [18:51:46] Getting object data for Subscriptions from stream Data
> [18:51:46] Extracting Data stream contents and putting in C:\Documents
> and Settings\Administrator\Local Settings\Temp\Subscriptions.blb file
> [18:51:46] Unpacking files for Subscriptions
> [18:51:46] Unpacking the site files.
> [18:51:46] Unpack : The CAB file getting extracted is : C:\Documents
> and Settings\Administrator\Local Settings\Temp\Subscriptions.blb
> [18:51:46] The following command is being executed to decompress a file
> from the package: "C:\Program Files\Microsoft Commerce Server
> 2007\cabarc.exe" -p -r -o X "C:\Documents and
> Settings\Administrator\Local Settings\Temp\Subscriptions.blb"
> "C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\
> [18:51:48]
> Microsoft (R) Cabinet Tool - Version 5.2.3663.0
> Copyright (c) Microsoft Corporation. All rights reserved..
>
> Extracting file(s) from cabinet 'C:\Documents and
> Settings\Administrator\Local Settings\Temp\Subscriptions.blb':
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_AutoRenewals.xml
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_RoleDefinitions.xml
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionDefinitions.xml
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_SubscriptionRoles.xml
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptCreate.sqlschema
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_Subscriptions_ScriptDrop.sqlschema
> extracting: C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions\\Subscriptio
ns_UserSubscriptions.xml
>
> Operation successful
>
> [18:51:48] File decompression is complete
> [18:51:49] Error importing object data for Subscriptions from file
> C:\Documents and Settings\Administrator\Local
> Settings\Temp\Subscriptions 80004005:[Microsoft][ODBC Driver Manager]
> Data source name not found and no default driver specified
> [18:51:49] Operation Completed
> [18:51:50] Displaying Final information screen
> [21:17:08] Starting Cleanup
> [21:17:08] Cleanup finished.
> [21:17:08] Program ending.
> [21:17:08] Exit status code for this session: -1


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com