Click here to Skip to main content
15,906,626 members
Home / Discussions / C#
   

C#

 
QuestionHow do i run .aspx files in visualstudio Pin
Slow Learner15-Jun-03 18:15
Slow Learner15-Jun-03 18:15 
Hi there,
I have a file called exmple.aspx created in a notepad and it ran well in a IE web browser and i enjoyed the result. But as i want to run it in the visulastudio IDE, i created a project, SampleProject and right click on the project added a webform and named it as exmple.aspx. copied the code from the original file(notedpad) and saved it, tried to run the file by right clicking it and choosing the option 'view in browser' but unfortunately it displayed the following error .

Server Error in '/SampleProject' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'SampleProject.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="SampleProject.Global" %>



Source File: c:\inetpub\wwwroot\SampleProject\global.asax Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0




I am new to visualstudio.net and ASP.NET. I am not sure the way i created example.aspx in visualstudio IDE and ran it was correct. Please help me in understanding and how to overcome this problem.

thanks in advance.
dev
AnswerRe: How do i run .aspx files in visualstudio Pin
kaschimer16-Jun-03 7:56
kaschimer16-Jun-03 7:56 
QuestionWhen to use C# , when VC++ ? Pin
Meysam Mahfouzi15-Jun-03 17:18
Meysam Mahfouzi15-Jun-03 17:18 
AnswerRe: When to use C# , when VC++ ? Pin
Rocky Moore15-Jun-03 23:49
Rocky Moore15-Jun-03 23:49 
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi16-Jun-03 18:55
Meysam Mahfouzi16-Jun-03 18:55 
GeneralRe: When to use C# , when VC++ ? Pin
J. Dunlap16-Jun-03 19:17
J. Dunlap16-Jun-03 19:17 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore16-Jun-03 22:34
Rocky Moore16-Jun-03 22:34 
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi10-Aug-03 4:20
Meysam Mahfouzi10-Aug-03 4:20 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore11-Aug-03 0:57
Rocky Moore11-Aug-03 0:57 
GeneralShowing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 6:53
Patrick Bristow15-Jun-03 6:53 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 7:32
J. Dunlap15-Jun-03 7:32 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 7:41
Patrick Bristow15-Jun-03 7:41 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 8:14
J. Dunlap15-Jun-03 8:14 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 8:44
Patrick Bristow15-Jun-03 8:44 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 9:15
J. Dunlap15-Jun-03 9:15 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 9:28
Patrick Bristow15-Jun-03 9:28 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 10:45
J. Dunlap15-Jun-03 10:45 
GeneralI've got it! Pin
J. Dunlap15-Jun-03 11:27
J. Dunlap15-Jun-03 11:27 
GeneralRe: I've got it! Pin
Patrick Bristow15-Jun-03 11:35
Patrick Bristow15-Jun-03 11:35 
GeneralRe: I've got it! [UPDATED] Pin
J. Dunlap15-Jun-03 11:40
J. Dunlap15-Jun-03 11:40 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap15-Jun-03 13:35
J. Dunlap15-Jun-03 13:35 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap15-Jun-03 22:26
J. Dunlap15-Jun-03 22:26 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap16-Jun-03 8:02
J. Dunlap16-Jun-03 8:02 
GeneralRe: Showing a Form as a drop-down menu Pin
A.Wegierski15-Jun-03 22:54
A.Wegierski15-Jun-03 22:54 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap16-Jun-03 7:47
J. Dunlap16-Jun-03 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.