I was trying to create a custom web report following the instructions in one
of the Microsoft Dynamics CRM books, which included creating a new web
application inside de server "crmreports" folder. As I wasn't able to achieve
what I was trying to with that report, I deleted it and all of its associated
files.
Since then I can't enter again the reports section in the CRM site, and I
keep getting errors from the configuration files. Is there anyway I can
restore the content of the "crmreports" folder to its initial state?
The error I get right now is that the 'Microsoft.Crm.Reports.Home' type
couldn't be loaded, and it's originated in the home_reports.aspx page, in the
following line:

<%@ Page Inherits="Microsoft.Crm.Reports.Home"
CodeBehind="Microsoft.Crm.Application.Pages.dll"%>

I've tried copying that .dll file to the "crmreports" folder, and to a "bin"
folder inside that one, but I still can't get it to work...

Anybody knows of a possible solution to this all?

RE: CRMReports folder by MichaelLangdon

MichaelLangdon
Wed Aug 29 07:36:01 CDT 2007

Check out this link this will explain how to redeploy the MS CRM default
reports.

http://www.mscrmschool.co.uk/Microsoft%20CRM%2030/How%20To%20-%20Backup%20and%20Deploy%20CRM%20Reports%20to%20SQL%20Server%20Reporting%20Services.xps

--
Rgds

Michael
MCDBA 2000 | MCITP DBA 2005
http://www.mscrmschool.co.uk


"Euqirneto" wrote:

> I was trying to create a custom web report following the instructions in one
> of the Microsoft Dynamics CRM books, which included creating a new web
> application inside de server "crmreports" folder. As I wasn't able to achieve
> what I was trying to with that report, I deleted it and all of its associated
> files.
> Since then I can't enter again the reports section in the CRM site, and I
> keep getting errors from the configuration files. Is there anyway I can
> restore the content of the "crmreports" folder to its initial state?
> The error I get right now is that the 'Microsoft.Crm.Reports.Home' type
> couldn't be loaded, and it's originated in the home_reports.aspx page, in the
> following line:
>
> <%@ Page Inherits="Microsoft.Crm.Reports.Home"
> CodeBehind="Microsoft.Crm.Application.Pages.dll"%>
>
> I've tried copying that .dll file to the "crmreports" folder, and to a "bin"
> folder inside that one, but I still can't get it to work...
>
> Anybody knows of a possible solution to this all?

CRMReports folder by Euqirneto

Euqirneto
Wed Aug 29 10:24:03 CDT 2007

Thank you for your quick answer.

However, it wasn't helpful. We haven't lost any of our customized reports
and the Report Server works fine and can be directly accessed. What has been
damaged are the pages that give access from the CRM web site to the reports.
That means we cannot enter the report area, neither launch any reports on any
of the entities by using the reports button.

We managed to recover the original content of the CRMReports folder from the
CRM installation CD. After that, we got a couple of errors because the
Microsoft.Crm.MetadataService.dll and
Microsoft.Crm.Tools.ImportExportPublish.dll files couldn't be found, which we
solved by copying them to a "bin" file inside the folder.

Now we keep getting the first error:

Microsoft.Crm.Reports.Home' type couldn't be loaded.

Source code error:
Line 1: <%@ Page Inherits="Microsoft.Crm.Reports.Home"
CodeBehind="Microsoft.Crm.Application.Pages.dll"%>

RE: CRMReports folder by Euqirneto

Euqirneto
Thu Aug 30 02:04:01 CDT 2007

Ok, we already got it solved:

After restoring the original contents of the folder, we eventually found out
the following: as we created a web application from Visual Studio inside the
CRMReports folder, VS converted it all into a web application within IIS.
After converting it back to a normal folder within the CRM Application, it
started working again...