Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to deploy asp.net web application on iis which is using sql server database i want deploy this kind of application from another machine on windows 8 where visual studio and sql-server are not installed,so can any one guide me for the same??please



Thanks in advance
Posted

Yes, Its too easy ...
Asp.net Application does not depend on Visual Studio or SQL Server. Its Depend on IIS. You can Deploy your application to any machine which have IIS configured.

In another part you can setup your SQL Database on another machine and set the machine IP (SQL HOST Address) on your Asp application web.config file.

Please remember that your IIS machine and Sql Server machine interconnected by LAN or Internet.
 
Share this answer
 
Comments
Madhav Gunjal 29-Dec-15 1:39am    
thanks Debojyoti for ur kind reply,can u please tell me the process which i need to follw for database connection, please.....
Debojyoti Saha 29-Dec-15 1:44am    
yes, why not...
Please follow the link ..
http://www.asp.net/mvc/overview/getting-started/introduction/creating-a-connection-string
Debojyoti Saha 29-Dec-15 1:47am    
orhttp://www.c-sharpcorner.com/UploadFile/nipuntomar/connection-strings-for-sql-server-2008/
Madhav Gunjal 29-Dec-15 4:34am    
what will be the connection string name in web.config file because what I have done is that ,I kept older connectionstring name and then I have changed oethr string as per that link
Debojyoti Saha 29-Dec-15 5:15am    
Please post your older connection string then I'll suggest you the new one.
If you have ASPX and DLLS files with you then you can directly make a virtual directory and deploy your code as easy. OR

There are a number of publishing mechanisms you can look into to publish your website without Visual Studio, webdeploy is also a good way to do it, Web Deploy (msdeploy) simplifies deployment of Web applications and Web sites to IIS servers
see below link
Web Deploy 3.5 : The Official Microsoft IIS Site[^]

But if your code uses database then it should be present on Application server
 
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