工具箱中没有报表项(VS 2008 SP1)

时间:2022-06-04 00:37:44

I am using Visual Studio 2008 SP1 (version 9.0.30729.1). My problem is that the only reporting-related toolbox items I see are 3 "Textbox" controls. Where are the other stuff? Do I need to add a reference to a different assembly?

我使用的是Visual Studio 2008 SP1(版本9.0.30729.1)。我的问题是,我看到的唯一与报告相关的工具箱项目是3个“文本框”控件。其他的东西在哪里?我是否需要添加对不同程序集的引用?

Here are the steps I take:
1) Open Visual Studio
2) Add new project --> "Reports Application"
3) Open Report1.rdlc
4) Open the toolbox and no controls are available (except the repeating 3 Textbox controls)

以下是我采取的步骤:1)打开Visual Studio 2)添加新项目 - >“报告应用程序”3)打开Report1.rdlc 4)打开工具箱,没有可用的控件(重复3个文本框控件除外)

Thanks for your help.

谢谢你的帮助。

5 个解决方案

#1


5  

My good sense tells me that something got corrupted in your installation.

我的好感告诉我你的安装中有些东西被破坏了。

Here's what I would try before attempting a repair (this happened recently):

这是我在尝试修复之前尝试的(最近发生过这种情况):

I fixed this by going into my profile as follows:

我通过进入我的个人资料修复了这个问题如下:

C:\Documents and Settings\MYUSERNAME\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies

C:\ Documents and Settings \ MYUSERNAME \ Local Settings \ Application Data \ Microsoft \ VisualStudio \ 8.0 \ ProjectAssemblies

There are four HIDDEN files in there that make up what is apparently the toolbox cache. If you erase them, they will be re-generated and #13119 will go back to General. As I said, these files appear to be hidden so configure the file explorer accordingly.

有四个HIDDEN文件组成了显然是工具箱缓存。如果你删除它们,它们将被重新生成,#13119将返回General。正如我所说,这些文件似乎是隐藏的,因此请相应地配置文件资源管理器。

Second problem: my User controls disappeared from the toolbox.
I was able to fix it by going into the VS menus:

第二个问题:我的用户控件从工具箱中消失了。我可以通过进入VS菜单来修复它:

Visual Studio "Tools" menu

Visual Studio“工具”菜单

"Options" submenu

"Windows Form Designer" tab "General" tab Set "AutoToolboxPopulate" to "True"

“Windows窗体设计器”选项卡“常规”选项卡将“AutoToolboxPopulate”设置为“True”

#2


1  

My problem was The Report Items Toolbox was showing multiple textboxes instead of valid Report controls. Solution: 1) Close the visual studio 2005. 2) delete the folders under C:\Documents and Settings\\Local Settings\application Data\microsoft\visualStudio\ 3) Open your visual studio 2005 project. It should work

我的问题是报告项工具箱显示多个文本框而不是有效的报告控件。解决方案:1)关闭visual studio 2005. 2)删除C:\ Documents and Settings \\ Local Settings \ application Data \ microsoft \ visualStudio \ 3下的文件夹.3)打开visual studio 2005项目。它应该工作

#3


0  

Here is a book reference available through Google Books: http://books.google.com/books?id=b9j0MKXhnygC&pg=PA419&lpg=PA419&dq=vs+2008+Reports+Application+toolbox&source=web&ots=awTO1ibUZH&sig=7iHAUSCZ46_uAjC5lAfLeiXZt_Q&hl=en&sa=X&oi=book_result&resnum=7&ct=result#PPA433,M1

以下是通过Google图书提供的图书参考:http://books.google.com/books?id = b9j0MKXhnygC&p = PA419&ltg = PA419&dq = vs + 2008 +报告+应用程序+托盘和资源=网络&goots_awA1&xig = 7iHAUSCZ46_uAjC5lAfLeiXZt_Q&hl = zh-CN&x book_result&resnum = 7&CT =导致#PPA433,M1

I also did the same (on same VS2008 SP1) and had the exact same items available.

我也做了同样的事情(在相同的VS2008 SP1上)并且拥有完全相同的项目。

#4


0  

A complete reinstall took care of it.

完整的重新安装处理它。

#5


0  

Thank you!!

This fixed my report designer toolbox. My "report items" group was only showing three textbox items.

这修复了我的报表设计器工具箱。我的“报告项目”组仅显示了三个文本框项目。

I am on Vista though, so the folder was.. C:\Users\Fox\AppData\Local\Microsoft\VisualStudio

我在Vista上,所以该文件夹是.. C:\ Users \ Fox \ AppData \ Local \ Microsoft \ VisualStudio

