|
-
Apr 30th, 2004, 10:35 PM
#1
Thread Starter
Fanatic Member
Creating a VB.NET ASP.NET Web application?
Hello,
I just took a couple of .NET courses and they went over how to create an ASP.NET web app using C# or VB.NET, but it was by using the http://localhost/... and IIS. That was about as far as it went. I was thinking that since there is an http:// when you are creating the project, that you can use an ASP.NET enable web host to create your application right on the web. Is that right? If I have an ASP.NET enable web host such as http://www.domain.com, can I just create my application straight to there rather than creating it locally on my harddrive and then uploading the files?
I ask this because I have purchased an ASP.NET enabled webhost and things are not going as expected.
Thanks!
-
Apr 30th, 2004, 11:26 PM
#2
Frenzied Member
No, you would still have to create them and test them locally, then upload them.
Being .NET enabled just means they have the .NET framework installed.
But they don't necessarily have any means of creating .NET apps.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
May 1st, 2004, 10:48 AM
#3
Thread Starter
Fanatic Member
Thanks...I have the IIS installed and I have created ASP.NET apps before, but now I am getting this message. Can you tell me what it means and how to fix it?
-
May 1st, 2004, 11:55 AM
#4
PowerPoster
Originally posted by Memnoch1207
No, you would still have to create them and test them locally, then upload them.
Being .NET enabled just means they have the .NET framework installed.
But they don't necessarily have any means of creating .NET apps.
That isn't true.
I have done it. You will have the solution file locally, but the app files will reside on the server. It took me a bit to get it to work well, and I had to enter a username and password every time I opened the solution (which I would expect).
Try connnecting using the frontpage extensions instead of the default way it does. Give me a few minutes, and I will write up how I did it if I can reproduce it.
Just a side note, not all hosts will support this feature because it relies on some server technologies as well.
-
May 1st, 2004, 11:56 AM
#5
Frenzied Member
Seems as though it is telling you it can't create the .NET application, because your webserver (IIS) isn't running.
My mistake, I guess I was under the impression he was actually wanting to develop on the server itself.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
May 1st, 2004, 12:07 PM
#6
PowerPoster
Click new project on the start page when you open the IDE.
Click the language of choice, then choose ASP.Net Web Application type of template.
In the location box, type your URL. I typed in: http://www.variantx.com/NewTest
I clicked OK, and I got a warning that my web server is using version 1.0, not 1.1 like I am running locally. This is no big deal to me, so I clicked the Make application compliant with ASP.Net Version 1.0
It was chugging for a little then I got a web access failed dialog.
I then selected the Try to open the project with front page extensions and click ok. I got another ASP.Net 1.0 warning like above, I selected the Make application compliant option again and clicked ok.
It asked for a username and password, this is for the server, not your windows account. Enter it and click ok.
It takes longer than normal, but the project is built, and everything is ready.
There are some things to consider. It is slower when you work remotely like this. Understand that these files are being transfered back and forth. Also, remember that you don't have a local backup copy at all. You will probably want to copy your files back to your dev computer some time.
Good luck.
To prove it worked, go to http://www.variantx.com/newtest/webform1.aspx
-
May 2nd, 2004, 07:38 PM
#7
I wonder how many charact
Originally posted by birthjay
Thanks...I have the IIS installed and I have created ASP.NET apps before, but now I am getting this message. Can you tell me what it means and how to fix it?
As Menomoch pointed out, you need to start your webserver.
Go to Control Panel... Administrative Tools... Internet Information Services.
On the left-side treeview that appears, expand the treeview until you see Default WebSite... then click the PLAY icon.. or right-click Default Web Site.. and click Start.
If you don't have IIS, just so you know, you need 2000 or XP PRO for this purpose. And if you don't see it, you may need to add IIS through Control PAnel... Add.Remove Programs.. Add/Remove Window Components
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|