c# - Problems publishing working application to Azure -


i have mvc 5 build building , running locally without problems whatsoever. cannot publish azure. i'm publishing intellitrace enabled , i'm seeing exception being thrown attempting activate role.

exception thrown: "requested registry access not allowed." (system.security.securityexception)

i have made sure of following:

  • i have latest edition of microsoft azure sdk
  • all relevant project references of project references set copy local: true
  • all relevant libraries have correct binding redirects in respective app.config/web.config files
  • all azure references in project correct versions of assemblies

the event log shows following exceptions in chronological order:

error 4/11/2014 3:23:57 srmsvc 8228 none

file server resource: manager unable access following file or volume: 'e:'. file or volume might locked application right now, or might need give local system access it.

error 4/11/2014 3:31:44 .net runtime 1026 none

application: diagnosticsagent.exe framework version: v4.0.30319 description: process terminated due unhandled exception. exception info: system.io.filenotfoundexception stack: @ microsoft.windowsazure.plugins.diagnostics.diagnosticsguidnamedeventprovider.getnamedevent(system.string) @ microsoft.windowsazure.plugins.common.blockingexecutionenvironment.execute(system.func`1) @ microsoft.windowsazure.plugins.diagnostics.program.main(system.string[])

error 4/11/2014 3:31:44 .net runtime 1026 none

application: diagnosticsagent.exe framework version: v4.0.30319 description: process terminated due unhandled exception. exception info: system.io.filenotfoundexception stack: @ microsoft.windowsazure.plugins.diagnostics.diagnosticsguidnamedeventprovider.getnamedevent(system.string) @ microsoft.windowsazure.plugins.common.blockingexecutionenvironment.execute(system.func`1) @ microsoft.windowsazure.plugins.diagnostics.program.main(system.string[]) . error 4/11/2014 3:31:45 application error 1000 (100) faulting application name: diagnosticsagent.exe, version: 0.0.0.0, time stamp: 0x5243ef34 faulting module name: kernelbase.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6 exception code: 0xe0434352 fault offset: 0x000000000003811c faulting process id: 0x9c faulting application start time: 0x01cf55368ce74b73 faulting application path: e:\plugins\diagnostics\diagnosticsagent.exe faulting module path: d:\windows\system32\kernelbase.dll report id: cdd18167-c129-11e3-93f5-00155d85a04e faulting package full name: faulting package-relative application id:server resourceapplication:

we getting following error:

"file server resource manager unable access following file or volume: 'e:'. file or volume might locked application right now, or might need give local system access it."

we resolved issue updating our project references. if getting error, check azure references, these two:

microsoft.windowsazure.serviceruntime

microsoft.windowsazure.diagnostics

ensure references appropriate azure sdk version schema/sdk pointing in azure.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -