Greeting Friends!
I had to change some VM Settings for an Azure hosted VM and after which I was not able to connect back to VM
This blog tip helped me to solve the issue
http://blogs.endjin.com/2014/03/azure-tip-cannot-connect-to-virtual-machine-after-changing-virtual-machine-size/
Greetings! Welcome to my Dynamics AX 7 and related MS Technologies blog.
Total Pageviews
Search This Blog
Friday, August 14, 2015
Troubleshooting Dynamics AX 2009 Enterprise Portal Unable to generate a temporary class
Recently, I bumped on this error while troubleshooting a webpart in AX 2009
Error
Server was unable to process request. ---> Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\vmeyu2da.0.cs' could not be found
error CS2008: No inputs specified
Error
Server was unable to process request. ---> Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\vmeyu2da.0.cs' could not be found
error CS2008: No inputs specified
Solution:
Give the app pool iis account read/write permissions to c:\windows\temp folder
My experience upgrading to Windows 10 in 25 mins
Greetings All!
Recently I had posted my experience on Updating Windows 10 on my desktop. Thought to share it over here
https://www.linkedin.com/pulse/my-experience-upgrading-windows-10-25-mins-dilip-nair?trk=pulse_spock-articles
Recently I had posted my experience on Updating Windows 10 on my desktop. Thought to share it over here
https://www.linkedin.com/pulse/my-experience-upgrading-windows-10-25-mins-dilip-nair?trk=pulse_spock-articles
Wednesday, June 24, 2015
Troubleshooting IIS WCF Service Error Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format
Greetings!
In one of my Ax/Biztalk/Oracle integration projects, I had to write a web service to retrieve data from Oracle and as part of that development, I was using the Enterprise Library from Microsoft, On my development box, the build was good and my VS project compiles successfully without any issues.
However, while hosting the webservice on IIS 8.0 (Windows Server 2012) and trying to browse from the internet explorer, I got this error below:
Error:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Framework.Data' could not be loaded.
Stack Trace:
Solution:
After some troubleshooting, found the fix is to set Enable 32-bit Application = True on the App Pool which is used by the webservice. This solved the problem.
In one of my Ax/Biztalk/Oracle integration projects, I had to write a web service to retrieve data from Oracle and as part of that development, I was using the Enterprise Library from Microsoft, On my development box, the build was good and my VS project compiles successfully without any issues.
However, while hosting the webservice on IIS 8.0 (Windows Server 2012) and trying to browse from the internet explorer, I got this error below:
Error:
Server Error in
'/' Application.
Could not load file or assembly
'Framework.Data' or one of its dependencies. An attempt was made to load a
program with an incorrect format.
Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Framework.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Framework.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Framework.Data' could not be loaded.
WRN: Assembly binding logging is
turned OFF.
To enable assembly bind failure
logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]
(DWORD) to 1.
Note: There is some performance
penalty associated with assembly bind failure logging.
To turn this feature off, remove the
registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
|
Stack Trace:
[BadImageFormatException: Could not
load file or assembly 'Framework.Data' or one of its dependencies. An attempt
was made to load a program with an incorrect format.]
System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean
throwOnFileNotFound, Boolean forIntrospection, Boolean
suppressSecurityChecks) +0
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly,
StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean
throwOnFileNotFound, Boolean forIntrospection, Boolean
suppressSecurityChecks) +210
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr
pPrivHostBinder, Boolean forIntrospection) +242
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) +17
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
assemblyName, Boolean starDirective) +122
[ConfigurationErrorsException: Could
not load file or assembly 'Framework.Data' or one of its dependencies. An
attempt was made to load a program with an incorrect format.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
assemblyName, Boolean starDirective) +12480704
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
+499
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +131
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection
compConfig) +331
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String
preStartInitListPath, Boolean& isRefAssemblyLoaded) +148
System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters,
PolicyLevel policyLevel, Exception appDomainCreationException) +1151
[HttpException (0x80004005): Could
not load file or assembly 'Framework.Data' or one of its dependencies. An
attempt was made to load a program with an incorrect format.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12601936
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
+159
|
Troubleshoot Dynamics AX 2012 AIF Error The deployment web site was not found for the port
I was working on a custom service which I needed to activate on HTTP adapter, however was constantly hitting on this error while activating the service
Error - The deployment web site was not found for port
Fix -
The solution was to remove the end slash (\) from the service uri
System Administration > Setup > AIF > Website
Before: http://localhost:85/MicrosoftDynamicsAXAif60\
After: http://localhost:85/MicrosoftDynamicsAXAif60
I followed this blog which helped me to fix the issue
http://axaptapeople.blogspot.com.au/2013/11/ax2012-aif-known-issues.html
Error - The deployment web site was not found for port
Fix -
The solution was to remove the end slash (\) from the service uri
System Administration > Setup > AIF > Website
Before: http://localhost:85/MicrosoftDynamicsAXAif60\
After: http://localhost:85/MicrosoftDynamicsAXAif60
I followed this blog which helped me to fix the issue
http://axaptapeople.blogspot.com.au/2013/11/ax2012-aif-known-issues.html
Subscribe to:
Posts (Atom)