I got this error when i redirect to another action with parameters.
In my case, the problem was parameter name. Add correct parameter.
return RedirectToAction("ProductTryout", new RouteValueDictionary(new { controller = "Catalog", action = "ProductTryout", productId = model.Id }));
Wednesday, August 22, 2012
Monday, August 20, 2012
A generic error occurred in gdi+
You can not save the same bitmap which is being used by other process. So rename it and then try to save
Thursday, August 16, 2012
Wednesday, August 15, 2012
A route named could not be found in the route collection. NopCommerce
Go to the Nop.Web.Infrastructure.RouteProvider.cs
Add following Code
routes.MapLocalizedRoute("YourLink",
"customer/YourLink",
new { controller = "Customer", action = "YourLink" },
new[] { "Nop.Web.Controllers" });
Add following Code
routes.MapLocalizedRoute("YourLink",
"customer/YourLink",
new { controller = "Customer", action = "YourLink" },
new[] { "Nop.Web.Controllers" });
Monday, July 30, 2012
How to Run WAMP Server Parallel with IIS 7 on Windows
When you already have IIS running then you may not be able to run WAMP Server at Localhost. You need to shutdown IIS in order to run WAMP Server properly.
To run WAMP Server parallel with IIS 7, we need to assign port 8080 to WAMP Server so that it runs on http://localhost:8080 and IIS 7 runs on http://localhost
To do this, click on WAMP Server icon on taskbar and go to Apache > httpd.conf
httpd.conf file will be opened. Change ‘Listen 80’ to ‘Listen 8080’ (As shown in the screenshot). Save and restart WAMP.
Now you can access WAMP Server access on http://localhost:8080
And at http://localhost IIS 7 will be running.
To run WAMP Server parallel with IIS 7, we need to assign port 8080 to WAMP Server so that it runs on http://localhost:8080 and IIS 7 runs on http://localhost
To do this, click on WAMP Server icon on taskbar and go to Apache > httpd.conf
httpd.conf file will be opened. Change ‘Listen 80’ to ‘Listen 8080’ (As shown in the screenshot). Save and restart WAMP.
Now you can access WAMP Server access on http://localhost:8080
And at http://localhost IIS 7 will be running.
Thursday, July 26, 2012
Free shipping over X Nop Commerce
I you had a problem with Free shipping over X, i would recommend that you check to be sure
1) you don't have any discounts set up (Category, Role, etc.),
2) your product item has
a) Is Shippable - checked
b) Free Shipping - not checked
b) No per item additional shipping charges
Learn More new features and programing Tips from
Thanks
1) you don't have any discounts set up (Category, Role, etc.),
2) your product item has
a) Is Shippable - checked
b) Free Shipping - not checked
b) No per item additional shipping charges
Learn More new features and programing Tips from
Thanks
Wednesday, July 25, 2012
Installing DotNetNuke using SQL Server 2005/2008 as your database server
1.Download the latest stable release of DotNetNuke, using the INSTALL package
2.Extract the contents of the ZIP package to a folder on your computer.
3.Create a directory in the c:\inetpub\wwwroot\ folder called DotNetNuke which would look like c:\inetpub\wwwroot\dotnetnuke\
4.Copy the contents of the extracted DNN INSTALL package to the c:\inetpub\wwwroot\dotnetnuke\ folder
5.Go to the properties of the c:\inetpub\wwwroot\dotnetnuke\ folder, click on the Security tab, be sure to add the permissions for the appropriate user (WinXp/2000 uses the local ASPNET account, Win2003/Vista/2008/7 use the local Network Service account). Give this account modify permissions on the folder
6.Open up the the web server IIS Console, start->run->INETMGR
7.Expand the websites node
8.Expand the default website node
9.Right click on the dotnetnuke folder under the default website, click on Convert to Application, if you don't have that option, choose properties and then add the application.
10.Open up SQL Management Studio (2005/2008), or Enterprise Manager (2000)
11.Connect to your database server (might be local)
12.Expand the server node (name of the SQL server/computer) and right click on the Databases node, choose New Database.
13.Define the database name and other properties, click OK to create the database.
14.Configure the SQL User Security/Account
15.Browse to your website using http://localhost/dotnetnuke
16.Step through the installation wizard, use Typical or Custom.
17.When you get to the database screen you need to choose SQL 2000/2005/2008 (not the SQL Express option)
2.Extract the contents of the ZIP package to a folder on your computer.
3.Create a directory in the c:\inetpub\wwwroot\ folder called DotNetNuke which would look like c:\inetpub\wwwroot\dotnetnuke\
4.Copy the contents of the extracted DNN INSTALL package to the c:\inetpub\wwwroot\dotnetnuke\ folder
5.Go to the properties of the c:\inetpub\wwwroot\dotnetnuke\ folder, click on the Security tab, be sure to add the permissions for the appropriate user (WinXp/2000 uses the local ASPNET account, Win2003/Vista/2008/7 use the local Network Service account). Give this account modify permissions on the folder
6.Open up the the web server IIS Console, start->run->INETMGR
7.Expand the websites node
8.Expand the default website node
9.Right click on the dotnetnuke folder under the default website, click on Convert to Application, if you don't have that option, choose properties and then add the application.
10.Open up SQL Management Studio (2005/2008), or Enterprise Manager (2000)
11.Connect to your database server (might be local)
12.Expand the server node (name of the SQL server/computer) and right click on the Databases node, choose New Database.
13.Define the database name and other properties, click OK to create the database.
14.Configure the SQL User Security/Account
- SQL User Security (requires mixed mode authentication to be enabled in SQL Server)
- Right click on Server/Security and choose New Login
- Define new SQL Server authentication login information, username/password.
- From the User Mapping section choose the new DNN database and configure the db_owner role membership. Click OK
15.Browse to your website using http://localhost/dotnetnuke
16.Step through the installation wizard, use Typical or Custom.
17.When you get to the database screen you need to choose SQL 2000/2005/2008 (not the SQL Express option)
- If you have only one instance of SQL running on your server, and you intend on using the SQL instance on your machine, you can enter a '.' for the database location or use (local) as the local instance name (the brackets are necessary(. Otherwise, if you have more than one instance of SQL running on your localhost (SQL2005, SQL2008Express, SQL2008) and you are going to use one of the local instances enter a period followed by a slash and the instance name. For example '.\SQL2008'
- Integrated Security (no changes)
- Not using Integrated Security
- Uncheck Integrated Security
- Type in the Username and Password from steps 14-b-ii-iii
19.Test the database connection, if successful continue
20.Step through the remainder of the installation wizard configuring the Host and Admin accounts.
Subscribe to:
Posts (Atom)
I Built a New Kind of Number Puzzle Game (And You Can Play It Free)
For a long time, I wanted to play a mobile puzzle game that felt genuinely strategic—something that required real brainpower, skipped the a...
-
I have tried data-gramm="false" and hiding it through CSS, but neither of these solutions has worked. If anyone can resolve this i...
-
Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...
-
Microsoft Graph API is a powerful tool that allows developers to access a wide range of Microsoft 365 services, including Outlook and Calend...