Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: not compatible with true 64 bit environment under .Net 4 [27268]

$
0
0
Writing a web application for a Windows 2008 R2 64 bit server.

Visual Studio 2010, .Net Framework 4, 64 bit Windows 7 on 64 bit hardware. I create an ASP.NET Web Application, right click on the project, go to properties, under the build tab, set the platform target to x64.

I downloaded the Ajax .net 4 toolkit. In the Toolbox, I add a tab and to it, the AjaxControlToolkit.

I drop in an Ajax control from the Toolbox into my default page. eg: ToolkitScriptManager. The intellisense underlines it. The warning message is:

Element 'ToolkitScriptManager' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.

I have a web.config file, it's there by default and I don't normally mess with it.

i run the app and get the following error message:

Could not load file or assembly 'WebApplication1' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Switching the Target Platform back to Any CPU fixes this problem, but doesn't address it.
Comments: __For IIS Express:__   If you use Visual Studio 2013 or higher, you can enable the 64-bit version of IIS Express in the menu: Tools | Options | Projects and Solutions | Web Projects | Use the 64 bit version of IIS Express   If you use Visual Studio 2012, you can run the following command to enable the 64-bit version of IIS Express: reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1   More details about IIS Express setup can be found here: http://stackoverflow.com/q/10202047/644496   __For IIS:__   From IIS 7, right click on the applications' Application pool, go to "Advanced settings" and change "Enable 32-Bit Applications" to "TRUE".   Restart your website.   More details about IIS setup can be found here: http://stackoverflow.com/q/2023766/644496

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>