Framework SP2

R

Rich

We applied .Net framework to our dev server and now we get the compilation
errors below. Has anyone come across this or know how to resolve it.
Thanks.

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code 2000.



Show Detailed Compiler Output:

c:\windows\system32\inetsrv>
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library
/utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\802c97f2\00cbf37d_4594c401\apservernet.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\a5da7916\72b91272_2b1bc601\cendant.qacom2.exceptions.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\eb252d3e\00ca71f9_c35cc601\cendant.qacom2.app.ui.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\f1390581\be213f73_2b1bc601\cendant.qacom2.base.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\c8f0493f\0e9eb972_2b1bc601\cendant.qacom2.app.formobject.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\15c31c98\00cbf37d_4594c401\apwebgrbnet.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\d8c8df5b\00cbf37d_4594c401\log4net.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\60527f12\7864ef7d_1820c601\cendant.qacom2.app.business.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\root\4dd4fe10\9318eda6\assembly\dl2\eaf29f7f\dca6a573_2b1bc601\cendant.qacom2.datalayer.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\4dd4fe10\9318eda6\_epuqt00.dll" /D:DEBUG=1 /debug+
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\4dd4fe10\9318eda6\_epuqt00.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.6310.4
for Microsoft (R) .NET Framework version 1.1.4322.2300
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : Fatal error BC2000 : compiler initialization failed unexpectedly:
Cannot change thread mode after it is set.




Show Complete Compilation Source:

Line 1:
'------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.2300
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'------------------------------------------------------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Cendant.QACOM2.App.UI.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:
 
D

David Browne

Rich said:
We applied .Net framework to our dev server and now we get the compilation
errors below. Has anyone come across this or know how to resolve it.
Thanks.

Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code 2000.

There is no SP2 for .NET framework 1.1. You are running .NET Framework 1.1
SP 1 (1.1.4322.2032).

And this should not be happening.

I would remove and reinstall the .NET Framework, including SP 1. If that
doesn't clear things up, contact Microsoft support.

David
 
R

Rich

So far I have removed and reinstalled IIS along with a reinstall of 2003
SP1. Still no go. Opened up a ticket with MS support and they have ran out
of ideas. I have this problem on 2 different servers.

I was supicious on the install of .Net framework Ver2 or recent patches but
I found the install was done a couple of weeks before the problem occured. I
am leaning now more that a code change occured that is hanging up the vb
complier in some way. The "Cannot change thread mode after it is set" I
feel is the best clue in the compliation error but I cant grasp what it is
trying to tell me.


vbc : Fatal error BC2000 : compiler initialization failed unexpectedly:
Cannot change thread mode after it is set.
 
L

Lau Lei Cheong

The followings are just some wild thoughts.

You could compare the version of this assembly with other machine that
works:

cendant.qacom2

And I'll try to add AspCompat="true" to the page directive of ASPX file to
see if it solve the problem. (The idea comes from the phrase "thread model"
that commonly refered to as STA/MTA things, setting AspCompat to true will
force it to run in STA model)

I've not experienced this so cannot give a try to any. So just some
suggestions only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top