MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Amazon settings not working (Closed) (Mono Support )

Viewed 35463 time(s), 13 post(s) 1/17/2012 9:10:32 AMby cosmogonor
khorvat

khorvat

1/18/2012 10:04:50 AM
We will have to sync the code from latest version so you can fix this, please open a new topic in your priority support forum.

Thanks
This content has not been rated yet. 
15993 Reputation 2214 Total posts
cosmogonor

cosmogonor

1/18/2012 10:37:26 AM
Hi

the error is throwing in the following code line no : 985 in AmazonS3FileSystemContentProvider.cs class

public bool ObjectExists(string path)
{
bool toReturn = false;
string bucket = GetBucketNameFromPath(path);
string key = GetFolderPath(path);
using (ObjectHeadRequest headRequest = new ObjectHeadRequest(bucket, key))
{
try
{
ObjectHeadResponse headResponse = this.service.ObjectHead(headRequest);
toReturn = true;
}
catch
{
//the object does not exists and the server returns 404 error code
}

}
return toReturn;
}


right now we are using Monox 4.5.3200(.NET4.0)



thanks
This content has not been rated yet. 
1176 Reputation 140 Total posts
denis

denis

1/18/2012 10:40:18 AM
Again, could we please move this discussion to your priority support forum?
This content has not been rated yet. 
7207 Reputation 956 Total posts
1 2