Click here to Skip to main content
16,015,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have developed a asp.net and used mssql server for background.
Now I want to host it on my friend laptop IIS.So pls tell me is there any need to install visual studio and sql server on there laptop.
Pls help me.
Posted

You never need to install Visual Studio. For your information, not only you can run applications without Visual Studio, but you don't need it to build your solutions. The C# and VB.NET compilers are supplied with (freely re-distributable) .NET Framework, which is what you need.

As to SQL server, it depends. Do you know that it's based on the client-server technology? So, if your application works with the remote server, it is, well… is already installed. In other cases, you need to provide it, too. How about SQL Server Express? It is also freely downloadable and distributable:
http://en.wikipedia.org/wiki/SQL_Server_Express[^].

—SA
 
Share this answer
 
Comments
nira.parmar 9-Sep-13 2:17am    
Thanks you. I have one more question ,I want to create a windows application in .net and sql server in background.When i installed it on other laptop, how database will managed?
Herbisaurus 9-Sep-13 2:20am    
Database management can be achieved via MS SQL Management Studio (it's a free download).
It can be done remotely - meaning you can manage a remote SQL on a machine that has Managemenet Studio installed :)

link to download Management Studio Express 2012: Click to download
Sergey Alexandrovich Kryukov 9-Sep-13 2:51am    
Good note, thank you.
—SA
Herbisaurus 9-Sep-13 2:19am    
*****
Sergey Alexandrovich Kryukov 9-Sep-13 2:50am    
Thank you.
—SA
Hello

U need to install below software
- IIS
- Framework(2.0/4.0) related to develop your application
- SQL server if u used the database

Go Ahead !! :)

Thanks
 
Share this answer
 
Hi Nira,

First you need to publish the website with release configuration.
Then you need to install the IIS on your friend's laptop. To intall IIS on windows 7 follow these steps.
1. Go to Control panel > Programs and features.
2. In left pane click on Turn windows features on or off.
3. In the Listed features check Internet Information Services and Internet Information Services Hostable Web Core.
4. Just leave the default configuration and click on Ok.

Now you have installed the IIS.
Install Sql Server version that your website supports.
Now place the publish website in any drive.
Remember do not need to install the whole Visual Studio on target machine just install the .net framework version in which your website is developed(note: you need to install addins explicitly that are not installed with .net framework default configuration.)

Now, its time to host your website in IIS.
1.Go to IIS.
2.Select Default website.Right Click on it and select Add Application.
3. Provide Alias for website, choose application pool and physical path of your website.
4. Now click on connect as > select the Specific User > provide username and password >OK
5. Clik on Test Settings.If both condition is passed, then your are ready to browse website on target machine.

Hope this helps!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900