473,407 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

moving to 1.1 - codebehind not compiling

I migrated to 1.1 Changes I make to the aspx page are fine, changes to
codebehind page are not reflected after I compile and view in the
browser. I deleted all the files from the cache directory on the
server.
Nov 18 '05 #1
5 1466
If you want instant results after updating source outside Visual Studio, you
should use Src instead of Codebehind in your page directives. Codebehind is
something Visual Studio recognizes and works with, it means nothing to
ASP.NET hence ASP.NET won't find your code when it is time to recompile.

The docs say that Visual Studio will choke on the Src attribute, I don't
know if you would get away with using both Src and Codebehind. Check it out
and tell us how it really works.
"Dude" <ho********@yahoo.com> wrote in message
news:5a**************************@posting.google.c om...
I migrated to 1.1 Changes I make to the aspx page are fine, changes to
codebehind page are not reflected after I compile and view in the
browser. I deleted all the files from the cache directory on the
server.

Nov 18 '05 #2
I am using studio.net 2003

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
> I am using studio.net 2003

Then rebuild your application after you made the changes.
Nov 18 '05 #4

I did...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5
> I did...

I knew you were going to say that.

- Do you see a virtual directory named after your web project in IIS ?

- Do you have a bin directory in your web project directory?

- If you do have that bin directory, you open a command prompt in your
project directory and you rebuilt your page manually like:

csc /t:library /out:bin\yoursourcefile.dll yoursourcefile.cs

do you then see the updated page in your browser? (if you use Visual Basic
instead of C#, replace any cs occurence with vb)

Martin.
Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael | last post by:
Hello, I'm trying to implement sample I found on page templates, so I do not have to maintain "<html><head>..." on all my documents. But don't let that confuse you, this is an inheritance...
2
by: MAG | last post by:
Hi, After using an assembly compiled into a DLL and added to the assembly cache for several months, we decided that it was too much trouble to maintain because of all the steps involved with...
2
by: mavrick_101 | last post by:
Hi, I am an ASP developer trying to get my hands on ASP.NET. I have created a WebBased Application on my computer (LocalHost). Now I want to move it to site hosted by a hosting company. Do I move...
12
by: Wardeaux | last post by:
All, Wanting to find a way to create web pages to add to my website without having to recompile the codebehind everytime I want to add a new one... Here's the deal: I have a web app that takes...
4
by: Mat | last post by:
Hi, I am having a bit of a problem trying to access / set properties of a usercontrol from the parent codebehind. This is what I have so far.. simple.aspx <%@ Page...
0
by: Phoenix | last post by:
Hi, I figured this one out before and have forgotten the answer. I have an ..aspx page that has user settable options. When you click an option in the listbox for example, it should save that...
1
by: BJ-Mac Donel | last post by:
Please find the below error! This occure when i upload to server, but in my local file working really great, But if i change codebehind to src it is working well, but i also have problem with my...
7
by: Alex | last post by:
Hi all, I've been writing in ColdFusion for about 6 years now, and now that we've installed a Sharepoint Portal Server I'm finding that I need to use ASP.Net to make database calls. I'm finding...
3
by: nagesh | last post by:
hi guys, when we compiling the asp.net project, all codebehind pages gives you one dll. suppose if i write the code in .aspx forms itself then is it create a dll ? if i write the code in aspx...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.