VS.NET Error
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvs' list.


Pieter D. Lannoy
I've installed VS.NET RC

And this is one of the errors I ran into past 24 hours

An unhandled exception of type 'System.ExecutionEngineException' occurred in
mscorlib.dll

I can't open one of my projects anymore :-(

Can somebody help me ?

Thanks,
Pieter

Reply to this message...
 
    
rama subba rao
-- Moved from [aspngstart] to [aspngvs] by Alex Lowe <Click here to reveal e-mail address> --

Folks,

Why am i getting the following errors :

1) the Operation could not be completed when I try to
create a new Web application in VS.NET beta 2.

2)The file failed to load in the Web Form
designer.Please correct the follwoing error,then load
it again:Method not found : System.Object[]
System.Runtime.InterOpservices.Marshal.GetObjectsForNativeVariants(intptr,
int32),when i try to add a new Web Form to the Web
Application.

Could anyone of you,help me out with this issue as
this is driving me nuts.

Any suggestion is appreciated..

Thanks
Ram

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Reply to this message...
 
    
Sunil Pati
Hi Guys,

I am stuck with this problem since yesterday. I was trying to compile a simple file in ASP.NET which involves database access (Ms. Access). Whenever i am trying to compile my aspx.vb file it is showing 3 build errors as

" Resource transformation for file 'Myfile.aspx.resx' failed. File or assembly name System.Windows.Forms, or one of its dependencies not found" (line 0)

" Resource transformation for file 'Global.asax.resx' failed. File or assembly name System.Windows.Forms, or one of its dependencies not found" (line 0)

I have tried to insert breakpoints and execute it but surprisingly it didnt even start compiling the code, it showed me with these errors. Whereas when my friend compiled the code, it worked out well with him with positive results. I am unable to decide what is wrong with it. I was wondering whether it is an VS.NET installation error or error with my code. Need a help with that. I am pasting my code below. Thanks

Cheers

Sunil

My aspx file:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="gieesdata.aspx.vb" Inherits="newnetproj.gieesdata" %>
<html>
<body>
<form runat="server">
<asp:datagrid id="draftaddress" runat="server" BorderWidth="0" CellPadding="2" Width="100%" Font-Name="Verdana" Font-Size="Smaller" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="True" HeaderStyle-BackColor="Navy" HeaderStyle-ForeColor="White" AlternatingItemStyle-BackColor="#dddddd"></asp:datagrid>
</form>
</body>
</html>

My aspx.vb file:

Imports System.Data
Imports System.Data.OleDb
Public Class gieesdata
Inherits System.Web.UI.Page
Protected WithEvents draftaddress As System.Web.UI.WebControls.DataGrid
#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
BindData()
End Sub

Private Sub BindData()
Dim myConnString As String = _
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\docs\addressproject\draftaddress.mdb"
Dim myConnection As New OleDbConnection(myConnString)
myConnection.Open()

Const strSQL As String = "SELECT ID, Title, Last_Name, First_Name, Region " & _
"FROM contacts ORDER BY ID"
Dim myCommand As New OleDbCommand(strSQL, myConnection)

Dim myDA As New OleDbDataAdapter()
myDA.SelectCommand = myCommand

Dim myDS As New DataSet()
myDA.Fill(myDS)

draftaddress.DataSource = myDS
draftaddress.DataBind()
End Sub
End Class

---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
Reply to this message...
 
 
System.Data.DataSet
System.Data.OleDb.OleDbCommand
System.Data.OleDb.OleDbConnection
System.Data.OleDb.OleDbDataAdapter
System.EventArgs
System.ExecutionEngineException
System.Object
System.Web.UI.Page
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.HorizontalAlign




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com