Can't start SQL Server Report Service. Has been working for over a year. Could not load file or assembly 'ReportingServicesNativeServer
Hi, I am having serious problems with reporting service not starting. This is the error... "Service cannot be started. System.BadImageFormatException: Could not load file or assembly 'ReportingServicesNativeServer, Version=0.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format. File name: 'ReportingServicesNativeServer, Version=0.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' at Microsoft.ReportingServices.Library.ServiceAppDomainController..ctor() at Microsoft.ReportingServices.NTService.ReportService.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)" Now, I have read numerous sites with many different solutions but none have worked for me. I will point out what I have done: Reinstalled report server. Created user and created it in Administration, User and SQLServer2005ReportServerUser$computer name$sql instance groups. Then used the Log in tab to change credentials in the "SQL Server Reporting Services (MSSQLSERVER)" service. (It states an error everytime that it start and the tn stops, then in event viewer i see the error posted above. aspnet_regiis -u (uninstall) aspnet_regiis -i to install again. Change iis application pool propoerty to enable/not enable 32 bit application (the reports are running on a seperate app pool, not default)..tried both options to see if any of them worked. No luck. Added registry key to change service timeout when starting to 60 seconds. Threaten the computer to death....no luck. Anything else that I haven't tried that might work. Here are some notes on what I've noticed. First and Very important: Reporting service has worked for over a year now in this computer. The problem is suddenly it stopped working. Don't remember update or anything for that matter. Maybe in the background, not sure. I have win 7 64 bit. SQL 2005 64bit. It states " Could not load file or assembly 'ReportingServicesNativeServer". I found this file in a weird path (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\reportserver\f40a59b5\2dd8b450\assembly\dl3\38a599a7\004c99e0_b098cb01) so it exists. The folder and it's parent are read only. I have another folder in C:\Windows\Microsoft.NET\Framework\ Instead of framework64. Not sure if it makes a difference or if it should be there. Anyways, that's all I can think of for now. I really need help on this one. It used to work and now it doesnt. Any ideas? Thank you!
April 12th, 2011 3:51pm

I hope report service running under domain account, does it have enough permissions on folders where the assembly file exists? Please check this url might helps you http://forums.asp.net/t/1108416.aspx/1 http://uk.linkedin.com/in/ramjaddu
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2011 4:16pm

I hope report service running under domain account, does it have enough permissions on folders where the assembly file exists? Please check this url might helps you http://forums.asp.net/t/1108416.aspx/1 RamJaddu, Thanks for the reply. That was one of the many posts that I visited before to try to fix the problem. Noticed that his error is a little different. Still, tried what it said. Just to be sure: What do you mean persmission, permission to who? The folder is read only but the security tab in it's properties has IIS_IUSRS, My admin user, the SQL Report, "SQLServer2005ReportServerUser$computer name$sql instance" group. Also, tried running the batch file and in every command I would get access is denied. (running dos in admin mode). Which user should have the privelaged for the folder? Also, don't know it it matters but i have no ASPNET user. Was not created and I don't really know if it ever was. Just pointing it out.
April 12th, 2011 4:47pm

in SQL Server Configuration manager - you can see under what account report service is running. Give full permissions to that account on the folders where assembly file exists. I believe some permissions changed for the service account that would cause this problem. http://uk.linkedin.com/in/ramjaddu
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2011 5:00pm

I gave permission to the account. I even gave permission to EVERYONE in that folder. I tried uninstalling Reporting Services (which unsintalls other instances as well) and I noticed that at restart the service is still there. Am I doing something wrong when uninstalling? I have gone to the Add/Remove program and hit uninstall to SQL 2005 x64 and chose the reporting service instance. This is just mind-boggling.
April 13th, 2011 10:46am

Hi hellbinder16, I have read the things that you have done thoroughly, and for now, I would like to add one more step "Re-install .Net Framework to your computer". Besides that, the error message indicated that the Reporting Service was crashed at the moment. To further work on this error, I think we need to enable Windows Error Reporting in order to gather a userdump. Please read follows, Collecting User-Mode Dumps: http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx With WER, the system generates a user-mode mini dump in the location %LOCALAPPDATA%\CrashDumps by default. You can copy the dump file to your development machine configured with symbols files, and open it in Visual Studio 2008. Next, you can analyze the error / exception, and call stacks to see why the error happens. You may also consider sending the dump to Microsoft CSS support. Support Professionals from Microsoft will assist you to solve the problem. Thanks. Eileen
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2011 7:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics