Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on an ASP.NET 4.5 project. My project manager told me to host the website on locally so that it can be made accssible through LAN/WLAN. I am using IIS 8 to host the website.
Also told me the changes that i have to made in connection string of the sql server database so that it will work.
Posted
Updated 11-Jun-15 21:59pm
v2
Comments
Sergey Alexandrovich Kryukov 12-Jun-15 3:07am    
Just think about it: what's the difference for the server from what network it will be accessed?
—SA
DamithSL 12-Jun-15 3:08am    
what have you tried so far? any errors when you access your web site after deploy on iis 8 from the same computer? any errors when access from other computer in same network?
venkatesh@India 12-Jun-15 3:50am    
Just you add the project in IIS.After adding your project set ip address in that properties.
jdeep84 12-Jun-15 4:13am    
Hi There,

You have mentioned that you changed your connection string, are you using Windows Auth to connect to SQL server if so, there are some in impersonation things needs to be carried out to explicitely get access to the database. If it is SQL Auth, its quite simple as that.

And sometimes, we cannot access sites using machine/domain name, so give it a try using IP of the host machine.

Let me know how it goes.

Regards,

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