masoud_sedighy@yahoo.com (11) [Avatar] Offline
#1
Hello

I like to run one sample application of web linq (linqbook application). It needs Access Key for Amazon Web Services so when I debug without that I have error like below:

Parser Error Message: Could not load type 'LinqBooks.Web.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="LinqBooks.Web.Global" Language="C#" %>
Please guide me how I can run this application without preparing “Access key, Secret key” because for now just I like to run this sample without web services and I do not have “Access key, Secret key”.
Best regards.
fabrice.marguerie (224) [Avatar] Offline
#2
Re: run application without preparing “Access key, Secret key”
The samples that work with Amazon require the access/secret keys. The others don't.

If for any reason you need to compile the Amazon samples without actual keys, just edit AmazonCommonAmazon.cs to use:

public const String AccessKey = "";
public const String SecretKey = "";