Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Interdev "remembers" old code

Status
Not open for further replies.

NickBulka

Programmer
Aug 10, 1999
832
US
Has anybody seen a problem in Interdev, where, after changing code,&nbsp;&nbsp;it mysteriously comes back?&nbsp;&nbsp;We have this happening in a few places in our project.&nbsp;&nbsp;It seems to be trying to merge two versions of code.&nbsp;&nbsp;We've disabled integration with SourceSafe, thinking the problem was there, but it still occurs in our VI project anyway.&nbsp;&nbsp;To make it worse,&nbsp;&nbsp;the web page displays an error at line 202, when there are less than 200 lines in the page. <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
I think the thing is you arnt using InterDev properly, you may be updating the Master Copy outside of Interdev, then you end up loading a local copy or vice versa, it is usally important to only mess with the master trough interdev itself, and be aware in Local mode you have to manual update the Webserver. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Karl,<br>&nbsp;&nbsp;&nbsp;&nbsp;Thanks for the response, but I am using Interdev properly.&nbsp;&nbsp;I never run in local mode.&nbsp;&nbsp;I never change the file outside of Interdev.&nbsp;&nbsp;That's what's so frustrating.&nbsp;&nbsp;This happens not only to me, but also to the other 5 people working on the project.&nbsp;&nbsp;We don't use a shared web server, we all run PWS on our workstations.&nbsp;&nbsp;It always happens with the same files, no matter who is it that changes them.<br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Hmm very odd, I'm running on IIS4 here at work(doing master mode from Win98) and I run PWS4 at home. I havent seemed to run into the problem, but I will keep my eye out, does it only do it when the WebServer is PWS? <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Well, I don't know if it happens with IIS, because we don't have Interdev installed on the production server.&nbsp;&nbsp;I don't think that the web server is the problem,&nbsp;&nbsp;because the problem shows up as soon as you open the file in the editor,&nbsp;&nbsp;without ever running the code.&nbsp;&nbsp;It only happens in one of our projects.&nbsp;&nbsp;The others behave fine.&nbsp;&nbsp;If I figure it out,&nbsp;&nbsp;I'll let you know.&nbsp;&nbsp;I always wanted to respond to my own post the way you do!&nbsp;&nbsp;;-)<br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Hehe, well it may be possible that you updated the Master copy, and Interdev never saved the changes to the local file, so when opening up you see the old local copy that didnt download a new from the master, thats my theory. Try Right Click on the root, and chose Get Newest. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
We've already tried various combinations of things with master vs local copy.&nbsp;&nbsp;They're always the same.&nbsp;&nbsp;This is quite a mystery.&nbsp;&nbsp;I'll worry about it tomorrow.&nbsp;&nbsp;I'm going out for a couple beers.<br><br>Thanks for your suggestions, bud.<br><br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
It can happen some times <br><br>What idev does is it says that an outside application has modified your file that you just saved and asks you to get a newer version by it gets the version that is running at present on your webserver and updates yours to then what becomes your older version <br><br>so say no to accepting the newer version <br>some times even browsers can not show there changes rightaway<br><br><A HREF="mailto:webmaster@tripmedia.com">webmaster@tripmedia.com</A> <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
 
Thanks, Unicorn.&nbsp;&nbsp;I've seen that message,&nbsp;&nbsp;but unfortunately, in the case we're talking about,&nbsp;&nbsp;there's no message.&nbsp;&nbsp;VI just goes ahead and merges the code.<br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Hey Nick;&nbsp;&nbsp;I had a incident where I changed an ASP page and it would not change.. the old text kept comming back.&nbsp;&nbsp;So I copied the data off the page and deleted it.&nbsp;&nbsp;It was still there links and all.&nbsp;&nbsp;So I searched for it on the server and on my maching and deleted it there too.&nbsp;&nbsp;Well I started up the web and it was there!!!!&nbsp;&nbsp;I deleted all of my temp internet files... still no good.<br>I rebooted the server and it was gone.
 
Bigfoot,<br>&nbsp;&nbsp;&nbsp;You're the first person (outside of the people working on my project) that has encountered this strange behavior.&nbsp;&nbsp;Nice to know I'm not imagining things!&nbsp;&nbsp;;-) <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Hi, I had the same experience. When developing in VI especially in design mode, the things you do may not reflect in the source mode. Check your source mode to see if your code has changed once you have changed it in design mode. If it doesn't that manually change it by selected the view as text button. Hope this helps
 
Hi , I have the same problem whith de VI only for me&nbsp;&nbsp;the changes in the code happened after a time but only whit some proyects a think that this because the permission ahat do you thing?&nbsp;&nbsp;
 
My experience is the same - only certain projects show this behavior.&nbsp;&nbsp;I don't think it's permissions, as I run with full admin privileges, and the web server is on my development machine. <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Do ya think someone should email this thread to Microsoft?<br>Do ya?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top