473,396 Members | 2,106 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,396 software developers and data experts.

What do you make of this error message ?

__________________________________________________ _____________________________________
System.IO.FileNotFoundException: File or assembly name biypfduw.dll, or one
of its dependencies, was not found. File name: "biypfduw.dll" at
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) at
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) at
System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence
assemblySecurity) at
System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly() at
System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly() at
System.Xml.Serialization.Compiler.Compile() at
System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings) at
System.Xml.Serialization.XmlSerializer.GenerateTem pAssembly(XmlTypeMapping
xmlTypeMapping) at System.Xml.Serialization.XmlSerializer..ctor(Type type,
String defaultNamespace) at
System.Xml.Serialization.XmlSerializer..ctor(Type type) at
Serialization.Serialization_XML.cmdSerializeXML_Cl ick(Object sender,
EventArgs e) in C:\Documents and Settings\Administrator\My Documents\My
Projects\ASPNETProjects\vsnet\Serialization\Serial ization_XML.aspx.vb:line
73 === Pre-bind state information === LOG: Where-ref bind. Location =
C:\DOCUME~1\RADU\ASPNET\LOCALS~1\Temp\biypfduw.dll LOG: Appbase =
file:///C:/Documents and Settings/Administrator/My Documents/My
Projects/ASPNETProjects/vsnet/Serialization LOG: Initial PrivatePath = bin
Calling assembly : (Unknown). === LOG: Policy not being applied to reference
at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/DOCUME~1/RADU/ASPNET/LOCALS~1/Temp/biypfduw.dll.
__________________________________________________ _____________________________________

* On a previous run, it said something about "xduzgu.dll", and on the run
before, something about a dll with an equally creative name ! Does my ASP
farmework make these names up ??? Hey, here's another one: "0zmck009.dll",
and yet another: "qom1azim.dll" ! It starts to get interesting !

* What's even better, after each attempt I get a empty "ShoppingCart.xml"
file in my working folder - however, I can't delete it (Explorer says that
the file "ShoppingCart.xml" is in use) unless I close VS.NET, I manually
kill the aspnet_wp.exe process (which is revived immediately EVEN IF vs.net
is at that point closed !!!), and only then can I delete the file "with
impunity".

I was trying to "XML serialize" some classes, with this code:
__________________________________________________ _____________________________________
Imports System.Xml.Serialization
Imports System.IO

Public Class Serialization_XML
Inherits System.Web.UI.Page

Protected WithEvents txtUsername As System.Web.UI.WebControls.TextBox
Protected WithEvents RequiredFieldValidator1 As
System.Web.UI.WebControls.RequiredFieldValidator
Protected WithEvents Requiredfieldvalidator4 As
System.Web.UI.WebControls.RequiredFieldValidator
Protected WithEvents txtCCNumber As System.Web.UI.WebControls.TextBox
Protected WithEvents lstCart As System.Web.UI.WebControls.ListBox
Protected WithEvents cmdSerializeXML As System.Web.UI.WebControls.Button
Protected WithEvents cmdDeserializeXML As System.Web.UI.WebControls.Button
Protected WithEvents lblResults As System.Web.UI.WebControls.Label

Public Class ShoppingCart
Public Username As String
Public CreditCardNumber As String
Public CartItems() As CartItem
End Class

Public Class CartItem
Public ProductName As String
Public ProductPrice As Decimal
End Class

Private Sub cmdSerializeXML_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdSerializeXML.Click

Dim objShoppingCart As New ShoppingCart()
Dim objCartItem As CartItem
Dim colCartItems As New ArrayList()
Dim objItem As ListItem
Dim objStreamWriter As StreamWriter
Dim objXMLSerializer As XmlSerializer

Try
'Create the shopping cart:
With objShoppingCart
.Username = txtUsername.Text
.CreditCardNumber = txtCCNumber.Text
For Each objItem In lstCart.Items
objCartItem = New CartItem()
objCartItem.ProductName = objItem.Text
objCartItem.ProductPrice = objItem.Value
colCartItems.Add(objCartItem)
Next objItem
.CartItems = colCartItems.ToArray(GetType(CartItem))
End With

'Serialize to XML:
objStreamWriter = File.CreateText(MapPath("ShoppingCart.xml"))
'objXMLSerializer = New XmlSerializer(GetType(ShoppingCart))
objXMLSerializer = New XmlSerializer(objShoppingCart.GetType)
objXMLSerializer.Serialize(objStreamWriter, objShoppingCart)
objStreamWriter.Close()

Catch ex As Exception
lblResults.Text &= "<li>" & ex.ToString
End Try
End Sub
End Class
__________________________________________________ _____________________________________

The error happens on "objXMLSerializer.Serialize(objStreamWriter,
objShoppingCart)".

