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: 48 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:













cannot compile: system.web.aspnethostingpermission

deleting file from project result in hanging of vs.net 2005

where is web application dll now?

can you run vs.net 2005 apps on 2000 server?

vs2005 server doesn't show stored procedure columns

norton internet security 2005 interferes with visual studio 2005 (it hangs visual studio)

solution disappears in solution explorer

"named colors tab" in color picker uncheck use color names by default?

gridlayout

new controls in visual studio.net 2005

installing visual studio 2008 beta 2 with visual studio 2003 and visual studio 2005 on machine

problem running vs 2005 debugger on localhost

free upgrade to vs 2005 if you buy now?

sql 2000 stored procedure debugging in vs 2005

enable linkbutton's after clicking the another linkbutton

debugging a project in another solution

web site administration tool not working on win xp x64

unable to access httputility class, intellisense?

sql 2005 ctp question

drop down menu from image map

visual source safe : unexpected error encountered. it is recommended......

codefile necessary for web application?

web user control and databindings window

premissions problems - maybe

how to add a project with source code to asp.net 2.0

chm files

development strategy for 2 beginning developers

calander control & database

help me pleasee..data source control not appear

dataset designer & tabladapters lost connection strings after sp1 upgrade

error running web app, can't load global.aspx

breaking through a barrier

error parsing control: 'helpverb' could not be inititalized

visual studio 2005

copy local

adding control class to toolbox

debug and multipbe website project in one solution

please help me!

debugging: possible to see values in viewstate in watch window?

weird parameter returned in watchlist

embedded web server vs. iis

i am having problem debugging my page......

please help me!!!!_ the problem with flash

update web references - only one

install ctp july cause my sql2000 enterprisemanager error 126

problems with vs2005 since installing sql2005

problem with vs 2005 toolbox

don't see the references tree in solution explorer

bind to existing folders in vss 6

extremely slow publishing for ftp

   
  Privacy | Contact Us
All Times Are GMT