473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

web matrix and msde

TJS
I am trying to run an asp.net page connecting to MSDE.

Whenever I try to run the page under IIS server I get the following error:

Login failed for user 'yourcomputer\ASPNET'.

I can make a connection to the database and view the tables
I have mixed mode set in registry - what else is required ?
Jul 21 '05 #1
3 1237


TJS wrote:
I am trying to run an asp.net page connecting to MSDE.

Whenever I try to run the page under IIS server I get the following error:

Login failed for user 'yourcomputer\ASPNET'.

I can make a connection to the database and view the tables
I have mixed mode set in registry - what else is required ?


Go to the root directory of your application, right-click and select
security. Add the IIS anonymous user with the ASPNET user to have read
and read/write respectively.

--
-- Justin Lovell

Jul 21 '05 #2
TJS
I don't see anywhere to add someone -
the dialog only offers anonymous access, on or off

Jul 21 '05 #3
It seems to me you are having a login problem at the database, not the
filesystem.
You need to add the ASPNET user to the database.

The ASPNET account needs to be added as a trusted login into the SQL
Server Logins group. This can be done with osql:

sp_addlogin [ @loginame = ] 'login'
[ , [ @passwd = ] 'password' ]
[ , [ @defdb = ] 'database' ]
see
http://dbforums.com/arch/72/2002/5/367811
and
http://support.microsoft.com/default...b;en-us;316989

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ o n l i n e . m i c r o s o f t . c o m

"TJS" <no****@here.com> wrote in message
news:vo************@corp.supernews.com...
I don't see anywhere to add someone -
the dialog only offers anonymous access, on or off

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Richard Fagen | last post by:
Hi Everyone, I've noticed several typos in the Web Matrix tutorial (I know they are unavoidable) but I'd like to point out ones that screwed my up for a while and hopefully, it will help others....
3
by: Papillon02 | last post by:
Hi everyone, Big problem. I'm in my final (university) and I use web matrix. The problem is that I have to connect to access database and when I try via the data / new connection button it asks...
0
by: Doug | last post by:
Hi I have been working through Scott Mitchell's book on asp.net in 24 hours and found the book very informative - within the web matrix API. However when I try to move those new skills into...
3
by: TJS | last post by:
I am trying to run an asp.net page connecting to MSDE. Whenever I try to run the page under IIS server I get the following error: Login failed for user 'yourcomputer\ASPNET'. I can make a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.