473,408 Members | 1,730 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,408 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 1238


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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.