Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2005

Tip: Looking for answers? Try searching our database.

Help... Just installed Visual Studio .Net 2003 and can't get samples to work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 08 May 2005 01:21 GMT
Hi... I am new to this so appollogies if I am asking in the wrong place...
If not could someone please point me in the right direction. This is driving
me crazy, I only logged on to have a quick play and that was hours ago...

I have just installed  VS.net 2003 (full install) and have a couple of
problems I expect these are common newbie problems). I am running widows xp
sp2 and sql server 2000...

1) I can't access the on-line "quickstart" tutorials. The folders were
created succesfully on my IIS but all I get is "you are not authorised etc.
I am logged on with full admin rights etc.

2) When I try and run the samples (e.g. the datagrid) I get the following
error

"An unhandled exception of type 'system.data.sqlclient.sqlexception'
occurred in system.data.dll additional information: system error"

I can connect just fine from the same machine to the server via Access and
have even tried copying the .exe to the server (with the connection string
set to local etc.) but nothng works :@(

Thanks very much :@)

Mark
Alvin Bruney [MVP - ASP.NET] - 08 May 2005 14:50 GMT
can you display a simple page? start with that first. open a form, drop a
component on the form and run it into debug mode. If the form shows up
correctly, then you can eliminate vs studio installation errors and focus on
permissions errors with sql.

Signature

Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc

> Hi... I am new to this so appollogies if I am asking in the wrong place...
> If not could someone please point me in the right direction. This is
[quoted text clipped - 22 lines]
>
> Mark
Mark - 08 May 2005 20:02 GMT
Alvin

Thanks for that... I can create forms etc. and am able to access sql server
through ADO. I think you are right about the permissions. I would very much
like to get the samples working but I'm not sure where to start. I am logged
on with full admins etc. I would also like to be able to view the quickstart
pages that were installed on my IIS...

Shouldn't this sort of thing be easy bearing in mind I installed everything
from microsoft (while logged on with full admins) according to the
instructions?

Thanks again

Mark
Alvin Bruney [MVP - ASP.NET] - 11 May 2005 23:21 GMT
It doesn't matter what you log in as, ASP.NET runs under a separate account,
definitely not the admin account. First, make sure IIS is running and setup
correctly. it doesn't hurt to run an aspnetregiis -c (not sure of the
option) at the command prompt to make sure things are warm and fuzzy for
ASP.NET. Then point your browser to http://localhost/localstart.asp if that
works, then you should be able to modify the path to quickstart to have it
work. You would need the correct extension since IIS wouldn't know what
quickstart is so something like http://localhost/quickstart.aspx should
suffice.

Signature

Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc

> Alvin
>
[quoted text clipped - 11 lines]
>
> Mark
Mark - 12 May 2005 23:14 GMT
Alvin

Thanks for that. The IIS install was / is running fine. It turned out that
the directorys where the quickstart stuff was installed didn't have adequate
permissions. The set-up is never connected to the outside world so I just
cheated and granted pretty much everything to everyone :@)

Thanks again

Mark

> It doesn't matter what you log in as, ASP.NET runs under a separate
> account, definitely not the admin account. First, make sure IIS is running
[quoted text clipped - 5 lines]
> extension since IIS wouldn't know what quickstart is so something like
> http://localhost/quickstart.aspx should suffice.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.