Error running Csharp site with cs2007 and sql server 2005
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Error running Csharp site with cs2007 and sql server 2005




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

SSeed is offline     Error running Csharp site with cs2007 and sql server 2005  
SSeed


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for SSeed Click here to Send SSeed a Private Message Find more posts by SSeed Add SSeed to your buddy list
 
10-03-06 11:21 PM

I installed the CS2K7 with SQL2K5 enterprice.
I also unpack the Csharp site.
When I run the Csharp site, I get the error message:
Cannot open database "MSCS_Admin" requested by the login. The login failed. 
Stack Trace: 


[COMException (0x80004005): Cannot open database "MSCS_Admin" requested by t
he login. The login failed.]
   ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String
 Password, Int32 Options) +0
   SharedFns.ReadSQLDbLocale(String& strAdminConn) +81
   SharedFns.SQLGetConnStr() +231
   SharedFns.ReturnOpenConnection(Connection& connCfg) +52
   Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThre
aded.Initialize(String bstrSiteName) +279
   Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection
.ctor(String siteName) +141
   Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeAppl
ication() +202
   Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpAppli
cation appInstance) +89
   System.Web.HttpApplication.InitModules() +267
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicat
ionState state, MethodInfo[] handlers) +1251
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContex
t context) +243
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext cont
ext) +106
   System.Web.HttpRuntime.  ProcessRequestInternal(HttpWorkerRequest

 wr) +317

Can any one tell me what is happening with solution?
I am very desperate.
Sorry for double posting

Thanks.




[ Post a follow-up to this message ]



    Re: Error running Csharp site with cs2007 and sql server 2005  
Colin Bowern


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-05-06 12:30 AM

Have you granted the necessary rights to the application pool identity as
outlined in the installation guide?

Installation Guide - Assign Permissions to IIS Worker Process
http://download.microsoft.com/downl...br />
r_Process

Cheers,
Colin

"SSeed" <SSeed.2f4mwc@mail.webservertalk.com> wrote in message
news:SSeed.2f4mwc@mail.webservertalk.com...
>
> I installed the CS2K7 with SQL2K5 enterprice.
> I also unpack the Csharp site.
> When I run the Csharp site, I get the error message:
> Cannot open database "MSCS_Admin" requested by the login. The login
> failed.
> Stack Trace:
>
>
> [COMException (0x80004005): Cannot open database "MSCS_Admin" requeste
d
> by t
> he login. The login failed.]
> ADODB.ConnectionClass.Open(String ConnectionString, String UserID,
> String
> Password, Int32 Options) +0
> SharedFns.ReadSQLDbLocale(String& strAdminConn) +81
> SharedFns.SQLGetConnStr() +231
> SharedFns.ReturnOpenConnection(Connection& connCfg) +52
>
> Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThre
> aded.Initialize(String bstrSiteName) +279
>
> Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection
> ctor(String siteName) +141
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeAppl
> ication() +202
>
> Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpAppli
> cation appInstance) +89
> System.Web.HttpApplication.InitModules() +267
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicat
> ionState state, MethodInfo[] handlers) +1251
>
> System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContex
> t context) +243
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> cont
> ext) +106
> System.Web.HttpRuntime.  ProcessRequestInternal(HttpWorkerRequest

> wr) +317
>
> Can any one tell me what is happening with solution?
> I am very desperate.
> Sorry for double posting
>
> Thanks.
>
>
>
> --
> SSeed
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1688114.html
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register