473,396 Members | 2,010 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,396 software developers and data experts.

Not able to access MSDE without administrative priviliges given to ASPNET

Hi All,

I am trying to access MSDE from ASP.NET application without
giving administrative privileges to ASPNET user. It gives an error
message saying "Cannot login to SQL server for ASPNET". Can't I access
the MSDE in local machine or across network without giving
administrative privileges to ASPNET? I tried accessing MSDE in another
machine by giving <identity impersonate="true" userName="" password=""
/it doesn't work. But i tried accessing my local machine with
<identitytag it worked. Is there any solution to this problem?

Jul 7 '06 #1
1 1132
This has nothing to do with adminstrative priveleges. It has everything to
do with security in MSDE. You need to do one of two things:
1) Create a login for the aspnet user account in MSDE, and give that login
the rights it needs to the databases it needs to access.
2) Use Sql Authentication instead of windows auth to log onto the MSDE
server.

Whatever you do, don't make ASP.NET run under an account with admin
priveledges.

"ra************@gmail.com" wrote:
Hi All,

I am trying to access MSDE from ASP.NET application without
giving administrative privileges to ASPNET user. It gives an error
message saying "Cannot login to SQL server for ASPNET". Can't I access
the MSDE in local machine or across network without giving
administrative privileges to ASPNET? I tried accessing MSDE in another
machine by giving <identity impersonate="true" userName="" password=""
/it doesn't work. But i tried accessing my local machine with
<identitytag it worked. Is there any solution to this problem?

Jul 7 '06 #2

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

Similar topics

1
by: bidalah | last post by:
Hello, I am looking for basic info on installing and using MSDE. I am trying to install and play with MSDE on my PC (Win2000). I finally managed to work my way through installation, and named...
33
by: Uwe Range | last post by:
Hi to all! A customer of mine told me some days ago that her IT-people told her ACCESS would not be such a good idea for continuing with our project, because Access will not be continued in the...
9
by: Sagi | last post by:
i'm building an aplication that in the end sopuse to run on SQL but i'm building it on access. do i am going to have alot of work when im going to change database?
10
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
2
by: Paul C. | last post by:
Hi folks, I cannot seem to get my .NET app to successfully login to my Sql Server MSDE instance. It always tells me that the login for ASPNET failed. My biggest problem is that I cannot find...
7
by: buran | last post by:
Dear ASP.NET Programmers, I encountered the following problem when running my project: Configuration Error Description: An error occurred during the processing of a configuration file...
0
by: Ammar | last post by:
Hi ... I have been reading throuhg the internet to solve a problem that happens to me when i try to access a databse in SQL mode... when i access the database through (visual web developer 2005)...
1
by: William Urban | last post by:
Hello all, first time posting here and I am running into a pickle of a problem. Here is the scenario. I have a Windows 2000 server running IIS and an ASP.net C# application. The application...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...

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.