Visual Basic .NET » Smart Device Application
Web Error! Please Help -- Naresh Kumar --

I had the similar problem before in one of my project, But in that the database was sql server 2000. Remove the Inherits="WebApplicaton4.WebForm2" from the page directive
<@PageLanguage="vb" AutoEventWireup="false Codebehind="WebForm2.aspx.vb"
Inherits="WebApplicaton4.WebForm2"> in the design view of the page
I hope this may work for you.
Smile Naresh Kumar

On 6/30/06, maurice n. wrote:

Hello friends

I am creating a web application in VB.net 2003. The scenario is this, upon
the click
event a calculation is to be done on one web page. The variables and the
answer involved in the calculation will be updated in a database(access)
using Jet 4.0 OLE and the answer is to be passed to another page in the
application. Without the values being updated in the database the answer is
passed to another page. But when the values are updated in the database an
error is generated. The error is below. Can any one help me. I'm i doing
something wrong? Thanks in advance. The pass method that I use is.

"Server.Transfer("webform2.aspx")" and

"Public ReadOnly Property Property1() As String
Get
Return lblAnswer.Text.ToString
End Get
End Property

the generated error is

Server Error in '/WebApplicaton4' 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 'W.WebForm2'.
Source Error:

Line1: <@PageLanguage="vb"AutoEventWireup="false"Codebehind="
WebForm2.aspx.vb"Inherits="WebApplicaton4.WebForm2">
Line 2:
Line 3:

Source File: c:\inetpub\wwwroot\WebApplicaton4\webform2.aspx Line: 1

Maurice
------------------------------
Do you Yahoo!?
Get on board. You're invited<
http://us.rd.yahoo.com/evt=40791 
>to try the new Yahoo! Mail Beta.
>


 

-- "maurice n." --

When one thinks that nothing else can go wrong, you spell Application without the "i", thanks to "Copy and Paste!"
Thanks


Cerebrus wrote:

Not very sure about this, but it appears that your app. is not able to find the WebForm2 page. Are you sure you have spelled the Project name as "WebApplicaton"(without the ' i ' ) everywhere ?


---------------------------------
Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.
[Submit Comment]Home