Commerce Server General - 'SiteConfigReadOnly:Initialize : [DBNETLIB][ConnectionOpen Error.

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > September 2005 > 'SiteConfigReadOnly:Initialize : [DBNETLIB][ConnectionOpen Error.





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 'SiteConfigReadOnly:Initialize : [DBNETLIB][ConnectionOpen Error.
Joy

2005-09-21, 2:49 am


Our site works fine in our DEV environment where the web server and the
database server is on the same server, but when I unpup it to my Test
environment where I've CS2002 on a Win2003 svr and the database on a
different win2003 svr....I get the error below.

So to test I unpuped the csharp solution site and when I access the login
page I get the same error below.

Error in Commerce Administration Object : Description -
'SiteConfigReadOnly:Initialize : [DBNETLIB][ConnectionOpen (Connect()).]SQL
Server does not exist or access denied.'


And this is the output when I access the Login.aspx page....


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) +98
SharedFns.SQLGetConnStr() +339

Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.SQLGetConnection() +168

Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.Initialize(String bstrSiteName) +291

[CommerceException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does
not exist or access denied.]
SharedFns.ThrowCommerceException(String message, Exception inner) +55

Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreaded.Initialize(String bstrSiteName) +4234

Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..ctor(String siteName) +216

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


Colin Bowern

2005-09-21, 5:52 pm

Hi Joy,

It sounds like a potential authentication issue between the sites. Have
you used SQL Server Profiler to see what account may be attempting to authenticate?
Are your connect strings all correct including the one in the profiles data
source?

Thanks,
Colin

> Our site works fine in our DEV environment where the web server and
> the database server is on the same server, but when I unpup it to my
> Test environment where I've CS2002 on a Win2003 svr and the database
> on a different win2003 svr....I get the error below.
>
> So to test I unpuped the csharp solution site and when I access the
> login page I get the same error below.
>
> Error in Commerce Administration Object : Description -
> 'SiteConfigReadOnly:Initialize : [DBNETLIB][ConnectionOpen
> (Connect()).]SQL Server does not exist or access denied.'
>
> And this is the output when I access the Login.aspx page....
>
> 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) +98
> SharedFns.SQLGetConnStr() +339
> Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeT
> hreaded.SQLGetConnection() +168
>
> Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeT
> hreaded.Initialize(String bstrSiteName) +291
>
> [CommerceException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
> does
> not exist or access denied.]
> SharedFns.ThrowCommerceException(String message, Exception inner)
> +55
> Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeT
> hreaded.Initialize(String bstrSiteName) +4234
>
> Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollect
> ion..ctor(String siteName) +216
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeA
> pplication() +195
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpAp
> plication appInstance) +76
> System.Web.HttpApplication.InitModules() +100
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +1330
> System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpCon
> text
> context) +392
>
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +256
> System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr)
> +414



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com