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

Trying to create my first ASP.Net application

Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the instructions in thereadme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it automatically has aWebForm called WebForm01.
I added no controls to the WebForm but immediately hit F5 to compile it andgot the following message:

Error while trying to run project: Unable to start debugging on the webserver. Server side-error occurred on sending debug HTTP request.

If I do a debug.Start Without Debugging then it brings up a web page whichsays:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="Test02.WebForm1"' option is unknownor invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server"> </form>
</body>
</html>
For some reason the first line of HTML is in yellow. If I remove thisfirst line then it compiles fine and brings up a blank web page but thenwhen I start adding controls they just appear as text in the top-left cornerof the compiled web page rather than controls in the places that I put them.
Can anyone tell me what I am doing wrong or have neglected to do.
Thanks

Tom
.

Nov 17 '05 #1
6 2275
Frank,

Thank you very much, it would appear that your theory is correct.

Prior to doing a complete reinstall of VB.Net I had gone into IIS and seen
there was no .aspx on the Mappings tab. I thus added one manually, in
retrospect perhaps not such a good idea.

Given the cause of the problem, I have tried manually editing the .aspx row
on the Mappings tab and things now work a whole lot better. I still can't
debug but if I use debug.Start Without Debugging it seems to work fine and
brings up a web page with controls in the right spot and everything.

If I try and debug (i.e. press F5) I get the following message:

Error while trying to run project: Unable to start debugging on the web
server. You do not have permissions to debug the server.
Verify that you are a member of the 'Debugger Users' group on the server.

Does this mean I really do need to do yet another complete reinstall or is
there a way I can get the permissions I need?

Thanks again

Tom

"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the

instructions in the
readme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it

automatically has a
WebForm called WebForm01.
I added no controls to the WebForm but immediately hit

F5 to compile it and
got the following message:

Error while trying to run project: Unable to start

debugging on the web
server. Server side-error occurred on sending debug HTTP

request.


If I do a debug.Start Without Debugging then it brings

up a web page which
says:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"

Inherits="Test02.WebForm1"' option is unknown
or invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN">
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR"

content="Microsoft Visual Studio.NET
7.0">
<meta name="CODE_LANGUAGE"

content="Visual Basic 7.0">
<meta name="vs_defaultClientScript"

content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post"

runat="server">
</form>
</body>
</html>
For some reason the first line of HTML is in yellow.

If I remove this
first line then it compiles fine and brings up a blank

web page but then
when I start adding controls they just appear as text in

the top-left corner
of the compiled web page rather than controls in the

places that I put them.

Can anyone tell me what I am doing wrong or have

neglected to do.

Thanks

Tom
.

Nov 17 '05 #2
By the way I've gone into Administrative Tools> Computer Management and Tom
Wild (user name) is a member of the Administrators group and the Debugger
Users group.

Tom

"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the

instructions in the
readme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it

automatically has a
WebForm called WebForm01.
I added no controls to the WebForm but immediately hit

F5 to compile it and
got the following message:

Error while trying to run project: Unable to start

debugging on the web
server. Server side-error occurred on sending debug HTTP

request.


If I do a debug.Start Without Debugging then it brings

up a web page which
says:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"

Inherits="Test02.WebForm1"' option is unknown
or invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN">
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR"

content="Microsoft Visual Studio.NET
7.0">
<meta name="CODE_LANGUAGE"

content="Visual Basic 7.0">
<meta name="vs_defaultClientScript"

content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post"

runat="server">
</form>
</body>
</html>
For some reason the first line of HTML is in yellow.

If I remove this
first line then it compiles fine and brings up a blank

web page but then
when I start adding controls they just appear as text in

the top-left corner
of the compiled web page rather than controls in the

places that I put them.

Can anyone tell me what I am doing wrong or have

neglected to do.

Thanks

Tom
.

Nov 17 '05 #3
Hi Frank

One more thing I've just discovered; When I try and access a database
through the WebForm it gets the following error when I try to make the
connection:

The Microsoft Jet database engine cannot open the file
'C:\VB.NET\GizmoVII\GizmoVII.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

This is despite the fact that if I create a connection object in the design
window and then hit the test connection button it says that connection works
fine.

Is there some permissions thing I'm supposed to set up?

Tom
"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the

instructions in the
readme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it

automatically has a
WebForm called WebForm01.
I added no controls to the WebForm but immediately hit

F5 to compile it and
got the following message:

Error while trying to run project: Unable to start

debugging on the web
server. Server side-error occurred on sending debug HTTP

request.


If I do a debug.Start Without Debugging then it brings

up a web page which
says:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"

Inherits="Test02.WebForm1"' option is unknown
or invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN">
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR"

content="Microsoft Visual Studio.NET
7.0">
<meta name="CODE_LANGUAGE"

content="Visual Basic 7.0">
<meta name="vs_defaultClientScript"

content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post"

runat="server">
</form>
</body>
</html>
For some reason the first line of HTML is in yellow.

