CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 4/25/2007 1:24:55 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 21 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
DaveMc
Asp.Net User
VS.Net 2005 ASP.Net project problem with codebehind file...4/25/2007 1:24:55 PM

0

I hope someone can help me out here. I am running VS.Net 2005 SP1 on Windows Vista Ultimate (32-bit version) on my development laptop. My problem with web projects, is that I cannot create/access code-behind files for any new web forms that I add to the project. For instance, if I create a new ASP.Net application, the "Default.aspx" and "Default.aspx.vb" code-behind gets created by VS.Net just fine. But for newly added web forms, the only option that appears to be available to me, is to have the code created inline in the source view of the ".aspx" page that I add. Note, that when I choose to add a new Web Form to the project, that I ensure the checkbox is checked for "put source code in a separate file". 

However, if I then add a new web form and then try to access the code-behind for the newly added web form, I get the following error:

"Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\Web\VisualBasic\1033\WebForm.zip\CodeBeside.vb' "

I'm trying to go through Scott Mitchell's walk-throughs to learn VS.Net 2005 and this is killing me. Does anyone have any ideas, please?

Thanks in advance,

Dave

Benson Yu - MSF
Asp.Net User
Re: VS.Net 2005 ASP.Net project problem with codebehind file...4/27/2007 2:04:42 AM

0

Hi Dave,

 

I would like to know how you start the Visual Studio. Did you run it as administrator?

 

Microsoft recommends that when using Visual Studio 2005, you do the following:

 

  • Run Visual Studio with elevated administrator permissions
  • Be a member of the "Administrators" group on the local machine
  • Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu

 

http://msdn2.microsoft.com/en-us/vstudio/aa972193.aspx

http://msdn2.microsoft.com/en-us/vstudio/aa964140.aspx

 

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Expert ASP.NET 2.0 Advanced Application Design: Advanced Application Design Authors: Dominic Selly, Andrew Troelsen, Tom Barnaby, Pages: 459, Published: 2005
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Beginning ASP.NET 2.0 in C# 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1148, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Foundation ASP.NET for Flash Authors: Ryan Moore, Pages: 404, Published: 2005
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006

Web:
VS.Net 2005 ASP.Net project problem with codebehind file... - ASP ... VS.Net 2005 ASP.Net project problem with codebehind file... Last post 04-26-2007 10:04 PM by Benson Yu - MSFT. 1 replies. Sort Posts: ...
Codebehind problems asp.net 1.1 vs 2003 to 2.0 vs 2005 - ASP.NET ... NET 2003 project in VS.NET 2005 IDE, a conversion wizard will start to ... In VS 2005, it says it cannot find the same code-behind file. ...
Extreme ASP.NET: Codebehind and Compilation in ASP.NET 2.0 Visual Studio 2005 will use the new partial class codebehind model for any Web Forms, and it will also happily convert Visual Studio .NET 2003 projects to ...
ASP.NET 2.0: Global.asax code-behind and web deployment project ... From your description, I understand you're using the VS 2005 "Web Deployment Project" add-on project to precompile an ASP.NET 2.0 ...
Understanding Code-Behind with VS 2005 Web Application Projects ASP.NET Pages in a VS 2003 web project have two files associated with them -- one is ... VS 2005 uses a code-behind model conceptually the same as VS 2003. ...
new asp.net project - codebehind class file missing - .NET ASP new asp.net project - codebehind class file missing. Question posted by: Hilmar Demant (Guest) on November 18th, 2005 04:23 PM ...
Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites Creating Code Behind Files with Visual Studio 2005 in ASP.NET 2.0 Pages ..... Ghostable is not the problem... that provisions files into the site. ...
Visual Studio Templates for MVC Views without Codebehind Files Oct 20, 2008 ... So Rule of Thumb #1 for ASP.NET MVC, DO NOT USE COBEHIND FILES IF ... get a codebehind-less MVC View within your project from these dialogs: ...
ASP.NET - Wikipedia, the free encyclopedia By default ASP.NET will compile the entire site in batches of 1000 files .... released together with Visual Studio 2005 and Visual Web Developer Express ...
SARADHI: VS 2005 Code-behind Model for ASP.NET Applications SARADHI: VS 2005 Code-behind Model for ASP.NET Applications Personalized MSN ... your VS 2005 Web Application project, you can see this file listed under ...












getting a click event

use old framework on visual studio 2005

error type 'system.timers.timer' cannot be serialized over wcf

visual studio 2005 and ie web control setup

missing the oracledatasource from the data toolbox

problem with opening .hxs file from visual studio.net 2005

cannot open a site on web other than localhost

what is with the naming conventions of user controls in vs2005!

microsoft jscript runtime error: object doesn't support this action

entire application rebuilds each time run from ide

does vs2005 work with framework 3.0?

asp to visual studio 2005

reverse engineering tools

two computers working on one project

how to get information about visual studio ide???

where is asp.net web control project template??

package load failure

test projects in vs team edition for architects?

how do i add a xhtml 1.0 strict to the dropdown in visual studio 2005?

make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class

huge problem with ajax extensions in vs2005

insufficient system resources exist to complete the requested service

questions about hidden designer-generated code in 2.0

gridlayout

vs2005 - streamlined?

codebehind scrapped ! again html and language code are mixed up like asp / jsp !

web site code-behind

to avoid stackoverflowexception

what is the latest vcersion for visual studio 2005?

how to remotely debug on server(urgent)

namespaces for web project

user controls and attributes

process.start problem

intellisense not updating in c#

every time i make a table in design view, i get an error in ‘source' view?

word wrap in vs2005

usercontrol referencing another usercontrol

generated sprocs

build options - file paths appearing in errors

context menu - tray icon

quick question about running vs2003 and vs2005

webforms request: consistent color chooser intellisense

problems trying to load a page in debug....redirects to 127.0.0.1 not http://localhost/.....

a vss 2005 question, design related

convert windows forms uis to web forms

deploying a cls sp

data generation plans and composite primary keys

web.config <pages masterpagefile="" /> breaks intellisense

masterpages, contentplaceholders and inheritance

addind data source

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT