2011-12-15 26 views
1

我發佈網站,在Windows Server 2008 64位與IIS 7,我公司開發的網站使用框架3.5asp.net上傳2008

網站並未開放,並嘗試只是重新定位,而在Windows x36的工作做好

我也注意到在事件以下警告日誌

Event code: 3008 
Event message: A configuration error has occurred. 
Event time: 12/15/2011 4:04:54 AM 
Event time (UTC): 12/15/2011 12:04:54 PM 
Event ID: 8ae535fc0b17482b952be80ecd3e65b3 
Event sequence: 1 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1/ROOT-12-129684242945082885 
    Trust level: Full 
    Application Virtual Path:/
    Application Path: C:\xxxxxxxxxxxxxx 
    Machine name: WIN-F1XUWXBQHQ2 

Process information: 
    Process ID: 2732 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 

Exception information: 
    Exception type: HttpException 
    Exception message: Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format. 

Request information: 
    Request URL: http://localhost/Error.aspx?error=er 
    Request path: /Error.aspx 
    User host address: ::1 
    User: 
    Is authenticated: False 
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

Thread information: 
    Thread ID: 7 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() 
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) 
Cannot load assembly system.data 

Custom event details: 


Source :ASP.NET 2.0.50727.0 

Event ID: 1310 

回答