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

Setup ASPNET account

I am using chapter 9 from "ASP.NET programming with C#"
by Duthie of Microsoft Press.
I have VS.net running on WindowsXP pro, I installed IIS
and the net framework. I believe I have activated MSDE
as I display an icon in the lower right that
says "Running \\JIM - MSSQLServer". The icon has a green
arrow.
I am trying to setup an ASPNET account.
As instructed, at the command prompt I enter:
oSql -S(local)\VSdotNET -E
I get the following message:
[DBMSLPCN]SQLServer does not exist or access denied
[DBMSLPCN]ConnectionOpen(Connect()).
Please advise.
Thanks,
Jim
Nov 17 '05 #1
5 1232
HiJames,

First you need to make sure the account you currently log on is exactly the
same account you install the MSDE, and this account is a local
administrator account on the computer.

Secondly, you may double click the icon in the lower right , a form will be
displayed, You may check the server name in the box, to see if it is
"JIM\VSdotNET". If so, you also try following command in command prompt
window:

oSql -SJIM\VSdotNET -E

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 17 '05 #2
Luke:
I logon to Windows XP pro with my account, this is the
account that was in use when I installed MSDE. This is
an Administrator account.
I click the icon in the lower right of the screen, in the
form that appears JIM is the name of the server.
From the command prompt I run oSql -SJIM\VSdotNET -E
The return is:
[DBMSLPCN]SQLServer does not exist or access denied
[DBMSLPCN]ConnectionOpen(Connect()).

Please advise.
Thanks,
Jim
Nov 17 '05 #3
Hi Jim,

Is the Server name "JIM", not "JIM/VSdotNET"? If so, you may try:

oSql -SJIM -E

or

oSql -S(local) -E

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 17 '05 #4
Luke:
Thank you very much for your excellent help and support.
Using the name JIM worked without problem.
In installing MSDE I somehow must have entered JIM in
place of JIM\VSdontNET. I hope this will not cause me
any problems down the road.
The whole purpose of this exercise was to access
the "pubs" database in a sample program.
I am not sure I understand the oSql commands I used. Do
I need to setup a new account through oSql each time I
change a database ?
Thanks again for your help.
Jim
Nov 17 '05 #5
Hi JIm,

You dont' need to create a new account when you change the database. By
default, MSDE will use your current windows account as an administrator
account in all databases.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 17 '05 #6

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

Similar topics

2
by: jano | last post by:
Hi, I am trying to install a web application on an AD domain controller (security risk I know but it is our client's requirement) and i need to give the aspnet account certain permissions....
2
by: Andrew J Fortune | last post by:
Hello all, I am trying to ascertain the difference, in terms of access and privileges, between the Internet Guest User Account (IUSR_machinename, where machinename is the name of your computer)...
22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
4
by: Justin | last post by:
Hi All, Can the ASPNET user be deleted on an end user's machine that will run .NET applications? I heard someone say it was only needed on the developers machine. Sounded odd to me but I...
3
by: musosdev | last post by:
Hi guys I've just noticed I don't have an ASPNET user account running on either my Workstation or Server (both running .net2.0, workstation has vs2005 pro). Simple question... should it be...
5
by: Paul Aspinall | last post by:
Hi I am trying to print, server side, from my web application. I'm getting problems, as my ASPNET account is a local account, and is not trusted on the domain to print to printers (ie. does not...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
5
by: =?Utf-8?B?TWljaGFlbCBNaWxsZXI=?= | last post by:
I created a walkthrough and couldn't connect to my sql server. I looked up the problem and MSDN told me to create an ASPNET "User" in SQL Svr. It worked, but is that right? Do I have to do that...
2
by: =?Utf-8?B?c3RhZ2VybGVp?= | last post by:
We would like to change the password for the ASPNET account on our W2k3 servers running IIS 6.0 and .NET 1.1. Will we run into problems? Is there a way to determine the current password, in case...
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: 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...
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
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,...

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.