.net - Unable To Programmatically Create Client DataCache In Azure In Cloud Only?

Dec 20, 2011

I have a Azure worker role that needs to use the cache in AppFabric. When run locally (Win7x64,VS2010) pointing at the cache in the cloud, it works fine.When I deploy the same package to the cloud (again pointing at the same cache), it produces the following exception:

Message: The type initializer for 'Microsoft.ApplicationServer.Caching.DataCacheClientLogManager' threw an exception.
Exception Type: TypeInitializationException
StackTrace: Microsoft.ApplicationServer.Caching.DataCacheClientLogManager.Initialize(DataCacheLogSink logSink)
at Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.Initialize(String clientName)
at CommunicationRole.CacheUtil.GetCache()

Having looked at the code, this is happening when this line of code is hit:

Dim configuration As New DataCacheFactoryConfiguration()

Nothing runs after this line is hit. As I've said, the configs between local and cloud are the same. I use the cache with the credentials as a session state provider in a web deployment so I believe the cache and access to it are good.My build machine has the November 2011 release of the Azure SDK, and Azure AppFabric SDK 1.5 installed.

The method to get the cache is as follows:

Imports System.IO
Imports Microsoft.WindowsAzure
Imports Microsoft.WindowsAzure.ServiceRuntime

[code].....

View 1 Replies


ADVERTISEMENT

Passing Parameters To A .NET WS Hosted On Windows Azure From An Android Client?

Apr 11, 2012

I am struggling to send parameters to a VB.NET WS(web service) that is hosted on Windows Azure. Getting a simple hello world (no parameters) works fine, but for some reason my parameters on the web service side are null? Web service function to be called (IService1.vb):

<OperationContract()>
Function GetAddition(ByVal number1 As Integer, ByVal number2 As Integer) As String

Function implementation (Service1.svc.vb):Function GetAddition(ByVal number1 As Integer, ByVal number2 As Integer) As String Implements IService1.GetAddition Return number1 + number2 End Function

[Code]...

View 1 Replies

Asp.net - Create New Container Azure

Jul 22, 2011

I am trying to migrate large data that is required for our website hosted on Azure to access. The data amounts to about 7GB. After reading few forums, I have come to know that SQL Azure BLOB Storage can do the trick for me. how we can store data in SQL Azure BLOB Storage and access it? At first I want to try to store a Test.txt file in the BLOB and access the contents of this file from our website and display it.

View 1 Replies

Unable To Add Wildcard Scriptmap On IIS 6.0 Programmatically

Feb 6, 2011

I have created a Web Setup project using VS 2008. I have created a custom action to programatically add a wildcard scriptmap for my virtual directory. The app installs fine, but, during custom action, fails to add scriptmap. I've tried this on Win 2003 server with IIS 6.0 and WinXP with IIS 5.1.[code]....

View 1 Replies

Programmatically Tell If A Client Machine Has The Microsoft.Jet.OLEDB.4.0 As A Valid Provider?

Apr 9, 2009

I need to export data into an Access database. My code works, but it works with the assumption the client machine has the Microsoft.Jet.OLEDB.4.0 as a valid provider.

I want to test to see if this is true or not, in code. My problem is that I don't have the location of an existing access database and I don't want to create a new .mdb that I'd use to verify the connection and then delete it.

View 3 Replies

Unable To Recieve Tcp Client Response?

Sep 27, 2011

when creating a tcp chat, Im able to send and set everything up but. the application(form) freezes everytime stream is going to be readed

heres the code
Imports System.Net, System.Net.Sockets, System.IO, System.Text
Module client

[code]....

View 1 Replies

Cloud App API For Program?

May 3, 2011

Is there a cloud app api available for developing on Visual Basic [2008 or 2010]

View 5 Replies

VB Allows To Put Applications On The Cloud?

Jul 2, 2011

I want a tool to create database applications. I think that the Microsoft product for this is Visual Basic. I would like to ask:

1) Why Visual Basic is better than Delphi ( from Borland )?

2) Where can I see the Versions and Prices?

3) Visual Basic allows to put applications on the Cloud? How this works? In which Cloud services works?

