Wyatt Preul
Guest
|
Posted:
Thu Sep 15, 2005 8:52 pm Post subject:
Setting up 3 PC Development Enironment |
|
|
We have installed commerce server 2002 with FP1 on our local machines. Our
machines are running Windows XP SP2 with MS SQL Server 2000, IIS 5 and Visual
Studio 2003 on the 1.1.4 framework. These are the steps taken to create our
dev env: 1 developer creates a new commerce project in studio and points it
to their local sql server. After this is created they check the project into
VSS 6. Then the other 2 developers check the project out from source control
using VS. Each of these developers goes into their Commerce Server Manager
and changes connection string to point to the 1st developers sql server using
a custom user account (the same account the 1st developer used to create
project). Then once this is done, each of the developers attempt to run the
project. The 1st developer (who created the project) can run the project.
The 2nd and 3rd developers get the following errors, respectively. What is
the problem with the setup, and/or what is a sound solution for setting up
our shared development environment?
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80004005): [DBNETLIB][ConnectionOpen (Connect()).]SQL
Server does not exist or access denied.]
ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String
Password, Int32 Options) +0
SharedFns.ReadSQLDbLocale(String& strAdminConn)
SharedFns.SQLGetConnStr()
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.SQLGetConnection()
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.Initialize(String bstrSiteName)
[CommerceException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does
not exist or access denied.]
SharedFns.ThrowCommerceException(String message, Exception inner)
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.Initialize(String bstrSiteName)
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..ctor(String siteName)
[CommerceException: There was a problem reading the site resources from the
Commerce Server administration database for the site 'BasyxOnline'. Please
check that resources exist for the site and that the process has permission
to access the database. The InnerException contains more details.]
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..ctor(String siteName)
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplication()
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance)
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1297
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
---------------------------------------------------------------------------
The server process could not be started because the configured identity is
incorrect. Check the username and password.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: The server
process could not be started because the configured identity is incorrect.
Check the username and password.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[COMException (0x8000401a): The server process could not be started because
the configured identity is incorrect. Check the username and password.]
SharedFns.WriteToEventLog(String& sString, Int16& iLogType, Int32&
iEventID) +34
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.Initialize(String bstrSiteName) +4221
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..ctor(String siteName) +284
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplication() +195
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1330
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
---------------------------------------------------------------------------
Thank you |
|
Vinayak Tadas[MSFT]
Guest
|
Posted:
Wed Sep 21, 2005 12:51 am Post subject:
RE: Setting up 3 PC Development Enironment |
|
|
Take a look at the second point in this post
http://blogs.msdn.com/vinayakt/
This might help you
Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security. Please
reply to the newsgroups only
--------------------
Thread-Topic: Setting up 3 PC Development Enironment
thread-index: AcW6F+SpaHYY3mIST8KKMWlOQ2LAxQ==
X-WBNR-Posting-Host: 192.237.32.76
From: "=?Utf-8?B?V3lhdHQgUHJldWw=?=" <Wyatt Preul@discussions.microsoft.com>
Subject: Setting up 3 PC Development Enironment
Date: Thu, 15 Sep 2005 10:07:03 -0700
Lines: 121
Message-ID: <73884079-F4C2-4311-9C62-076CAED3C865@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.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:3463
X-Tomcat-NG: microsoft.public.commerceserver.general
We have installed commerce server 2002 with FP1 on our local machines. Our
machines are running Windows XP SP2 with MS SQL Server 2000, IIS 5 and
Visual
Studio 2003 on the 1.1.4 framework. These are the steps taken to create
our
dev env: 1 developer creates a new commerce project in studio and points
it
to their local sql server. After this is created they check the project
into
VSS 6. Then the other 2 developers check the project out from source
control
using VS. Each of these developers goes into their Commerce Server Manager
and changes connection string to point to the 1st developers sql server
using
a custom user account (the same account the 1st developer used to create
project). Then once this is done, each of the developers attempt to run
the
project. The 1st developer (who created the project) can run the project.
The 2nd and 3rd developers get the following errors, respectively. What is
the problem with the setup, and/or what is a sound solution for setting up
our shared development environment?
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied.
Source Error:
An unhandled exception was generated during the execution of the current
web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80004005): [DBNETLIB][ConnectionOpen (Connect()).]SQL
Server does not exist or access denied.]
ADODB.ConnectionClass.Open(String ConnectionString, String UserID,
String
Password, Int32 Options) +0
SharedFns.ReadSQLDbLocale(String& strAdminConn)
SharedFns.SQLGetConnStr()
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreade
d.SQLGetConnection()
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreade
d.Initialize(String bstrSiteName)
[CommerceException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does
not exist or access denied.]
SharedFns.ThrowCommerceException(String message, Exception inner)
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreade
d.Initialize(String bstrSiteName)
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..c
tor(String siteName)
[CommerceException: There was a problem reading the site resources from the
Commerce Server administration database for the site 'BasyxOnline'. Please
check that resources exist for the site and that the process has permission
to access the database. The InnerException contains more details.]
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..c
tor(String siteName)
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
tion()
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
ion appInstance)
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1297
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
---------------------------------------------------------------------------
The server process could not be started because the configured identity is
incorrect. Check the username and password.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: The server
process could not be started because the configured identity is incorrect.
Check the username and password.
Source Error:
An unhandled exception was generated during the execution of the current
web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[COMException (0x8000401a): The server process could not be started because
the configured identity is incorrect. Check the username and password.]
SharedFns.WriteToEventLog(String& sString, Int16& iLogType, Int32&
iEventID) +34
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreade
d.Initialize(String bstrSiteName) +4221
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..c
tor(String siteName) +284
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
tion() +195
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
ion appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1330
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +256
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
---------------------------------------------------------------------------
Thank you |
|