|
What server software is it? If it is IIS (Internet Information Services), it comes with NT, 2000, and XP Pro. All he has to do is install the .NET runtime and it should install it. I am not sure if PWS will support ASP.NET. If it is non MS software chances are it won't work.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Do you know any place where ASP.NET is supported?
I mean, where can I put my ASP.NET site? Does XOOM or Tripod support ASP.NET?
Do you know any place that do support it!?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
I haven't found free ASP.NET hosts yet, but if I find one I will let you know.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Aah!
Thank you very much! (but don't forget it now! )
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Rickard Andersson wrote:
but don't forget it now!
It is marked in my inbox
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Is there any configuration to use MSDE and IIS? I can access the database through Web Matrix but I cannot get it to access through a page on IIS.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Shouldn't have anything to do with IIS. If the connection string is setup properly in your code you should be able to connect to the database.
|
|
|
|
|
This is my connection string
SqlConnection myConnection = new SqlConnection("server=MATT\nsDB;database=NSUsers;Trusted_Connection=yes");
SqlCommand myCommand = new SqlCommand("select * from Test", myConnection);
myConnection.Open();
MATT is the computer name (I also tried the IP address in it's place)
nsDB is the named instance of the SQL server
and Test is the table name. When I try to open the connection I get
SQL Server does not exist or access denied.
It gives me this stack trace:
[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.SqlConnection.Open() +761
ASP.datacontrol_aspx.Page_Load(Object Src, EventArgs E) in c:\inetpub\wwwroot\dotnet\redo\user\datacontrol.aspx:14
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Page.ProcessRequestMain() +724
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Try adding user id and password to the connection string. I believe the problem is the connection is trying to be made using the ASP.NET account and useless you've added it a DB user it can't connect.
|
|
|
|
|
Mark Nischalke wrote:
the connection is trying to be made using the ASP.NET account and useless you've added it a DB user it can't connect.
I'm not sure what you mean here
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
I have written some ASP.NET code that uses some TextBoxes and Buttons but I can't see them when I open my .aspx file in IE!!!
It seem like I don't have ASP.NET support, right?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C# and C++!
|
|
|
|
|
You need IIS with ASP.NET installed. If you don't have IIS, and using WebMatrix, it comes with a server that you should try out.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Matt Newman wrote:
If you don't have IIS, and using WebMatrix, it comes with a server that you should try out.
WebMatrix? If it comes with VS.NET I think I have it... but if not,.... I don't have it!
I installed everything except from everything that had with VB.NET to do!
hm... if I install Microsoft Personal Web Server, do I get everything that I need to get my ASP.NET code to work?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C# and C++!
|
|
|
|
|
WebMatrix is not included with VS.NET. For lack of a better analogy it is FrontPage for ASP.NET.
Did you install the ASP.NET components on your webserver?
|
|
|
|
|
Mark Nischalke wrote:
Did you install the ASP.NET components on your webserver?
Do I have a web server?
Just tell me (step-by-step if you can) how to get my Blah.aspx files to work on my computer!!
I'm new in ASP.NET
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C# and C++!
|
|
|
|
|
I have figured it out now!
Thanks to ya!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C# and C++!
|
|
|
|
|
I wish someone would post instructions. I tried out the ASP.NET Web Matrix thingy yesterday and was rewarded by HTTP 500 errors and a BSOD. No clues or decent error messages - just crash and burn. The runtime is installed, the .NET framework is there... nothing works. Grrrr...
There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
|
|
|
|
|
I tried it too!
When I opened a HTML page and viewed the code and then watch it in Design mode my table was gone(?)... weird... so I will write the code in Notepad and test the pages with the server that comes with WedMatrix!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Rickard Andersson wrote:
When I opened a HTML page and viewed the code and then watch it in Design mode my table was gone(?)... weird... so I will write the code in Notepad and test the pages with the server that comes with WedMatrix!
Remember it is just a technology preview release
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
You're right!
But one thing: If I install the .NET Runtime and use Apache... do I have ASP.NET support then!?!?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
I'm not sure but I think the ASP.NET runtime only installs if IIS is present. It would be nice if MS would let other software run it but then again it is Microsoft.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
Matt Newman wrote:
It would be nice if MS would let other software run it but then again it is Microsoft.
It would be nice if it ran on just IIS - but it doesn't
There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
|
|
|
|
|
Roger Wright wrote:
It would be nice if it ran on just IIS - but it doesn't
All I did is install all IIS updates etc and installed the .NET runtime and it is supposed to automagically install it.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
I did the same - installed the latest updates, the runtime, and the tool. I went thru the Hello World tutorial, but skipped the first two steps using the included server stuff and went straight to the IIS-hosted procedure. Every attempt resulted in an internal server error, and a few minutes later while I was trying to post a question in the online forum, it blue-screened on me.
It's just as well for now, as the hosting service I sell doesn't support .NET yet. No rush... It's a nice looking, easy interface, though - I do hope they work the bugs out soon.
There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
|
|
|
|
|
Roger Wright wrote:
It's a nice looking, easy interface, though - I do hope they work the bugs out soon.
Once you get it working it is pretty nice. I hope you figure your troubles out though
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|