error lunching ASP.net Web application from server

Hi experts
i have worked on ASP.net Web application in my local host and it worked perfectly, when i copy the application folder to the Test server with IIS 8 it worked the first time but every time i modified a page in my local and move it to server i can not see the changes,
when i created ASP.net Web site i dont face any issue with that, can you please provide with the correct way of copy web application to another server?

thank you
LVL 1
AZZA-KHAMEESAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

systechadminConsultantCommented:
Can you please provide the error which you are getting?
0
AZZA-KHAMEESAuthor Commented:
i am getting code error, which was solved in my local machine, i copied the page to the server but its not refreshed in the server,
0
AZZA-KHAMEESAuthor Commented:
even if i comment all he code behind its not refreshed
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

systechadminConsultantCommented:
After uploading the code do a IIS reset to take the changes
0
AZZA-KHAMEESAuthor Commented:
No
0
systechadminConsultantCommented:
ok you will need to provide more information on this. what is code error you are exactly getting? can you attach the screen shot.
0
AZZA-KHAMEESAuthor Commented:
i am getting run time error

Server Error in '/' Application.

Runtime Error
 
so i enabled the custom error
then i got another error
errorfrom the iis server
0
Prakash SamariyaIT ProfessionalCommented:
Does your web app runs correctly from your visual studio (locally)?

There might be couple of reasons like
1. There might be some missing things (like end tag etc.) in web.config!
2. Your web application might configured with incorrect ASP.NET versions!
3. Application Pool settings might not correct!

---Correct Way---
If you are manually copy paste your web application, then you need to make sure only changing content should paste and not the whole things again and again! (like if you change content of one aspx file(not cobehind), then you copy paste only aspx; if you change codebehind, then copy respected DLL as well)

Alterwate way is to publish directly from VS! Please check link for that: https://msdn.microsoft.com/en-us/library/dd465323(v=vs.100).aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.