Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have created one web application using MVC 3 Framework.

In web application there is one login form and home page.
The application is working fine in development environment.
I have deployed it on my local IIS , it is wrking fine.

My problem start now.
I am trying to deployed this web application On server(IIS).
Web Application deployed sucessfully on IIS.
ITs not giving any error while running.
I have installed .net framework 4 also on server.
problem is i am not able to lgoin using application which is working fine on my local machine.
Posted
Comments
thatraja 19-Dec-13 9:00am    
Check log files(error, event, etc.,)
♥…ЯҠ…♥ 19-Dec-13 10:05am    
Is it login issue or Application not running?
Pro86 19-Dec-13 23:45pm    
same code running on my IIS and development environment.
But when i depoyed it is not working.
It doesnt give any error also.

1 solution

Sounds like an issue with your database. Are both applications pointing to the same DB ? If they are not, you should make it so you can use your production DB to test your local code, to make sure that the production DB is up to date. Are you using the simple authentication DB that comes with MVC4 ( or an earlier equivalent ) ? If so, has the DB been created ? Have the users been created and the roles for the logins you're trying to use ? If not, if it's your own code, then something is different, but either way, if the code is the same, the DB is the issue.

You should add a table to your DB for logging errors and write a class to log things to that table. Then you can insert test code to log what is happening on your server, to work out where the code fails, etc.
 
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