Click here to Skip to main content
15,037,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I have a web application developed in .net and deployed in IIS so that other systems on the LAN can access the application easily. It was all working fine but suddenly when i did some modification in application deployment services under world wide web under IIS in windows features on/off then my application unable to access database. I have checked everything i am able to access the same database in SQL server management studio.

Please help me
Posted
Comments
DamithSL 8-Apr-15 1:03am
   
what is the error you get?
Member 11589183 8-Apr-15 1:16am
   
hey thanks for reply, i am getting no error. as i have exact copy of the project which is uploaded on iis and i have checked that but its working fine

It might be a permissions issue - https://www.webwiz.co.uk/kb/asp-tutorials/server-permissions.htm[^]. You should be able to read the files where you are storing your connection string and other database connection properties.
   
Comments
Member 11589183 8-Apr-15 1:43am
   
i have given permission to folder which contains database file and asp.net pages also given same permission to database file and asp.net pages separately as well but still the same problem...
Member 11589183 8-Apr-15 1:45am
   
is there any way to check error is in which particular portion? actually it is hosted in iis right now and shared in LAN so how to check error
Member 11589183 8-Apr-15 2:23am
   
nothing is happening plz help
Member 11589183 8-Apr-15 2:27am
   
In iis manager i checked the permission for my website i have given permission to iusr, iis_iusr, everyone to read and write but still nothing happening
Member 11589183 8-Apr-15 3:12am
   
I have just checked SQL server agent is stopped in sql server configuration manager is this creating problem?
I have resolved my problem and it was very silly actually the problem with in the iis application pool i have stopped the application pool of my application and then started and the problem solved....!!!!
   
v2

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