Category: .NET


Windows Phone 7 Tutorials

Very nice tutorials for start programing on Windows Phone 7:

http://compiledexperience.com/windows-phone-7

When you come across with the following error while trying to run a .NET project/ Website: “Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0×80070057 (E_INVALIDARG))”

The solution is as follow,

IF your OS = Windows XP / 2000

Delete everything or just the fold with the same name as the project you are having issue in the following path:
“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”

IF your OS = Windows 7 / Vista
The path would be: “C:\Users\DellUser\AppData\Local\Temp\Temporary ASP.NET Files”.

Then in the VS.NET clear and rebuild your project. Problem should be solved.

Example: how to redirect to another page.

ScriptManager.RegisterStartupScript(this, this.GetType(), “LicenceGenerated”, “window.parent.fUserInfo.location.href=’LicenceUpdateGenerated.aspx;”,true);

Powered by WordPress | Theme: Motion by 85ideas.