CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: NewsGroup Date Entered: 10/10/2004 7:44:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 66 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
alek23
Asp.Net User
Cannot open database requested in login 'Commerce'10/10/2004 7:44:32 AM

0/0

hi! i have a BIG Problem...i update the Commerce Starkit and edit the Commerce.mdf database,its ok in my pc but once i transer the files to another computer it does'nt work.
here is what i do to transfer the files from my pc to another pc, i copy the modified Commerce Starkit and paste it to

c:\Intepub\wwwroot (from another pc), then i copy the Commerce.mdf and Commerce.ldf from the MS SQL folder, then paste it to another pc with MSDE also installed.
Once i run the modified Commerce Starterkit in another pc it generates this kind of ERROR:


Cannot open database requested in login 'Commerce'. Login fails. Login failed for user 'LOCALSERVER\ASPNET'.
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.Data.SqlClient.SqlException: Cannot open database requested in login 'Commerce'. Login fails. Login

failed for user 'LOCALSERVER\ASPNET'.

Source Error:


Line 30: Dim productCatalogue As ASPNET.StarterKit.Commerce.ProductsDB = New ASPNET.StarterKit.Commerce.ProductsDB()
Line 31:
Line 32: MyList.DataSource = productCatalogue.GetProducts(categoryId)
Line 33: MyList.DataBind()
Line 34:
Source File: c:\inetpub\wwwroot\STIeCommerce\productslist.aspx Line: 32
Stack Trace:
[SqlException: Cannot open database requested in login 'Commerce'. Login fails.
Login failed for user 'LOCALSERVER\ASPNET'.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)

+372
System.Data.SqlClient.SqlConnection.Open() +384
ASPNET.StarterKit.Commerce.ProductsDB.GetProducts(Int32 categoryID)
ASP.ProductsList_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\STIeCommerce\productslist.aspx:32
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731

i can't solve this problem, what is the proper way to transfer the Commerce.mdf to another pc, it ask for user and password account, but if i try to install the ASP.NET Commerce(VBSDK) Installer 1.0 its ok, however i have to delete the previous
Commerce.mdf and Commerce.ldf files to able to install the ASP.NET Commerce(VBSDK) Installer 1.0 . if i try to replace the Commerce.mdf and paste the modified Commerce.mdf it generates the same error. What i have to do?? I eagerly need this to
solve..pls help me with this problem, i've been stuck here for almost 5 days.

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
.NET Architecture and Programming Using Visual C++ Authors: Peter Thorsteinson, Robert J. Oberg, Pages: 673, Published: 2002
Microsoft.NET XML Web Services Authors: Robert Tabor, Pages: 480, Published: 2001

Web:
Cannot open database “MSCS_Admin” requested by the login ... Aug 3, 2008 ... Microsoft Commerce Server 2007 Space. Build world class ecommerce applications ... Cannot open database “MSCS_Admin” requested by the login. ...
Error string: Cannot open database requested in login 'XXXXXXXXXXX ... Answer Re: Error string: Cannot open database requested in login 'XXXXXXXXXXX'. Login fails. .... Commerce Server 2007, -» Commerce Server 2002 and Earlier ...
Cannot open database "Database" requested by the login. The login ... Mar 2, 2006 ... Cannot open database "Database" requested by the login. .... Commerce Server, -» Commerce Server 2007, -» Commerce Server 2002 and Earlier ...
ONS E-commerce Inquiry 2000 - Further Analysis Error: -2147467259 [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'CCI'. Login fails. in article. ...
Starter Site - Application Development Forum Starter Site Commerce server. ... [CommerceException: Cannot open database requested in login >> > 'MSCS_Admin'. >> > Login fails.] >> > SharedFns. ...
Error when i run Storefront - ASP.NET Forums Cannot open database "AdventureWorks" requested by the login. ... connectionString="Data Source=localhost;Initial Catalog=Commerce. ...
commerceserver general Commerce Server 2006 installation When I go to starterSite I have this message : Cannot open database "MSCS_Admin" requested by the login. The login failed. ...
BizDesk startup problems Microsoft Commerce Configuration (0x80004005) Cannot open database requested in login 'MSCS_Admin'. Login fails. ...
p2p.wrox.com Forums - Please HELP!!! Cannot open database "ASPState" Cannot open database "ASPState" requested by the login. The login failed. .... zLOCKED - ASP E-commerce, zLOCKED - ASP Forms, zLOCKED - ASP. ...
80004005, Microsoft OLE DB Provider for ODBC Driver Error 80004005 ... Cannot open database requested in login 'user_id'. Login fails. .... If you are using Commerce Server, see KB #303673. ...




Search This Site:










creating module sqldataprovider files. your thoughts wanted.

core team request: refine the user interface

how to get onto the .net train from a designer background

http://localhost/donetnuke ..error

page_load and ispostback

client side changes not reflected in page

htmlencode going in vs. htmlencode coming out

can the starter kit be used with vs 2003

search against dates - uk

fileupload control....

master page

collecting and using membership, profile data

courses to take (.net) to create web applications with sql 2000 access?

where do i declare sql connection variable in my application

disabling autopostback on expand

new c# module

access denied for file access

linq and mysql

deployment problem on 2003 server

dotnetnuke 2.0 final release ready for download

probelms with galery in master page

is it possible to hide a navigation link in a menu control bound to a sitemap data source

forms authentication ... stored passwords?

help send mail with asp.net

lazy developer too lazy to read documentation and examine existing skins!

running another .aspx file in <iframe>

serious dnn install error

mailing through a form from client end:help needed

manual install of sql script 1.0.5 &quot;cannot change owner of ...

ole db connections

 
All Times Are GMT