tag:blogger.com,1999:blog-4156270291039836733.post7144599269001249979..comments2024-03-29T01:12:27.740-07:00Comments on Sanganak Authority: Using SQL Azure for Session State Management in Windows Azure ApplicationsSanganak - Authorityhttp://www.blogger.com/profile/10009495430205891161noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-4156270291039836733.post-79875017350969454152013-01-17T11:34:22.216-08:002013-01-17T11:34:22.216-08:00Thanks this worked great!Thanks this worked great!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-84334898102429499262012-08-02T02:42:55.776-07:002012-08-02T02:42:55.776-07:00What's the point of having them in both?What's the point of having them in both?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-75039726403778771222012-06-13T05:53:09.330-07:002012-06-13T05:53:09.330-07:00Hi Marco,
Thanks for writing in. The error is self...Hi Marco,<br />Thanks for writing in. The error is self explanatory. The key 'SQLConnectionString' you defined in serviceconfiguration.cscfg.local (or cloud) file must also be declared in ".csdef" file as well. Do that and you should be good to go ahead. Hope this helps.Sanganak - Authorityhttps://www.blogger.com/profile/10009495430205891161noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-75851760662095122982012-06-12T13:41:54.390-07:002012-06-12T13:41:54.390-07:00Hi Sanganak
I tried out the example as you direct...Hi Sanganak<br /><br />I tried out the example as you directed above.<br />On compiling i get the following error. Please advise.<br /><br />The setting 'SQLConnectionString' for role WebRole1 is specified in the service configuration file, but it is not declared in the service definition file.Anonymoushttps://www.blogger.com/profile/07114925409830705936noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-73519864730591609382012-06-01T04:40:48.520-07:002012-06-01T04:40:48.520-07:00Hi Bhanu,
Just check the .net framework of your ap...Hi Bhanu,<br />Just check the .net framework of your application. it should be 4.0.<br />I feel your are getting an exceptio because it is not able to find configuration file with specified .net framework.<br />Hope it helps.Sanganak - Authorityhttps://www.blogger.com/profile/10009495430205891161noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-59027128785271069432012-06-01T02:23:47.269-07:002012-06-01T02:23:47.269-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/13349747613509400233noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-91076010485400948182012-05-25T02:38:27.982-07:002012-05-25T02:38:27.982-07:00Hi bhanu,
Could you please post your complete cod...Hi bhanu, <br />Could you please post your complete code modifying config file here.Sanganak - Authorityhttps://www.blogger.com/profile/10009495430205891161noreply@blogger.comtag:blogger.com,1999:blog-4156270291039836733.post-48060704909926065232012-05-25T02:07:03.126-07:002012-05-25T02:07:03.126-07:00Hi Sanganak,
I tried the method you mentioned abo...Hi Sanganak,<br /><br />I tried the method you mentioned above, but getting an error while executing as below<br /><br />Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.<br /><br />at the code line<br /><br />var runtimeConfigInstance = runtimeConfig.GetMethod("GetAppConfig", BindingFlags.NonPublic | BindingFlags.Static).Invoke(null, null);<br /><br />Please help me to solve this. Thanks in Advance.Anonymoushttps://www.blogger.com/profile/13349747613509400233noreply@blogger.com