Thank you,
Sleepless in Montreal, Canada.
Nov 19 '05 #1
3 1438
I would scan your computer for a virus. I don't think that MS would put
crazy dll names in the .NET Framework. The aspnet_wp.exe process,
starting up on its own is what leads me to think you have a virus.

Nov 19 '05 #2
"Schultz" <sc*****@a2z4u.net> wrote in message news:11**********************@o13g2000cwo.googlegr oups.com...
I would scan your computer for a virus. I don't think that MS would put
crazy dll names in the .NET Framework.
It's no virus.

"Crazy" dll names and paths are generated by the .NET Framework in
temporary folders all the time to make them unique.
The aspnet_wp.exe process,
starting up on its own is what leads me to think you have a virus.


aspnet_wp.exe is supposed to start up when the class is a web page:
Public Class Serialization_XML
Inherits System.Web.UI.Page


Alex is having a problem with the serialization assembly XmlSerializer creates.
What you may not know is that everytime an XmlSerializer is created for a
Type, it generates code for serialization and deserialization on-the-fly and
puts them in a uniquely-named assembly in the temp folder.

First thing to check is to make sure that ASPNET has permission to
read, write and create files in it's Temp folder (the path to this temp
folder is listed in the Exception's stack trace). If the serializer failed
to emit the assembly, then it won't be found when you need it.

Other things that can lead to this are those for which the code generated
by the XmlSerializer fails to compile (hence, the .dll is never written out
and that's why it cannot be found).
Derek Harmon
Nov 19 '05 #3
Hi, Derek. I have checked the security, and for C:\Windows\Temp I have the
following security settings:

Administrators - Full control
aspnet_wp account - Full control
Creator-owner - none
Power Users - everything but full control
System - Full control.

Are we talking here, maybe, about another TEMP folder ???

PS. Regarding aspnet_wp - I mean I work in vs.net, then I close it and I
have NO OTHER APP open, but aspnet_wp is still there. If I kill it, it comes
back to life in less than a sec !

"Derek Harmon" <lo*******@msn.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"Schultz" <sc*****@a2z4u.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I would scan your computer for a virus. I don't think that MS would put
crazy dll names in the .NET Framework.


It's no virus.

"Crazy" dll names and paths are generated by the .NET Framework in
temporary folders all the time to make them unique.
The aspnet_wp.exe process,
starting up on its own is what leads me to think you have a virus.


aspnet_wp.exe is supposed to start up when the class is a web page:
> Public Class Serialization_XML
> Inherits System.Web.UI.Page


Alex is having a problem with the serialization assembly XmlSerializer
creates.
What you may not know is that everytime an XmlSerializer is created for a
Type, it generates code for serialization and deserialization on-the-fly
and
puts them in a uniquely-named assembly in the temp folder.

First thing to check is to make sure that ASPNET has permission to
read, write and create files in it's Temp folder (the path to this temp
folder is listed in the Exception's stack trace). If the serializer
failed
to emit the assembly, then it won't be found when you need it.

Other things that can lead to this are those for which the code generated
by the XmlSerializer fails to compile (hence, the .dll is never written
out
and that's why it cannot be found).
Derek Harmon

Nov 19 '05 #4

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

Similar topics

12
by: MFA | last post by:
Hi All Thanks to all who replied to my question dated 16/10/2003 with the same subject.. In all replies I got every one is saying that I am using cint() etc. But i am not using any convert...
3
by: Odd Bjørn Andersen | last post by:
Every night at 21.30 we perform a full offline database backup. Just before the backup starts we do a db2stop/db2start. After the db2stop there is a message in the db2diag.log, and after the backup...
4
by: atv | last post by:
Whatis the proper way to handle errors from function calls? For example, i normally have a main function, with calls to mine or c functions. Should i check for errors in the functions called...
12
by: craig | last post by:
Quick question for the experts... Whenever I set the Image property of a PictureBox on one of my windows forms to a PNG graphic file on my hard drive, I get the following runtime error when I...
4
by: Trond Meistad | last post by:
I have a website where I run a simple asp.net web application. On Sunday night, requests to this webapplication started to time out. After much debuggeing with no result, I created a new...
6
by: Philipp Schmid [MSFT] | last post by:
I am trying to add a Generic Handler (ASHX) to my web site solution. In order to do that I have to specifiy an assembly name in the web.config file. But since 2.0 web sites are no longer...
10
by: Protoman | last post by:
Could you tell me what's wrong with this program, it doesn't compile: #include <iostream> #include <cstdlib> using namespace std; class Everything { public: static Everything* Instance()
4
by: garyusenet | last post by:
Hi I'm using the following code which is finally working. Public Class Form1 Shared ActElement As Object Shared ActFields As DataSet Public Sub SetActElement() Dim objApp As New Object
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
11
by: Shawn Yates | last post by:
I downloaded TimeLines.zip from (http://www.mvps.org/access/reports/rpt0018.htm) and I think I found a bug in it but I can't seem to fix it. When you open this go to the table and enter a new...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.