Norman,
Thanks for your help, but I figured out the problem. It has to do with the
connection string that is used in the lab files from the training CD. For
some reason or the other, the localhost worked fine for the "data source="
parameter, but then it stopped working and I had to modify each one to
include the database name "data source=PCname\SQLExpress." This corrected
the problem, so I guess I will have to make this change on each of the lab
files I update from here on out.
John
[quoted text, click to view] "Norman Yuan" <NotReal@NotReal.not> wrote in message
news:eUsFIJAwGHA.724@TK2MSFTNGP05.phx.gbl...
> OK, from your previous post, your app is ASP.NET app. So, the
configuration
> of the web app or IIS configuration may have changed for some reason. You
> must know which user account is used to run the ASP.NET APP and this user
> account must have appropriate access permission to the SQL Server. By
> default, the user account is MachineName\ASPNET.
>
> "John Vaccaro" <jvaccar1@tampabay.rr.com> wrote in message
> news:um4oba%23vGHA.2284@TK2MSFTNGP02.phx.gbl...
> > Pardon the typo. VS 2002 and I can get a connection and view the
databases
> > in the Server Explorer, but nothing else will connect. And, yes, SQL
> > Server
> > Express is starting correctly when the PC boots.
> >
> > John
> >
> >
> > "Norman Yuan" <NotReal@NotReal.not> wrote in message
> > news:#Y6UVz9vGHA.1288@TK2MSFTNGP02.phx.gbl...
> >> OF course you cannot connect to SQL Server from VS2000, because VS2000
> > does
> >> not exist.
> >>
> >> Seriously, you probably meant one of VS2002, VS2003 or VS2005.
> >>
> >> You may want to make it clear which cannot to connect: the application
> >> (ASP.NET app) or your VS200x itself (from "Server Explorer")? Are you
> >> sure
> >> the SQLServer Express's SQL Server service starts correctly when you
> >> start
> >> your computer?
> >>
> >> "John Vaccaro" <jvaccar1@tampabay.rr.com> wrote in message
> >> news:uzg33a9vGHA.4876@TK2MSFTNGP04.phx.gbl...
> >> > On Friday, I was working on a project and was able to access SQL
Server
> >> > Express and get all the data I needed from the database. Today, I
went
> > to
> >> > access the same data that I accessed on Friday, and now VS tells me
> >> > that
> >> > SQL
> >> > Server does not exist or I don't have proper permission. Nothing has
> > been
> >> > changed in SQL Server Express or the application. Both VS and
> >> > SQLExpress
> >> > are
> >> > on the same workstation. I have been accessing data from SQL Express
> >> > for
> >> > about two weeks now and everything has been working until today. I am
> >> > using
> >> > this setup on a Windows 2000 Pro workstation w/SP 4 in order to get
my
> >> > MSAD
> >> > certification since the course requires VS 2000.
> >> >
> >> > Has anyone run into this problem or does anyone know of a fix? I have
> >> > double
> >> > and tripple checked the login accounts for ASPNET (used by VS 2000)
and
> >> > everything there is set correctly.
> >> >
> >> > Thanks for any help,
> >> >
> >> > John
> >> >
> >> >
> >>
> >>
> >
> >
>
>