473,749 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb" Inherits="Test0 2.WebForm1"' option is unknownor invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb"Inherits="Test 02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>WebForm1 </title>
<meta name="GENERATOR " content="Micros oft Visual Studio.NET7.0">
<meta name="CODE_LANG UAGE" content="Visual Basic 7.0"> <meta name="vs_defaul tClientScript" content="JavaSc ript"> <meta name="vs_target Schema"
content="htt p://schemas.microso ft.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 2300
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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb"

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

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

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

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

content="Micros oft Visual Studio.NET
7.0">
<meta name="CODE_LANG UAGE"

content="Visual Basic 7.0">
<meta name="vs_defaul tClientScript"

content="JavaSc ript">
<meta name="vs_target Schema"
content="htt p://schemas.microso ft.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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb"

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

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

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

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

content="Micros oft Visual Studio.NET
7.0">
<meta name="CODE_LANG UAGE"

content="Visual Basic 7.0">
<meta name="vs_defaul tClientScript"

content="JavaSc ript">
<meta name="vs_target Schema"
content="htt p://schemas.microso ft.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\Gizm oVII\GizmoVII.m db'. 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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb"

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

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

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

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

content="Micros oft Visual Studio.NET
7.0">
<meta name="CODE_LANG UAGE"

content="Visual Basic 7.0">
<meta name="vs_defaul tClientScript"

content="JavaSc ript">
<meta name="vs_target Schema"
content="htt p://schemas.microso ft.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\Gizm oVII\GizmoVII.m db'. 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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb"

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

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

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

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

content="Micros oft Visual Studio.NET
7.0">
<meta name="CODE_LANG UAGE"

content="Visual Basic 7.0">
<meta name="vs_defaul tClientScript"

content="JavaSc ript">
<meta name="vs_target Schema"
content="htt p://schemas.microso ft.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***@lightkni ghts.com> wrote in message news:<O0******* *******@TK2MSFT NGP09.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\Gizm oVII\GizmoVII.m db'. 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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb" Inherits="Test0 2.WebForm1"' option is unknownor invalid.
/Test02/WebForm1.aspx, line 1
The HTML looks like this:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb"Inherits="Test 02.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<title>WebForm1 </title>
<meta name="GENERATOR " content="Micros oft Visual Studio.NET7.0">
<meta name="CODE_LANG UAGE" content="Visual Basic 7.0"> <meta name="vs_defaul tClientScript" content="JavaSc ript"> <meta name="vs_target Schema"
content="htt p://schemas.microso ft.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=Micros oft.Jet.OLEDB.4 .0;Password=""; User ID=Admin;Data
Source=C:\Test0 3\Test03.mdb;Mo de=Share Deny None;Extended Properties="";J et
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;J et OLEDB:Compact Without Replica Repair=False;Je t
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***@WebSoftw ares.net> wrote in message
news:aa******** *************** ***@posting.goo gle.com...
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***@lightkni ghts.com> wrote in message

news:<O0******* *******@TK2MSFT NGP09.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\Gizm oVII\GizmoVII.m db'. 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.c om> 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.dl l. You should
also see the following verbs listed: GET,HEAD,POST,D EBUG.

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="We bForm1.aspx.vb"

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

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

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

content="Micros oft Visual Studio.NET
>7.0">
> <meta name="CODE_LANG UAGE"

content="Visual Basic 7.0">
> <meta name="vs_defaul tClientScript"

content="JavaSc ript">
> <meta name="vs_target Schema"
>content="htt p://schemas.microso ft.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
1685
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 keep Access as a front end, and move the tables to the Internet. I feel like I'm lost in a maze or something with some really basic questions. What do I need in terms of a host? I have been looking at ipowerweb because they have a reseller...
5
1738
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 trying to run project. Unable to start debugging on the web server. The project is not configured to be debugged. Click Help for more information".
2
1426
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 week. The columns are the days for the week and the rows are activities. The day being currently modified has textboxes and textareas in each cell.
2
6281
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 allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
0
997
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 2005. However, when I opened up VS 2005 again, and tried to create a new windows application, I get the following error message: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT:0x8007007B) I tried...
18
3396
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 relies on subscrption fees. Sessions ID's are matched between the browser and the server. So a users can login with same username and password and those sessions are tracked individually. Some suggest create table fields with the session ID...
1
2518
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 local machine to a remote server and vise versa. It checks for the files on a timed interval. I have two problems with this application that I am having trouble figuring out: The first problem is that the cmd.exe shell pops up on the screen every...
3
2437
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 firms in a certain postal code area (say "E1") from the FSA website. I can do this interactively, but I thought I would save time and automate it. Big mistake, I have taken hours investigating an so far failed to get the second search results
6
3358
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 the past in other places, and while the help was much appreciated, it seemed everyone just wanted to 'theoretically' explain how to do it, but when I tried to do it myself, I couldn't login. I want to simply pass the email address and password to...
0
8996
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.