SSRS 2008 Report Viewer display out of date
I am developing an SSRS 2008 application, but for some reason now I cannot get my RDL to display Design mode. Instead of normal GUI format, I am getting all text now for my RDL file. It looks like: <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyle { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Users\r15d\AppData\Local\Temp\tmp4D1D.tmp" width="35" height="35"></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">One or more errors encountered while loading the designer. The errors are listed below.</font><font size="2" face="Arial"></font></b></td></tr><tr><td colspan="2" align="left" valign="top"><DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>Deserialization failed: The 'DataType' attribute is not declared. Line 1161, position 20. </span><span style="font-weight: 400"><p></p><div a href="" id="task0" style="cursor: hand; text-decoration:underline; color=#0000FF">Edit code</a><p></p></div></span></DIV></td></tr></table></div></body></html> I have even tried replacing this RDL file with the one I uploaded to the internet yesterday. But even though this RDL file works fine on that website, after I download it to my desktop it no longer works. I also noticed that this file is shrunk from original size. Also, my Report Data window is not showing, nor are my data connections in SSRS; I have no data connections other than to the SQL Server. So all of the connections I added for parameters and tables are not showing up. This has happened to me a few times the last few days now. How can I fix? Note: I have developed many other RDL files before, but the difference between them and this one is that this one includes 10 report parameters, about 6 datasets providing functionality for some of these parameters, and 4 datasets for data output. Then I have 4 tablices/matrices in the report using these last 4 datasets. After I develop this RDL file initially, it works and I can run it. But the problem is I can not go back and edit it. Ryan D
October 8th, 2011 12:06am

What tools are you using? It is best to use BIDS (Visual Studio) or Report Builder in Report Manager. I am not sure I understand the exact problem and it looks like there may be several issues here. 1. If you are using BIDs, it looks to me like you are using the View Code option - which shows the report as XML which is what is happening. There should be an option somewhere to View Report Designer. Try looking under the View menu. 2. Can you see Solution Explorer on the right of the screen? If not go to the View menu and select it....then click on the report. It should come up in Design view. 3. You can get the Report Data Window back by pressing Alt Control + Delete. You may need to try this few times before it works because sometimes it starts Task Manager instead... 4. What kind of connections can you not see? Shared should show in the Solution Explorer on the right of the screen. Embedded should show in Report Data when you get to see it... after attempting my solution in point 3. The connections etc are probably still there. You will get to see them in either Solution Explorer or Report Data. The problem is around windows being closed in Visual Studio and not being reopened. These instructions will help you re-open them.
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2011 11:02am

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

Other recent topics Other recent topics