G
grubas8
Hi everybody!
Is there some experienced ASP.NET 2.0 developer, who could answer some
newbie questions?
I am a complete newbie to ASP.NET 2.0 and Web programming, trying to
take my first steps. For this, I have bought a couple of books
("ASP.NET 2.0 for Dummies", "ASP.NET 2.0 Everyday Appsf for Dummies"
and downloaded some developer software:
- Microsoft Visual Web Developer 2005 Express Edition
- Microsoft Visual C# 2005 Express Edition
I have build and run some "Hello World"-type applications from the
first book, they seem to work OK. So far, I am doing it all on my PC,
not uploading anything to a remote website and using the build-in Web
server that comes bundled Microsoft VWDE.
Now for the problem.
I try to build the first app described in "ASP.NET 2.0 Everyday Apps
for Dummies" - a simple app for creating and managing user accounts.
It consists of a login page that contains a login control, a "Create
User" wizard and a few mor things. Successfull creation of a user
should lead to a different page. Mostly, it is an app for
demonstrating stuff like the Login control, the CreateUserWizard
control etc.
However, if I try to create a new user, nothing happens for perhaps a
minute and then I get a debug screen. It begins like this:
_____________________________
"Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x274c): A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress) +200
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +60
System.Net.ServicePoint.ConnectSocketInternal(Boolean
connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress&
address, ConnectSocketState state, IAsyncResult asyncResult, Int32
timeout, Exception& exception) +579
[WebException: Unable to connect to the remote server]
____________________
As I understand, the user accounts in ASP.NET 2.0 are handled by an
SQL database. Am I right about that? Do I need to download the
Microsoft SQL Server? I don't think it comes bundled with either the
Microsoft Visual Web Developer or Microsoft Visual C#. Am I right
about that? Do I guess right about the reason for failure? And the SQL
server - do I need to download it? Is there a way to check if I
already have it installed?
Thanks in advance for all advice.
Grubas
Is there some experienced ASP.NET 2.0 developer, who could answer some
newbie questions?
I am a complete newbie to ASP.NET 2.0 and Web programming, trying to
take my first steps. For this, I have bought a couple of books
("ASP.NET 2.0 for Dummies", "ASP.NET 2.0 Everyday Appsf for Dummies"
and downloaded some developer software:
- Microsoft Visual Web Developer 2005 Express Edition
- Microsoft Visual C# 2005 Express Edition
I have build and run some "Hello World"-type applications from the
first book, they seem to work OK. So far, I am doing it all on my PC,
not uploading anything to a remote website and using the build-in Web
server that comes bundled Microsoft VWDE.
Now for the problem.
I try to build the first app described in "ASP.NET 2.0 Everyday Apps
for Dummies" - a simple app for creating and managing user accounts.
It consists of a login page that contains a login control, a "Create
User" wizard and a few mor things. Successfull creation of a user
should lead to a different page. Mostly, it is an app for
demonstrating stuff like the Login control, the CreateUserWizard
control etc.
However, if I try to create a new user, nothing happens for perhaps a
minute and then I get a debug screen. It begins like this:
_____________________________
"Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x274c): A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
SocketAddress socketAddress) +200
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +60
System.Net.ServicePoint.ConnectSocketInternal(Boolean
connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress&
address, ConnectSocketState state, IAsyncResult asyncResult, Int32
timeout, Exception& exception) +579
[WebException: Unable to connect to the remote server]
____________________
As I understand, the user accounts in ASP.NET 2.0 are handled by an
SQL database. Am I right about that? Do I need to download the
Microsoft SQL Server? I don't think it comes bundled with either the
Microsoft Visual Web Developer or Microsoft Visual C#. Am I right
about that? Do I guess right about the reason for failure? And the SQL
server - do I need to download it? Is there a way to check if I
already have it installed?
Thanks in advance for all advice.
Grubas