If I remove this
first line then it compiles fine and brings up a blank

web page but then
when I start adding controls they just appear as text in

the top-left corner
of the compiled web page rather than controls in the

places that I put them.

Can anyone tell me what I am doing wrong or have

neglected to do.

Thanks

Tom
.

Nov 17 '05 #4
Hi Frank

Have done another reinstall of .Net Framework, VS.Net and IIS and I can now
debug a WebForm

The only problem still remaining is that I cannot seem to access a database
from the WebForm

I am trying to connect to an Access database and I keep getting the error
message:

The Microsoft Jet database engine cannot open the file
'C:\VB.NET\GizmoVII\GizmoVII.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

I have tried changing the permissions on the folder but it doesn't seem to
work. Have also tried creating a brand new database from scratch but that
doesn't seem to work either.

Any suggestions would be much appreciated.

Regards

Tom

"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the

instructions in the
readme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it

automatically has a
WebForm called WebForm01.
I added no controls to the WebForm but immediately hit

F5 to compile it and
got the following message:

Error while trying to run project: Unable to start

debugging on the web
server. Server side-error occurred on sending debug HTTP

request.


If I do a debug.Start Without Debugging then it brings

up a web page which
says:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"

Inherits="Test02.WebForm1"' option is unknown
or invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN">
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR"

content="Microsoft Visual Studio.NET
7.0">
<meta name="CODE_LANGUAGE"

content="Visual Basic 7.0">
<meta name="vs_defaultClientScript"

content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post"

runat="server">
</form>
</body>
</html>
For some reason the first line of HTML is in yellow.

If I remove this
first line then it compiles fine and brings up a blank

web page but then
when I start adding controls they just appear as text in

the top-left corner
of the compiled web page rather than controls in the

places that I put them.

Can anyone tell me what I am doing wrong or have

neglected to do.

Thanks

Tom
.

Nov 17 '05 #5
What does your connection string look like?

An ASP.NET web application runs under the "ASPNET" user, which by
default will not have access to your database. You will need to either
add the "ASPNET" user to your Access database, or create a database
user, and specify it in your connection string.

Tommy,

"Tom Wild" <tw***@lightknights.com> wrote in message news:<O0**************@TK2MSFTNGP09.phx.gbl>...
Hi Frank

Have done another reinstall of .Net Framework, VS.Net and IIS and I can now
debug a WebForm

The only problem still remaining is that I cannot seem to access a database
from the WebForm

I am trying to connect to an Access database and I keep getting the error
message:

The Microsoft Jet database engine cannot open the file
'C:\VB.NET\GizmoVII\GizmoVII.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

I have tried changing the permissions on the folder but it doesn't seem to
work. Have also tried creating a brand new database from scratch but that
doesn't seem to work either.

Any suggestions would be much appreciated.

Regards

Tom

"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank
-----Original Message-----
Hi

I am trying to create my first ASP.Net application.

I have done a full reinstall of .Net and followed the instructions in thereadme on the .Net CD and I have IIS running.

I have created a new solution called Test02 and it automatically has aWebForm called WebForm01.
I added no controls to the WebForm but immediately hit F5 to compile it andgot the following message:

Error while trying to run project: Unable to start debugging on the webserver. Server side-error occurred on sending debug HTTP request.

If I do a debug.Start Without Debugging then it brings up a web page whichsays:

The page cannot be displayed
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="Test02.WebForm1"' option is unknownor invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"Inherits="Test02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server"> </form>
</body>
</html>
For some reason the first line of HTML is in yellow. If I remove thisfirst line then it compiles fine and brings up a blank web page but thenwhen I start adding controls they just appear as text in the top-left cornerof the compiled web page rather than controls in the places that I put them.
Can anyone tell me what I am doing wrong or have neglected to do.
Thanks

Tom
.

Nov 17 '05 #6
Hi Tommy

My connection string is:
Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data
Source=C:\Test03\Test03.mdb;Mode=Share Deny None;Extended Properties="";Jet
OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database
Password="";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet
OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet
OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet
OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on
Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet
OLEDB:SFP=False

The two things you suggest make sense but I'm not sure how to do them.
1. How do I add a user to my Access database? I've tried changing the
permissions on the folder that the database is in but that doesn't seem to
work.

2. How do I create a database user and specify it in the connection string?

Please excuse the possibly stupid questions

Regards

Tom

"Tommy" <To***@WebSoftwares.net> wrote in message
news:aa**************************@posting.google.c om...
What does your connection string look like?

An ASP.NET web application runs under the "ASPNET" user, which by
default will not have access to your database. You will need to either
add the "ASPNET" user to your Access database, or create a database
user, and specify it in your connection string.

Tommy,

"Tom Wild" <tw***@lightknights.com> wrote in message

news:<O0**************@TK2MSFTNGP09.phx.gbl>...
Hi Frank

Have done another reinstall of .Net Framework, VS.Net and IIS and I can now debug a WebForm

The only problem still remaining is that I cannot seem to access a database from the WebForm