I just renamed this and next time VS started it recreated the toolbox and all the items were in place.

我刚刚重命名了这个,下次VS开始重新创建工具箱,所有项目都已到位。

Before doing this I had tried to reset the toolbox with a "right-click|reset toolbox" in VS, but it didn't fix the problem, only removing this folder did it.

在此之前我曾尝试在VS中使用“右键单击|重置工具箱”重置工具箱,但它没有解决问题,只删除此文件夹就可以了。

#1


5  

My good sense tells me that something got corrupted in your installation.

我的好感告诉我你的安装中有些东西被破坏了。

Here's what I would try before attempting a repair (this happened recently):

这是我在尝试修复之前尝试的(最近发生过这种情况):

I fixed this by going into my profile as follows:

我通过进入我的个人资料修复了这个问题如下:

C:\Documents and Settings\MYUSERNAME\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies

C:\ Documents and Settings \ MYUSERNAME \ Local Settings \ Application Data \ Microsoft \ VisualStudio \ 8.0 \ ProjectAssemblies

There are four HIDDEN files in there that make up what is apparently the toolbox cache. If you erase them, they will be re-generated and #13119 will go back to General. As I said, these files appear to be hidden so configure the file explorer accordingly.

有四个HIDDEN文件组成了显然是工具箱缓存。如果你删除它们,它们将被重新生成,#13119将返回General。正如我所说,这些文件似乎是隐藏的,因此请相应地配置文件资源管理器。

Second problem: my User controls disappeared from the toolbox.
I was able to fix it by going into the VS menus:

第二个问题:我的用户控件从工具箱中消失了。我可以通过进入VS菜单来修复它:

Visual Studio "Tools" menu

Visual Studio“工具”菜单

"Options" submenu

"Windows Form Designer" tab "General" tab Set "AutoToolboxPopulate" to "True"

“Windows窗体设计器”选项卡“常规”选项卡将“AutoToolboxPopulate”设置为“True”

#2


1  

My problem was The Report Items Toolbox was showing multiple textboxes instead of valid Report controls. Solution: 1) Close the visual studio 2005. 2) delete the folders under C:\Documents and Settings\\Local Settings\application Data\microsoft\visualStudio\ 3) Open your visual studio 2005 project. It should work

我的问题是报告项工具箱显示多个文本框而不是有效的报告控件。解决方案:1)关闭visual studio 2005. 2)删除C:\ Documents and Settings \\ Local Settings \ application Data \ microsoft \ visualStudio \ 3下的文件夹.3)打开visual studio 2005项目。它应该工作

#3


0  

Here is a book reference available through Google Books: http://books.google.com/books?id=b9j0MKXhnygC&pg=PA419&lpg=PA419&dq=vs+2008+Reports+Application+toolbox&source=web&ots=awTO1ibUZH&sig=7iHAUSCZ46_uAjC5lAfLeiXZt_Q&hl=en&sa=X&oi=book_result&resnum=7&ct=result#PPA433,M1

以下是通过Google图书提供的图书参考:http://books.google.com/books?id = b9j0MKXhnygC&p = PA419&ltg = PA419&dq = vs + 2008 +报告+应用程序+托盘和资源=网络&goots_awA1&xig = 7iHAUSCZ46_uAjC5lAfLeiXZt_Q&hl = zh-CN&x book_result&resnum = 7&CT =导致#PPA433,M1

I also did the same (on same VS2008 SP1) and had the exact same items available.

我也做了同样的事情(在相同的VS2008 SP1上)并且拥有完全相同的项目。

#4


0  

A complete reinstall took care of it.

完整的重新安装处理它。

#5


0  

Thank you!!

This fixed my report designer toolbox. My "report items" group was only showing three textbox items.

这修复了我的报表设计器工具箱。我的“报告项目”组仅显示了三个文本框项目。

I am on Vista though, so the folder was.. C:\Users\Fox\AppData\Local\Microsoft\VisualStudio

我在Vista上,所以该文件夹是.. C:\ Users \ Fox \ AppData \ Local \ Microsoft \ VisualStudio

I just renamed this and next time VS started it recreated the toolbox and all the items were in place.

我刚刚重命名了这个,下次VS开始重新创建工具箱,所有项目都已到位。

Before doing this I had tried to reset the toolbox with a "right-click|reset toolbox" in VS, but it didn't fix the problem, only removing this folder did it.

在此之前我曾尝试在VS中使用“右键单击|重置工具箱”重置工具箱,但它没有解决问题,只删除此文件夹就可以了。