Web page issue

We run Visual Studios.NET coding on a test machine and it compiles with no errors and runs all of our modifications without issues but when we upload the new coding to our Intranet site and someone does a search on a particular field on an asp page it goes to the IIS webpage of the test machine and not the desired webpage of the IIS Intranet server??  We upload code all the time and this is not may files that have changed and never had this issue.  We have debugged the new coding, tried breakpoints, step throughs but we are not finding where it is going to the webpage of the creation machine.  Any assistance offered would be greatly appreciated.  
regsampAsked:
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.

FocusynCommented:
You apparently have a hard-coded reference to the development machine.  Try opening the source code back up in Visual Studio and use the find and replace feature - search for the test machine name and make sure to select "all files in solution" as your search parameter.
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
WelkinMazeCommented:
Also it is possible that the IP of the test machine is hardcoded.
0
Leo EikelmanDirector, IT and Business DevelopmentCommented:
Unless you have a service locator built in that finds the MACHINE that you are running on you are probably still targetting the development machine.  Check the link and see if

http://developmentmachine/URL 

is changed to

http://newmachine/URL

Leo
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

regsampAuthor Commented:
Did a complete search and found one reference in some old coding to a link to the development machine but it is not part of any file or folder that gets uploaded and should be causing this but maybe will have to upload and then check that file and line of coding to test.  
0
WelkinMazeCommented:
Maybe there is some old piece of code left on the productive machine that spoils the whole thing...
0
FocusynCommented:
Also check file references, i.e. included dll's etc.  If it only happens when using certain search fields, I'd guess it's somewhere in the search routine, probably in a select case or other dynamic call. I agree with searching by IP as well.  Good point also about possible IIS or DNS/host setting on prod machine.
0
regsampAuthor Commented:
Check the coding and it seems okay but noticed that everything works well until the Bin folder is uploaded and then it points to the development machine URL.  
0
WelkinMazeCommented:
so maybe the url is encoded in the binary files so the search does not find it. Maybe you can search in the sources that produce the binary files. Also to look for the IP address of the dev machine, maybe it is hardcoded.
0
regsampAuthor Commented:
I searched and found one instance of it being redirected to the URL in the dll and had to recompile the solution, upload and it worked.
0
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
Programming

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.