4) Which database can be accessed directly - without having to install third- party components - from Visual Basic? Which of these databases works on the Cloud?

5) Does Visual Basic allows connections to Microsoft Office and/or OpenOffice?

6) Where can I find a version to test it?

View 2 Replies

Make My App To Support Cloud?

Apr 1, 2012

I would like to ask : how can i make to support the cloud technology.

Do i have to first find a server that provides cloud services ? Or does the user provide his own custom credentials and server somehow ?

Also, what .NET technology is there for cloud services ? Azure ?

Do you know any good examples / website for that ?

If i develop for Azure will the same code run also with Amazon web services ?

View 3 Replies

Create Client-server App, In Which Client Can View Files On Server?

Nov 15, 2011

basically i just want client to say "C: emp" ENTER

then, server must reply with all its files in c: emp

View 1 Replies

Code Samples Of Cloud Apps In .NET

Feb 16, 2012

I have been en-charged of creating some apps using the cloud. I only have experience programming windows apps (vb.net) Do you guys have any code samples of cloud apps in VB.NET? If not, do you know where I can find this?What about documentation for creating vb.net cloud apps?

View 3 Replies

VS 2010 In Cloud Source Control?

Dec 7, 2010

I'm looking to move all my code into the cloud using some sort of source control service. It must first be able to integrate with Visual Studio 2008 and 2010, and possibly other environments. Meaning something that's fairly popular among different development environments. The only source control I'm familiar with is VSS, but I think it's time to move away from that. I also prefer a free service. I know that there are only code repository services that are free, but I just don't know how that integrates with Visual Studio and source control.

View 28 Replies

Asp.net Mvc - Get The Email And Name From Azure ACS?

Sep 25, 2011

I'm using the Azure ACS, and I've been looking for away to get the email and name from the SAML 2.0 response or something.But I dont see any options for it, I redirect the user to localhost:8000/acc/completesigninup/.There I have the XML from the FormCollection object, I see the Email and Name in the xml but I'm not sure how to get it. Is there a parser that's included in the Identity dll to get that info?

View 2 Replies

Check For SSL When Hosted In Rackspace (Mosso) Cloud?

Jan 19, 2010

I am using Request.IsSecureConnection to check for SSL and redirecting where appropriate. When running my asp.net website on Rackspace's cloud, the server is running behind an SSL cluster, so IsSecureConnection will always return false. The same goes for checking whether the url contains "https://", always false, checking the port, etc. So the website gets stuck in big redirect loop.[code]...

View 2 Replies

Migrate ASP.Net Website To Azure

Apr 21, 2011

I have an ASP.NET in VB code base that if I open in Visual Studio as an existing website works and tests just fine. I have followed many tutorials for porting this over to Azure: -Tried create new Azure project add a webrole and drag and drop project files into the new webrole, but I get about 300 reference/missing stuff/etc errors -I have also tried creating an azure project under the website solution but the option to add the website to the webrole by clicking "web role project in solution" is disabled/grayed out I have been able to make the configuration files and compile through the command line but this does not work with visual studio so I am unable to test before deploying into staging

View 1 Replies

VS 2010 SQL Azure From Winforms ?

May 22, 2011

I have WinForms application with SQLServer 2008 Express. I want to move my data from it to SQL Azure. The architect of application as Client-Server Type (using stored procedures).

I want to know that if there is any performance issue when I am using broadband internet (with speed 2Mbps download and 512kbps upload)?

View 3 Replies

C# - Creating A Chat Application With Azure

Apr 14, 2011

What I need to do is create the server side for a chat application that will run on the iPhone, Android, Blackberry and web browsers. To do this I am thinking of:

[Code]...

View 2 Replies

C# :: How To Create GPO Programmatically

Apr 4, 2012

I need to deploy my vb.net application via group policy. I found some information on how to do this here

View 2 Replies

C# - Storing Static Files To Be Shared Among Azure Roles

Sep 13, 2011

I'm trying to host some static files for access by an ASP.Net web role and a separate data worker role that are both running on the same deployment (they use a global static interface).

