CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: Date Entered: 8/21/2004 5:49:20 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 40 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"raidu2" <>
NewsGroup User
Localhost Install Complication?????8/21/2004 5:49:20 PM

0

Hello,

I just wanted to share my trials on installing.

I have Win2K/SP4/ADInstalled, Exchange, IIS5, ASP.NET 1.1, MSDE SP3a.

I can query and communicate with DB via MSDE Query to my server name or . but never to localhost and I'm not about to change my server name!

I installed Locally to remote with IIS support, I created and populated Commerce DB with permissions for remote (permissions for local would not execute without errors no matter which valid account I used)

This is what I recieved trying to bring up the site:

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

Login failed for user 'ServerName\UserAccount'.
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: Login failed for user 'ServerName\UserAccount'.

Source Error:


Line 28: ASPNET.StarterKit.Commerce.ProductsDB products = new ASPNET.StarterKit.Commerce.ProductsDB();
Line 29:
Line 30: MyList.DataSource = products.GetProductCategories();
Line 31: MyList.DataBind();
Line 32: }


Source File: C:\Program Files\ASP.NET Starter Kits\ASP.NET Commerce (CSSDK)\CommerceCSSDK\_Menu.ascx Line: 30

Stack Trace:


[SqlException: Login failed for user 'ServerName\UserAccount'.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
ASPNET.StarterKit.Commerce.ProductsDB.GetProductCategories()
ASP._Menu_ascx.Page_Load(Object sender, EventArgs e) in C:\Program Files\ASP.NET Starter Kits\ASP.NET Commerce (CSSDK)\CommerceCSSDK\_Menu.ascx:30
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() +731




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

I can communicate with the DB via input and retrieval but the web pages don't seem to be communicating with MSDE because of permissions?

ANYONE HELP
"Vizcio" <>
NewsGroup User
Re: Localhost Install Complication?????8/21/2004 9:22:23 PM

0

hi
i get a very similar error

Error de servidor en la aplicación '/CommerceVBVS'.
--------------------------------------------------------------------------------

Error de inicio de sesión del usuario 'NT AUTHORITY\Servicio de red'.
Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

Detalles de la excepción: System.Data.SqlClient.SqlException: Error de inicio de sesión del usuario 'NT AUTHORITY\Servicio de red'.

Error de código fuente:

Se ha generado una excepción no controlada durante la ejecución de la solicitud Web actual. La información sobre el origen y la ubicación de la excepción pueden identificarse utilizando la excepción del seguimiento de la pila siguiente.

Seguimiento de la pila:


[SqlException: Error de inicio de sesión del usuario 'NT AUTHORITY\Servicio de red'.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
ASPNET.StarterKit.Commerce.ASPNET.StarterKit.Commerce.ProductsDB.GetProductCategories()
ASPNET.StarterKit.Commerce.C_Menu.Page_Load(Object sender, EventArgs e)
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() +731


can someone please help us, or point us where we can get some info to troubleshoot this instalations errors
"jennewkirk" <>
NewsGroup User
Re: Localhost Install Complication?????9/1/2004 5:33:44 PM

0

The only way I found around this was to reference my machine name in the web.config file. Then it connects fine.

The line in the web.config should look like this:
<add key="ConnectionString" value="server=myServerName;database=Commerce;uid=CommerceUser;pwd=CommerceUser;" />
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













problem with register.aspx

dissapointed in lack of support for these starter kits

code-behind template pages

problem with install of csk relating to shopping cart table

cannot open database requested in login 'commerce'

where can i get download the ibuystore code with accesss and vb?

localhost

successful ongoing development of commerce sk (sample included)

ms commerce server 2002

cant view commerce starter kit

can somebody explain these codes for me?

how to create an .mdf database?

csk with sql express and paypal aspnet user login fail

turning the commerce starter kit into a functional webshop

custom shopping cart

remote instal prob

setup problem.

help!!, sumbit or any other buttons do not work!!

i cannot add a reference to system.data in codebehind - won't stick.

how to add tooltips in disscuss section icon such as 'not read' in gcn, which is implented in asp.net forum

can any body help whith shopping bulid based on cookies

migrate the sql express to sql server ??

simple globalization/localization question

hosting free for commerce starter kit

server error when signing in to commerce starter kit

dashcommerce vs dotshoppingcart starter kit?

integrating paypal shopping cart

problem logging in or registering with the commerce starter kit

how to modify asp.net commerce kit register file?

step-by-steps to get store running under web matrix

store error

ibuyspy online

after alter sql-scripts nothing happens ... why?

shared hosting and using sql express 2005 with the commerce starter kit

how should i set up the envirment to use ibuyspy store

microsoft development environment error?

i need a book(asp.net e-commerce with vb.net)

strange error ! can anyone help

retrieving/changing passwords

any copies of commercestarterkit.zip before it went to dashcommerce

need help on building an ibs admin

does anyone know where can i download the access version ibuyspy store?

build errors in vs.net

when orders are placed, what is the best way to retrieve order information?

recompile ibuyspy.dll

shoping cart - items are stored in db

bug? registration failed: that email address is already registered.

extended classifieds / sql

tring to get the commerce site up and running

configuration error (iis related?) but i want to use cassini

   
  Privacy | Contact Us
All Times Are GMT