You didn't mention compiling the application, so I can only guess that you
"Stephen Solt" <stephen.solt@sheppardrobson.com> wrote in message
news:1130243680.860400.182050@z14g2000cwz.googlegroups.com...
>I was developing a small web in Dot Net2005 Beta2 using .aspx files
> with .vb code behind. I had a presentation coming up and thought that
> this should be on a production server. I had some difficulty publishing
> the web so I set up the destination folders in Explorer and web in IIS
> and copied everything over and got it working.
>
> The presentation was postponed and I made some unsuccessful changes to
> my development web. When I decided to abandon this, instead of getting
> the files from backup, I just copied all the files back from the
> production server, went into the IDE and continued to tweak the HTML.
> When I wanted to edit one of the code behind pages, I discovered it
> wasnt in the folder with the aspx files and clicking on view code
> didn't do anything, But I can see that the code behind is still in
> effect because the pages are behaving as they should.
>
> When I restored Home.vb from backup the IDE showed it associated with
> Home.aspx and I could edit it. However, none of the changes had any
> effect. My web is still responding to invisible (cached?) code, not the
> actual files..
>
> I daren't rock the boat until after the rearranged presentation: at
> least it is all working! I will need to understand what is going on and
> restore my development environment, however.
>
> I've looked at this post
>
http://groups.google.com/group/microsoft.public.vsnet.general/browse_frm/thread/4c9d470e9c477a1e/a929194f06a45c68?lnk=st&q=missing+code+behind&rnum=3&hl=en#a929194f06a45c68
>
> I've ensured that in Explorer folder options web files are shown
> individually and even that hidden files are shown. Unless I'm missing
> something, this is a different problem (although it sounds similar).
> Any ideas?
>
> Stephen Solt
>