Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

building a website with Visual Studio express edition

Status
Not open for further replies.

treviboy

Programmer
Dec 18, 2006
70
US
hi,

I am having problems understanding what I need to do in order to build my web site then have it work on a server.
I thought I could just copy everything over. What exactly do I have to do? I am a total dumbo in this area. I found articles where it says I only have to "copy the files over"-( all files??) ... I did that and it doesn't work. Can anybody point me to some simple documentation please!!!!
Because I am using Visual Studio Web developer express edition, I don't have a "publish" option. Any help would be greatly appreciated.

Thanks.
 
Without knowing all the specifics of where you are putting the files, the first thing you may want to check is the IIS settings. Make sure it is set up as an application (Properties > Create button 'next to the Application Name'). Also make sure that if you are running .net 2.0, that the virtual directory is set as (Properties > ASP.NET > ASP.NET Version) 2.0. Hope that helps!


Ron Wheeler
 
Thanks for your reply. My files are in a directory under Visual Web Developer- They're not in IIs\ directory. Should they be? But if I go to the address line and type in I can make it run from there. Where am I supposed to be if I do as you say "Make sure it is set up as an application (Properties...,.".etc ? I'm sorry Im so dense.
Should I move my folder in the IIS\ directory?

Thank you for your reply.
 
On the server, you would put it in the inetpub\ directory, the in IIS, you would set those settings. When you open IIS on the server (assuming it's your server and not a hosting), expand the Default Web Site, and right click on your application's name. That's where you'll see the Properties > ASP.NET, etc.

Ron Wheeler
 
Hi,
Not to confuse you, but the physical folder location need not be a subdirectory under ( in fact, most security folks will tell you that it should not be located there)..

In the IIS manager create a new Virtual Directory on the default web site and browse to the physical folder where your files are..Set it to allow both read and script execution...The check its properties to be sure that is 'seen' as an application.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Thanks both of you for this. I think I have a better understanding now. I am having build problems.
I have a file or actually many files that start with "App_Web". There's a typo in one of them in one of the imports statements. I tried to modify it, but I can't seem to change it. I keep generating more "App_web".. files instead! I don't know what's going on. Does the "App_Web" file get the import statement from one of my web pages? How does that work and how can I fix it?

thanks.
 
I know this is an old thread, but it is worth mentioning that Visual Web Developer / VWD Express has it's own ASP.NET 2.0 server you can use to 'test' your web apps with, without having to install/configure IIS. Check out the debugging tools in VWD and you'll be happy.


~Melagan
______
"It's never too late to become what you might have been.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top