473,385 Members | 1,907 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,385 software developers and data experts.

Missing Code Behind ASP.Net 2.0

Hi,

I'm fairly new to ASP.Net. I have Visual Web Developer 2005 Express.
Except for the default.aspx, whenever I create a new Web form, no code
behind (aspx.vb) page is created. The same thing is happening for
master pages.

I have exited Visual Web Developer 2005 Express and restarted it, and I

have rebooted the PC, but the problem persists.

I have tried to create my own code behind pages from scratch, but then
I get an error that <filename>.aspx.vb could not be found. Closing and

opening Visual Web Developer 2005 Express helped after I fiddled with
the code (it doesn't help that all my books are ASP.Net 1.0 - the 2.0
books are on the way). I got rid of the error for one webform code
behind file, one master code behind file, but not the sub master code
behind file.

Anyway, I'd like to find out how to get Visual Web Developer 2005
Express to create the code behind files for me, but if not, at least
what to do to create them manually correctly in version 2.0. I've
searched the newsgroups to see if anyone else has experienced this, but

can't find any references to it. I've been reading my books and other
articles on line, but can't find anything to solve the problem.

Any help is appreciated!

Peggy

Dec 8 '05 #1
1 1813
Firstly, make sure you click the "Show All Files" button at the top of
the Solution Explorer. Perhaps you just can't see the code behind
files.

Secondly, unless you have changed it, I believe that ASP.Net 2.0 now
defaults to a code inline model instead of code behind. Check out this
article for more information:

http://www.ftponline.com/reports/vslivesf/2005/onion/

Dec 8 '05 #2

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

Similar topics

3
by: DD | last post by:
Hi > Ok, i have loaded the appropriate code to call the Browse Save As > dialog box > > I click a Btn from my Access form then the Dialog box appears i can > choose any file However i want to...
10
by: John | last post by:
Hi all... Either I'm doing really something really stupid - or maybe there is some bug somewhere (optimizing?). In a function I have: int x1, y1, x2, y2; float dR, dX, dY; dR =...
0
by: David Krussow | last post by:
I had an aspx page (mypage.aspx) with a code behind file (mypage.aspx.cs) that in turn had a resx file (mypage.aspx.resx). I decided to create another aspx page (myotherpage.aspx) that would reuse...
8
by: Hilmar Demant | last post by:
Hi, i want to create a simple asp.net-applikation, so i choose new c# project - asp.net-webapplication. After creating the project files on the webserver a message appears: The class file...
2
by: Chris | last post by:
I know this is a dead horse I'm beating but why is it so impossible to ask for functionality in the HTML tag to open a window/page more controllable? why is: <a href="somepage.aspx?value1=xyz"...
0
by: Chris | last post by:
I finally got my report to be recongized, that login issue is terrible. Using VS.NET 2003, created report inside of it. Now when I attempt to display the report is blank (missing data, though I can...
14
by: Ronald S. Cook | last post by:
I've been weaning myself off of Hungarian notation because that's what Microsoft is telling me to do, and I want to be a good little MS developer. But things keep coming up that make me miss my...
4
by: CKKwan | last post by:
Dear All, I have migrated a VS2003 ASPNET project to VS2008. Strange issue, there used to have a DLL in the bin directory which containts all the code behind page. But now it gone missing. The...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.