473,766 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

login failed for the user (using MSDE)

im using MSDE , not SQL server

i have already created a new accnt named "demoasp" and
assoigned it to processmodel section of machine.config so
as to correct other error which said "server application
unavailable"
when i run my asp app .it gives following error
Server Error in '/datagrid' Application.
-----------------------------------------------------------
---------------------

Login failed for user 'SHAHZADPC\demo asp'.
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.Sql Client.SqlExcep tion:
Login failed for user 'SHAHZADPC\demo asp'.

Nov 18 '05 #1
4 1370
Are you using a trusted connection?
You may need to add the user 'SHAHZADPC\demo asp' to SQL Server.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"shahzad" <kh************ @hotmail.com> wrote in message
news:00******** *************** *****@phx.gbl.. .
im using MSDE , not SQL server

i have already created a new accnt named "demoasp" and
assoigned it to processmodel section of machine.config so
as to correct other error which said "server application
unavailable"
when i run my asp app .it gives following error
Server Error in '/datagrid' Application.
-----------------------------------------------------------
---------------------

Login failed for user 'SHAHZADPC\demo asp'.
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.Sql Client.SqlExcep tion:
Login failed for user 'SHAHZADPC\demo asp'.

Nov 18 '05 #2
as i have told u ,im not using SQL serve r
im using MSDE which has no UI of adding users to it
and also im using trusted connection
plz tell me wid respect to MSDE
IM NOT USING SQLSERVER....



Nov 18 '05 #3
Even though there's no UI, I'm sure it's still possible to add users. Have
you looked at this article -
http://support.microsoft.com/default...en-us%3B325022 ?

Mun
"shahzad" <an*******@disc ussions.microso ft.com> wrote in message
news:01******** *************** *****@phx.gbl.. .
as i have told u ,im not using SQL serve r
im using MSDE which has no UI of adding users to it
and also im using trusted connection
plz tell me wid respect to MSDE
IM NOT USING SQLSERVER....

Nov 18 '05 #4
yeah man ..
osql utility did the work
new for me tha msde can be configured..nev er read taht in
any book
jazakALLAH for all help

-----Original Message-----
Even though there's no UI, I'm sure it's still possible to add users. Haveyou looked at this article -
http://support.microsoft.com/default...id=kb%3Ben-us% 3B325022 ?
Mun
"shahzad" <an*******@disc ussions.microso ft.com> wrote in messagenews:01******* *************** ******@phx.gbl. ..
as i have told u ,im not using SQL serve r
im using MSDE which has no UI of adding users to it
and also im using trusted connection
plz tell me wid respect to MSDE
IM NOT USING SQLSERVER....

.

Nov 18 '05 #5

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

Similar topics

1
2614
by: ConTactMe | last post by:
I get the following error when trying to create an Access Data Project: Login failed for user 'myname'. Reason: Not associated with a trusted SQL Server connection. I'm using a specific username and password. The sQL Server (actually, MSDE) is installed on \\server1, and I'm working on my laptop.I get the error when I try and click the dropdown for "Select the database on the server". Any hints on what I've donw wrong?
2
2469
by: Marek Powichrowski | last post by:
Hi all, I have the the problem with logging to MSDE using SQL-DMO interface. On the W2K with LoginSecure=TRUE everything is OK (connect is made without any parameters) But when LoginSecure=FALSE (on Win 98) connect( 'instance_name', 'sa', 'sa_password' )
2
12840
by: PA | last post by:
I am new to MSDE 2000. Installed this yesterday using windows installer, deafult settings(no change in authentication). a. I want to create database and tabels in MSDE. How do I do this? (I managed to do this through .net web application using server explorer but is there any other way to do this? Where can I get enterprise manager? Can I use it after 120 days evalutaion? b. Once that I have created database and a table with windoes...
0
1061
by: Brian | last post by:
Never mind... I've resolved the issue. >-----Original Message----- >I'm using MSDE for testing the walkthroughs that came with Visual Studio >..NET 2003, so I don't have any administrative options for the database. >When I attempt to run an ASP.NET walkthrough application, I get a "login >failed" error for the ASPNET user. I've gone through all
4
7227
by: rrober07 | last post by:
Hello, My Setup is I have a Web Server machine(Devweb01), Database SQL Machine(Devsql01), a Client Machine(local machine) I have configured the SQL machine as follows: 1) Added local Aspnet user account (with same password as aspnet user on IIS (Devweb01)) 2) edited local machine.config file <ProcessModel> Password attribute to same password (both on IIS and SQL Machine) 3) SQL Server security is Sql Server and Windows
3
1988
by: Nicola Marchiori | last post by:
Hi I need some help. I am developing a Web App in one PC running IIS. I am trying to connect to to MSDE on another PC, but it's not working. This is the message i got Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
4
1830
by: Chuck Bowling | last post by:
I'm having a problem that i really don't understand. I'm new to ASP.NET and to SQL Server (MSDE). I'm trying to get a VS walkthru in the C# to work. I think the problem is permissions but I'm not sure. I've tried adding the ZEUS\ASPNET user to the server using osql with the command "EXEC sp_grantlogin 'ZEUS\ASPNET'" but it had no apparent effect. Below is the error page that was generated when I tried to build and run the site: ...
12
6573
by: Michael | last post by:
Please Help me. I've got a .Net 2003 program that attaches to a SQL Server machine and I'm getting the above error when a user tries to log in. The SQL server is setup to use Windows Auth. and I have added the new user to the database and have given the user access to the database for the app. But everytime I try and login using this users ID, I always get the error: Login failed for user Christian.Gaut If I login using my userid and...
10
9659
by: musosdev | last post by:
Wonder if someone can help! We're getting the following error on our Intranet system as soon as we login.. ------------------ Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\LOCAL SERVICE'. Source Error:
0
9571
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10009
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9838
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8835
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.