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: 4/1/2004 8:37:06 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 44 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"Incred" <>
NewsGroup User
Could not add ASPNET user to SQL Server4/1/2004 8:37:06 AM

0

Setup:
MSDE
Framework 1.1
WindowsServer2003 Enterprise

I am trying to install the store with the process failing at the same point continually. The log file is as follows:

7:13:00 Thursday, 1 April 2004: [Checking system requirements]
7:13:00 Thursday, 1 April 2004: [Pass] Detected a local instance of SQL Server.
7:13:00 Thursday, 1 April 2004: [Pass] Determined SQL Server version (8.00.194).
7:13:00 Thursday, 1 April 2004: [Pass] Detected .NET Framework.
7:13:00 Thursday, 1 April 2004: [Pass] Detected Internet Information Server (IIS).
7:13:09 Thursday, 1 April 2004: [Begin Sample Configuration]
7:13:12 Thursday, 1 April 2004: [Pass] Created IIS virtual directory.: StoreVB
7:13:13 Thursday, 1 April 2004: [Pass] Determined SQL Server version (8.00.194).
7:13:34 Thursday, 1 April 2004: [Fail] Could not add ASPNET user to SQL Server.
SQL Server does not exist or access denied.
7:13:34 Thursday, 1 April 2004: [Done]


I understand this is a common problem and I have read the associated posts by other users. My connection string as specified in the web.comfig file is:
<add key="ConnectionString" value="server=172.16.0.2;Trusted_Connection=true;database=store" />

MSDE is configured in mixed mode security as I can access it via the following command:
OSQL -E

As the server does exist I see no reason why access would be denied as I can access this db in trusted mode as above.

I have also tried the following variation of the connection string without success:
<add key="ConnectionString" value="server=172.16.0.2;uid=sa;pwd=abcdef;database=store" />

Thank you in advance for any assistance provided.

Murphy


"stinky5" <>
NewsGroup User
Re: Could not add ASPNET user to SQL Server4/1/2004 9:57:45 PM

0

try changing your guest account name to ASPNET and then give it the permissions it needs to administer the database. Should work fine after that. I had the same issue.
"stinky5" <>
NewsGroup User
Re: Could not add ASPNET user to SQL Server4/1/2004 10:16:26 PM

0

And you may have to change your web.config file as well for the path to the DB.
"chainy" <>
NewsGroup User
Re: Could not add ASPNET user to SQL Server4/15/2004 8:23:38 AM

0

I had the very same problem trying to install!
here is what sorted it for me locate the server network utility in folder
Microsoft SQL Server/80/Tools/Bin/SVRNETCN.exe Click it and in the general tab make sure TCP/IP is enabled if not add it. I had no problem after that,
Chainy
"giantsteps" <>
NewsGroup User
Re: Could not add ASPNET user to SQL Server4/17/2004 6:49:21 PM

0

I have had the same problem myself.

These resources helped me

how to use osql
http://support.microsoft.com/default.aspx?scid=kb;en-us;325003#5

and the SQL server Web Data Administrator was a very handy tool for administering MSDE

http://www.microsoft.com/downloads/details.aspx?FamilyId=C039A798-C57A-419E-ACBC-2A332CB7F959&displaylang=en

The thing that fixed my problem was to login as sa for SQL and then to add a user account named ASPNET. I did this within the Web Data Admin tool. I then gave this account access to the database and all the permissions to use it.

Hope this helps.
"netdraw" <>
NewsGroup User
Re: Could not add ASPNET user to SQL Server5/1/2004 6:51:21 PM

0

Hello,

For this problem, you may change two things.

(1). Re-assign the ODBC configuration for SQL server with SQL Authentication ID, and User name=sa.

(2). Modify Add Key statement to :< add key = ?ConnectionString? value=?server=your Server ; Integred Security=SSPI, initial catalog=store?>

After these, the SQL connection should work with no error.

Good Luck.
Gary
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:













web project converted from 1.1 vs2003 to 2.0 vs2005 - site structure, all browser support?

calling custom web control, please help

migration problem 1.x to 2.0

using visual web developer 2005 with .net 1.1.4322

news - web application projects is now available!

is smartnavigation no longer supported in 2.0?

revert back to asp.net framework version 1.1

will asp.net 2.0 beta apps run in final release environment?

problems migrating to visual web developer 2005 express beta 2

problem with difference between system.web.mail and system.net.mail in using attachments

migrating from framework 1 to framework 2

concerned about windows migration

undeclared controls after upgrade to 2.0

problems with svg and commercial controls

webservice.htc not working in the pre-compliled version of my web app.

migration from 1.1 to asp.net 2.0

is this the best way? "new project from existing code"

updating site after already publishing 1.x versus 2.0...

how do i upgrade to .net framework 2.0 from visual studio .net 2003

migration issues from vs.net 2003 to vs.net 2005

iis 6.0 server 2003 and asp.net 2.0

web application mixing framework 1.1 and 2.0 webforms and dlls.

migrate 2003 code to 2005 code ?

new express db management tool.

dll

iss broken with asp.net 2 beta 2

migrated webapp from .net1.1 to 3.5 (now dropdownlist have duplicate items, and some controls render double)

using a com object in asp.net 2.0 beta 2

dynamically loading of controls

resources namespace not showing up in intellisense in app_code classes

asp.net 2.0 web project changes filenames to lower case

ways to preserve existing code when migrating?

illegal cross thread operation

help! running .net 1.1 website on server with .net 2.0

sa-cb compile error: cannot create an instance of the abstract class or interface

global.asax compile error ; expected in my <script runat="server"> tag

calling class methods in asp.net 2.0

getting error after migrating my poroduct to asp2.0

migrate from asp to asp.net 2,0

problem executing asp.net 2.0 as website and asp.net 1.1 forums website as a virtual

resources in visual studio 2005

strong name assembly in framework 2.0

problems with references

[issues] unable to start debugging on the web server

text displayed assymbolson chart

can't debug my code after migrating to .net 2.0

upgrading a single aspx file to 2.0

eventhandler

if i install .net 2.0 will it mess up my projects

migrating live servers from 1.1 to 2.0

   
  Privacy | Contact Us
All Times Are GMT