Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > All Other Wrox Books
|
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #31 (permalink)  
Old August 8th, 2004, 02:54 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can someone tell me why I get this message "Message queuing has not been installed on this computer" when run in release mode and everything goes well in debug mode. I'm running XP Pro (No domain).


Leon
  #32 (permalink)  
Old August 24th, 2004, 06:19 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

2 issues here
the first is how do I install message Queuing?

the second is an issue with the auth for the admin piece.
I created the "GW Admin" group and added users to it, still getting access denied.

  #33 (permalink)  
Old December 26th, 2004, 04:39 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by gapoce
 Hal, you are wrong!!! I haven't installed AD (or any other LDAP) on my laptop!

Diana, When installing SQL server I chose mixed mode! I haven't had time yet to try windows authentication.

Here is a paste from my Web.config:
=== start paste ===
-->
    <authentication mode="Forms">
        <forms name="GadgetsWarehouseAuth" loginUrl="login.aspx" protection="All" path="/" />
    </authentication>
===
<appSettings>
<add key="ErrorViewUrlPrefix" value="/GadgetsWarehouse/ErrorLog/" />
<add key="ErrorLogBaseDir" value="C:\inetpub\wwwroot\GadgetsWarehouse\Errors\ " />
<add key="DefaultDataSource" value="user id=gadgetuser; password=gadgetuser; database=GadgetsWarehouse; server=gapoce01;"/>
<add key="OrderQueue" value=".\private$\Orders"/>
</appSettings>
=== end paste ===
I have manually added 'gadgetuser' (pwd:'gadgetuser')in SQLServer.

Hope this helps!
  #34 (permalink)  
Old March 2nd, 2005, 11:03 AM
Authorized User
 
Join Date: Mar 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am also facing problems startign the application.
I get the error that I cannot connect to DB (not Trusted user).

In the web.config, I have only changed the server property as "server=localhost"

How can I start the app properly. thanks

  #35 (permalink)  
Old March 16th, 2005, 11:59 PM
Authorized User
 
Join Date: Jun 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wouldn't it be nice if we could run this on other database systems (Oracele, MySql etc)!?
Has anybody rewritten the SqlPersistenceContainer stuff?

Gapoce
  #36 (permalink)  
Old October 2nd, 2005, 11:07 PM
Registered User
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When running http://localhost/gadgetswarehouse/default.aspx in my browser I’m getting:


Server Error in '/gadgetswarehouse' Application.
--------------------------------------------------------------------------------

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.Data.SqlClient.SqlException: SQL Server does not exist or access denied.

Source Error:


Line 46: if (catTable == null )
Line 47: {
Line 48: catTable = ProductCatalog.ProductCatalog.GetCategories();
Line 49: Cache["Categories"] = catTable;
Line 50: }


Source File: C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs Line: 48

Stack Trace:


[SqlException: SQL Server does not exist or access denied.]
   System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction) +474
   System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
   System.Data.SqlClient.SqlConnection.Open() +384
   GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:45

[Exception: Persistance (Select) Failed for PersistableObject]
   GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:66
   GW.Web.ProductCatalog.ProductCatalog.GetChildCateg ories(Int32 categoryId) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:37
   GW.Web.ProductCatalog.ProductCatalog.GetCategories () in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:23
   GW.Web.UserControls.TopCategoryDropDown.BindData() in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:48
   GW.Web.UserControls.TopCategoryDropDown.Page_Load( Object sender, EventArgs e) in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:28
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +733




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

  #37 (permalink)  
Old October 2nd, 2005, 11:15 PM
Registered User
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by gapoce
 I have recently bought this book!

When running http://localhost/gadgetswarehouse/default.aspx in my browser I’m getting:

"Must declare the variable '@CategoryID'."

Something must be wrong with the way the parameters are passed in the calls. Access to the database seems to be OK - but I'm stumbling when trying to execute the stored procedure!

How do I fix this problem?

  #38 (permalink)  
Old October 3rd, 2005, 05:14 AM
Registered User
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
I have some problem with my program
when running http://localhost/gadgetswarehouse/default.aspx in my browser i'm getting :
Server Error in '/gadgetswarehouse' Application.
--------------------------------------------------------------------------------

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.Data.SqlClient.SqlException: SQL Server does not exist or access denied.

Source Error:


Line 46: if (catTable == null )
Line 47: {
Line 48: catTable = ProductCatalog.ProductCatalog.GetCategories();
Line 49: Cache["Categories"] = catTable;
Line 50: }


Source File: C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs Line: 48

Stack Trace:


[SqlException: SQL Server does not exist or access denied.]
   System.Data.SqlClient.ConnectionPool.GetConnection (Boolean& isInTransaction) +474
   System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
   System.Data.SqlClient.SqlConnection.Open() +384
   GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:45

[Exception: Persistance (Select) Failed for PersistableObject]
   GW.CMPServices.SqlPersistenceContainer.Select(Pers istableObject selectObject) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\CMPServ ices\SqlPersistenceContainer.cs:66
   GW.Web.ProductCatalog.ProductCatalog.GetChildCateg ories(Int32 categoryId) in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:37
   GW.Web.ProductCatalog.ProductCatalog.GetCategories () in C:\asp.net e-commerec\gadgetswarehouse\gadgetswarehouse\Product Catalog\ProductCatalog.cs:23
   GW.Web.UserControls.TopCategoryDropDown.BindData() in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:48
   GW.Web.UserControls.TopCategoryDropDown.Page_Load( Object sender, EventArgs e) in C:\Inetpub\wwwroot\GWSetup\UserControls\TopCategor yDropDown.ascx.cs:28
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +733




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 Can somebody help me with this problem

Thanks
Ryszardw

  #39 (permalink)  
Old October 3rd, 2005, 05:16 AM
Registered User
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
I need somebody help with this problrm
when I when running http://localhost/gadgetswarehouse/default.aspx in my browser i'm getting :
Server Error in '/gadgetswarehouse' Application.


  #40 (permalink)  
Old October 3rd, 2005, 09:38 PM
Registered User
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

help me with this program






Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET E-Commerce Programming Problem-Design-Solu kenzhen All Other Wrox Books 1 April 27th, 2005 06:50 AM
ASP.NET E-Commerce Program Problem-Design-Solution ruimeisoft All Other Wrox Books 6 August 17th, 2004 03:10 AM
ASP.NET E-commerce Programming: Problem - Design - rmccue Wrox Book Feedback 1 February 9th, 2004 09:30 AM
ASP.NET E-Commerce Prog Problem - Design -Solution cat2123 All Other Wrox Books 1 December 29th, 2003 06:27 AM
ASP.NET E-Commerce Programming Problem - Design - nodoubt223rd All Other Wrox Books 8 June 30th, 2003 09:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.