views:

106

answers:

4

Dear all,

i am new to asp, can you please tell me how to run an aspx page at server.

i have created a sample asp page in my machine,now i need run the .asp page in server. can you people tell me the steps to run. i mean what all the asp file needs to get copyed to server, do we need to make any changes to web.config file?, which folder we need to keep in server to execute it. how do i achieve all these?..

i googled a bit, but it was not much helpful...

in server i have created a virtual directory, IIS is installed, rest i dont no.. how to do.. please let me know

Thanks GrabIt

+1  A: 

You need to either use the default website on IIS or set up a new one. After that it can be as easy as just copying your site in the directory your website set up to.

You can configure IIS if you right click on the My Compute icon, and choose Manage, then find the web server towards the bottom.

Try to search MSDN for more, or codeproject.com or this site, and look for aspx IIS set up.

Gyuri
+2  A: 

to deploy your application to a server.

You would have to have a server with IIS installed and ASP.NET enabled(and working).

You should take the folder in inetpub and copy it to your server and that's it.

If your project is name foobar, there should be a directory name foobar in c:\inetpub\wwwroot\ copy that to your web root in the server and you are done.

Visual Studio provide some way to do it in the GUI, you can see the article for more details

RageZ
Ok.. thanks, ill look into it and get back to you soon.
Shadow
A: 
MSIL
+1  A: 

Your question title should be "How to deploy a asp.net website" to get right answer. You can check following links for the same -

http://msdn.microsoft.com/en-us/library/1y1404zt%28VS.80%29.aspx // Very easy walk-through tutorial http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx // To understand all options of deployment

Deependra Solanky
Thanks,it worked
Shadow
You're welcome. This is first time my answer has been accepted as best answer.
Deependra Solanky