Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET

Status
Not open for further replies.

murzina

Programmer
Jan 14, 2009
14
I am just starting ASP after a long break. I have an error and I don't know how to fix it. Here it is below:

XML Parsing Error: not well-formed
Location: file:///C:/Users/Anastasia/Documents/Visual%20Studio%202008/WebSites/WebSite1/Second.aspx
Line Number 1, Column 2:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
 
I think that your front end (.aspx) page is named something different than the codebehind page(.aspx.vb). The top line in the front end (.aspx) will tell the page where to look for the VB. Second.aspx and Default.aspx.vb don't match.

Should be:
Second.aspx
Second.aspx.vb

Try that and let me know if that worked.
Chilly442
 
I have fixed previous problem.

I have tried to find a way to create a database in Visual Studio. When I tried to search for an SQL Server .exe file, I could not find one. When I tried to create a database file of Visual Studio using my laptop, there was an error. Remote connection is not permitted by my laptop.

What can I do to create a database on my laptop?
 
vs install SqlExpress as your database. the command line to get into the database is 'sqlcmd' with the appropriate flags. -? or -help for help.

there are 2 types of instances of SqlExpress the localhost which is a remote connection to the db (which is confusing when your local box is treated as the remote box) and named instances. by default named instances are installed. so the server and instance name are .\SqlExpress which is [server]\[named instance].

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top