I am trying to connect to an Access database and I keep getting the error message:

The Microsoft Jet database engine cannot open the file
'C:\VB.NET\GizmoVII\GizmoVII.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

I have tried changing the permissions on the folder but it doesn't seem to work. Have also tried creating a brand new database from scratch but that doesn't seem to work either.

Any suggestions would be much appreciated.

Regards

Tom

"Frank Wilson" <fr*****************@hotmail.com> wrote in message
news:09****************************@phx.gbl...
Tom,

It sounds to me like ASP, not ASP.NET is handling the
request for WebForm1.aspx. This is most likely an IIS
config issue that may have been caused by order of
installation or reinstallation, or possibly even
something that happened in IIS before .NET was
installed.

Here is a way to prove or disprove my theory:

Look at the properties on the virtual directory in IIS
that Visual Studio created for you when you created your
project. On the Virtual Directory tab, click the
Configuration button in the Application Settings
section. You should see the Application Configuration
window popup. On the Mappings tab, find .aspx in the
column on the left and highlight that row. Click the
Edit button to see the details.

What you should see, if setup correctly, is the
Executable Path pointing to aspnet_isapi.dll. You should
also see the following verbs listed: GET,HEAD,POST,DEBUG.

If that is not setup correctly, then you can either
manually fix it, which I would not recommend (because
there are many other dependencies that could be out of
sync), or you can reinstall just the .NET Framework
components. I'm not positive that reinstalling will fix
it, but it's a good place to start.

hth,
Frank

>-----Original Message-----
>Hi
>
>I am trying to create my first ASP.Net application.
>
>I have done a full reinstall of .Net and followed the

instructions in the
>readme on the .Net CD and I have IIS running.
>
>I have created a new solution called Test02 and it

automatically has a
>WebForm called WebForm01.
>
>
>I added no controls to the WebForm but immediately hit

F5 to compile it and
>got the following message:
>
>Error while trying to run project: Unable to start

debugging on the web
>server. Server side-error occurred on sending debug HTTP

request.
>
>
>If I do a debug.Start Without Debugging then it brings

up a web page which
>says:
>
>The page cannot be displayed
>Error Type:
>Active Server Pages, ASP 0221 (0x80004005)
>The specified 'Page Language="vb" AutoEventWireup="false"
>Codebehind="WebForm1.aspx.vb"

Inherits="Test02.WebForm1"' option is unknown
>or invalid.
>/Test02/WebForm1.aspx, line 1
>
>
>The HTML looks like this:
>
><%@ Page Language="vb" AutoEventWireup="false"

Codebehind="WebForm1.aspx.vb"
>Inherits="Test02.WebForm1"%>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN">
><html>
> <head>
> <title>WebForm1</title>
> <meta name="GENERATOR"

content="Microsoft Visual Studio.NET
>7.0">
> <meta name="CODE_LANGUAGE"

content="Visual Basic 7.0">
> <meta name="vs_defaultClientScript"

content="JavaScript">
> <meta name="vs_targetSchema"
>content="http://schemas.microsoft.com/intellisense/ie5">
> </head>
> <body MS_POSITIONING="GridLayout">
> <form id="Form1" method="post"

runat="server">
> </form>
> </body>
></html>
> For some reason the first line of HTML is in yellow.

If I remove this
>first line then it compiles fine and brings up a blank

web page but then
>when I start adding controls they just appear as text in

the top-left corner
>of the compiled web page rather than controls in the

places that I put them.
>
>Can anyone tell me what I am doing wrong or have

neglected to do.
>
>Thanks
>
>Tom
>
>
>.
>

Nov 17 '05 #7

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

Similar topics

2
by: Daven Thrice | last post by:
Hi, I've converted the tables from an old Access application to MySql format. I then linked the tables into access using MyODBC and everything works great (on my computer). For now, I want to...
5
by: Kenneth | last post by:
Hi, I've upgraded to .NET 2003 and I opened an .NET 2002 app and let the new IDE convert it to .NET 2003 project. Then I tried to start the application but it keeps on saying "Error while...
2
by: Paul K | last post by:
I'm trying to understand how to implement logic I currently have in an ASP application in an ASP.NET application. In ASP I have an entry application that draws an html table for a specified...
2
by: Suhail Salman | last post by:
Dear all, why do i get the following exception when i try to write to the event log from a webform. and how can i resolve it? Description: The application attempted to perform an operation not...
0
by: BobRoyAce | last post by:
I just got Visual Studio 2005 and am trying to create a new Windows application for the first time with it. I previously created a new web application (from the Start page) and closed out of VS...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
1
by: maz01 | last post by:
Hello All, I am developing an application in visual basic 2005 that will run continuously in the background on a users workstation. This application will automatically transfer files from the...
3
by: Admin.TalkPC | last post by:
Hi people, I have now spent far too much time on this small problem, I am hopefully going to hand it over to you guys that are cleverer than I in this respect. Problem. I need to get all...
6
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.