However, I'm unsure how exactly to 'host' them, I've tried using virtual folders via HttpRuntime.AppDomainAppPath, but it only occasionally works in debug mode. The files also don't seem to get packaged into the deployment packages made by VS vis CSPack (though this might be a separate issue, is it possible to fix this too?)

The static files in question are actually WordNet, which I'm using through WordNet.Net, If that makes any difference. I also need the solution to work in both the cloud deployment and the emulator (if possible).

View 2 Replies

Create .ics File Programmatically?

Feb 8, 2011

How can I create an icalendar file with minimum data, I try to make it as the following but somethings wrong, when I try to import to my Google calendar, it says Events successfully imported but I cant see those event on my calendar

strResult.Append("BEGIN:VCALENDAR" & vbCrLf)
strResult.Append("VERSION:2.0" & vbCrLf)
strResult.Append("METHOD:PUBLISH" & vbCrLf)

[Code]....

View 1 Replies

Create A Class Programmatically?

May 10, 2009

Is it possible to create a class programmatically?

View 2 Replies

Create A Project Programmatically?

Sep 17, 2010

I'm currently working on building a program that will take a MS Access database system produced by my company and create a VB.Net project with all the forms in it (obviously the code should be manually done, but to save time the forms and controls can be produced automatically).I have tried Googling and seem not to be able to find anything about this (which probably means I wasn't searching with the right keywords), I was wondering whether anyone knows any good resources on how to create the VB.Net project programmatically as I already know how to do all the access stuff.

View 1 Replies

Create A Timer Programmatically?

Jul 17, 2011

How do i create a timer programatically, say, every time i hit a button. if i want each timer to stay running for an hour, would they have to be named different each time the button is pressed, since the previous timers would still be running.

View 14 Replies

Create An XML Schema Programmatically?

Mar 31, 2011

How do I create a .xsd Schema file from a given .xml file programatically?

Is there a .NET class representing XSD.exe ?

View 4 Replies

Programmatically Create A Database?

Dec 17, 2009

i'm searching for information on how to programmatically create a database. i want to manage some data and the windows forms application i wish to built will provide users to create, open, manage & delete databases with small amount of data presented into a datagridview.as an example, if, in VS, you click Project and Add new item, it's possible to choose Local database and cancel the wizard, than manually create and edit a table.is there a way to do something similar with some code?i've checked msdn but cannot find anything on this.

View 3 Replies

Programmatically Create And Use A Database?

Jun 9, 2010

I need information on how to programmatically create and use an Access database in VB 2005.

View 17 Replies

.net - Accessing Private Keys From Certificate Deployed To Windows Azure?

Nov 17, 2011

I am trying to access the private key of a certificate I uploded to Windows azure do do decryption. I used a code similar to this post: Using DotNetOpenAuth OAuth 2 with Azure - Reading Certificate - difficulty extracting keys. Andrew Arnott provided an answer to what post referencing this link:[URL].. However I cannot access it so I am not sure what is the solution.

Essentially when try to cast the private key of a certificate as a RSACryptoProvider. I get nothing:
Dim provider As RSACryptoServiceProvider = DirectCast(certificate.PrivateKey, RSACryptoServiceProvider)

That is provider is assigned nothing. The code works perfectly outside of Azure.

View 1 Replies

Client-Server-Client Multithreading - Instant Message Another Client

Jun 21, 2010

We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.

[Code]...

View 2 Replies

Create Access Databases Programmatically?

Jun 7, 2010

I need to make an application that from a master database creates a number of access database files (tables of a larger db), then these are manually given to users who fill in data, the database files are emailed back to a user who, through the application, combines them again.The only part of this that I am unsure about is problematically creating the access db's. I have read that through Microsoft Jet OLE DB Provider and Microsoft ADO Ext I can create them (the tables and data), but I also need forms.

View 1 Replies

Create Crystal Reports Programmatically?

Sep 9, 2010

Is it possible to create crystal reports in vb.net programatically at run time? There will be no typed dataset because I don't know what fields will need to be in it until the user clicks "Print".

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved