Errori & Aggiustamenti riscontrati

Durante la mia lettura delle mail trovo alcune segnalazioni di errore ed eventualmente la relativa soluzione.
Le cose che reputo interessanti le ho conservate.

Ultimo Aggiornamento 13 Maggio 2006

1935

 

You may receive an "Error 1935" error message when you use the Netfx.msi Windows Installer package to install the .NET Framework 1.1

While you use the Netfx.msi Microsoft Windows Installer package to install the Microsoft .NET Framework 1.1, you may receive the following error message:

Error 1935. An error occured during the installation of assembly component {7D4B5591-4C80-42BB-B0E5-F2C0CEE02C1A}.
HRESULT: -2147319761.

When you click OK, the installation of the .NET Framework 1.1 stops, and you receive the following error message:

Microsoft .NET Framework 1.1 setup has ended prematurely. If this persists, please contact Product Support.

Note In the first error message, the word "occured" is misspelled. It should be spelled "occurred."

 

BUG: Error 1935 During Install of the .NET Framework

When you try to install the .NET Framework, you receive an error 1935 (assembly install failure) error message if Mscoree.dll is in use before you start Setup.

 

You may receive an "Error 1935" error message when you try to install Visual Studio .NET or Visual Studio 2005

When you try to install Microsoft Visual Studio .NET or Microsoft Visual Studio 2005, you may receive an error message that is similar to the following:

Error 1935.An error occured during the installation of assembly component

Note In this error message, the word "occured" is a misspelling for the word "occurred."

 

ADO.NET

 

FIX: Results are incorrectly sorted when you retrieve data from a table by using the System.Data.DataTable.Select(String filterExpression, String sort) method in the .NET Framework 1.1 Service Pack 1 (SP1)

You retrieve data from a table by using the System.Data.DataTable.Select(String filterExpression, String sort) method in the Microsoft .NET Framework 1.1 Service Pack 1 (SP1). The filter expression that you use to retrieve the data joins two conditions with "AND." When the results of your data retrieval request are returned, they are sorted on the first column of the table. This problem occurs even though you have specified a different column as the sort key.

 

ASP.NET

Visualizzazione del messaggio di errore "Accesso non riuscito" quando si crea una connessione dati trusted da ASP.NET a SQL Server

Quando si crea una connessione dati trusted da ASP.NET a SQL Server, è possibile che venga visualizzato il seguente messaggio di errore:

Impossibile eseguire l'accesso per l'utente "NomeComputer\ASPNET".

Sui computer che eseguono Internet Information Services (IIS) 6.0 è possibile che venga visualizzato il seguente messaggio di errore:

Impossibile eseguire l'accesso per l'utente "NT AUTHORITY\NETWORK SERVICE"

Nota Questi messaggi di errore vengono visualizzati quando si utilizza la protezione integrata, ovvero si include l'attributo integrated security=sspi in una stringa di connessione.

 

"System.Security.SecurityException: Security error" error message when the virtual directory points to a remote share in ASP.NET

When you use a virtual directory that points to a remote share to host a Microsoft ASP.NET-based application, you may receive an error message that is similar to one of the following:

Message 1

Security Exception 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.

Exception Details: System.Security.SecurityException: Security error.

Source Error:

Line 30: private static bool __intialized = false; Line 31: Line 32: public Global_asax() { Line 33: if ((ASP.Global_asax.__intialized == false)) { Line 34: ASP.Global_asax.__intialized = true;

Message 2

Server Error in '/ApplicationName' 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 'ApplicationName.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="ApplicationName.Global" %> Source File: Path of Application \global.asax Line: 1

 

BizTalk Server

 

FIX: An "Index was outside the bounds of the array" error message is logged and existing messages do not correctly correlate after you install BizTalk Server 2004 Service Pack 1

Consider the following scenario. You have orchestrations that contain long-running transactions, and the transactions are correlated. Then, you install Microsoft BizTalk Server 2004 Service Pack 1 (SP1). After you install the service pack, existing messages do not correctly correlate, and an error message that is similar to the following is logged in the Application log:

Event Type: Error
Event Source: FatalBrokerException
Event Category: None
Event ID: 0
Description: <FatalBrokerException><CorrelatedField>xxx</CorrelatedField><Version>1</Version><Message>Index was outside the bounds of the array.</Message><Source>Microsoft.XLANGs.BizTalk.Engine</Source><Stack> at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase._flowPropertiesFrom(XLANGMessage msg, Int32 iOperation) at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.ReceiveMessage(Int32 iOperation, Envelope env, XLANGMessage msg, Correlation[] initCorrelations, Context cxt, Segment s) at TestBroker.TestBrokerOrchestration.segment2(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp; exp)</Stack></FatalBrokerException>

 

LDAP

 

FIX: The group membership list becomes truncated when you add group memberships by using the .NET Framework System.DirectoryServices namespace

When you add members to an Active Directory directory services group that already contains more than 1000 members, the group membership list becomes truncated to 1000 members plus the newly added members.

 

Printer

 

"PrintDocument Class" does not implement the PrintToFile feature

In the Microsoft .NET Framework Class Library documentation, the help topic for PrinterSettings.PrintToFile Property, under the Remarks section, states the following:

Note This property is only used by the PrintDialog class and cannot be set programmatically.

However, when you try to set the PrintToFile property programmatically, you do not receive any error. Additionally, when you set the PrintToFile property to True, the PrintDocument class sends the output to a printer and not to a file.

 

Risorse

 

You may receive a "System.Resources.MissingManifestResourceException" error message when you access the .resources file of the form at run time

When you are running your Visual Basic .NET or Visual Basic 2005, Visual C# .NET, or Visual J# .NET Windows application, you may receive the following error message or a similar one when you load a form:

An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Form1.resources" was correctly embedded or linked into assembly "myApplication".
baseName: Form1 locationInfo: WindowsApplication4.Form1 resource file name: Form1.resources assembly: myApplication, Version=1.0.781.33026, Culture=neutral, PublicKeyToken=null

If you click Break in the error dialog box, and if you are running the code in the integrated development environment (IDE), you discover that a line of code inside the InitializeComponent statement causes this problem. For example, if you create the sample from the "More Information" section, this error occurs in conjunction with an ImageList control. Although the error message may refer to a different control, notice that resources.GetObject appears on that line of code in the error message:

this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));

 

Toolbar

 

BUG: Toolbar Buttons Show No Text or Images If ButtonSize and Font Properties Set After Buttons Added To Toolbar

When you customize the buttons in a toolbar by changing the ButtonSize and Font properties of the toolbar control in the IDE, the text and images do not appear on the toolbar buttons at run time, although they appear correct at design time.

 

 

Visual Studio

 

You receive a "VC package not available or not registered" error message

When you create a WinForms application, you may receive the following error message:

"VC Package not available or not registered"

This behavior can occur even after what appears to be a successful installation.

 

Print | posted on sabato 13 maggio 2006 21:37

Feedback

No comments posted yet.

Your comment:





 
Please add 1 and 2 and type the answer here:

Copyright © Luciano Bastianello

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski