MSDeploy build after win upgrade - msdeploy

I am doing a msdeploy in the Developer Command Prompt (Admin) and after updating to Win 8.1 Pro, I get this error after running the command.
I did not get this error before the update I got another error USER NOT ADMIN to fix this I had to upgrade so I could create a group and add deploy as Admin.
Please forgive any bad formatting first timer.
>..\..\lib\msdeploy\msdeploy -verb:sync -source:package='Package.zip' -dest:contentPath='test.dev',computerName=localhost,userName=deploy,password=xxxx
Error: Exception has been thrown by the target of an invocation. ---> System.Exception: The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception. ---> System.Exception: The type initializer for 'Microsoft.Web.Deployment.BuiltInTypesCache' threw an exception. ---> System.Exception: The type initializer for 'Microsoft.Data.Tools.Schema.MsDeploy.MsDeployProviderBaseProviderFactory' threw an exception. ---> System.IO.IOException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft SQL Server\110\DAC\Bin\Microsoft.Data.Tools.Schema.Sql.dll' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Exception:Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

I believe this part of the error indicates you need to install, repair or uninstall/reinstall the 2012 version of the SQL Server Data Tools:
System.IO.IOException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft SQL Server\110\DAC\Bin\Microsoft.Data.Tools.Schema.Sql.dll' or one of its dependencies.

Related

System.Runtime.InteropServices.COMException: 'The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))'

I am working with zkemkeeper 64 bit. I am having an error When i ccall
bool a = axCZKEM1.Connect_Net(IPAddress, Port);
axCZKEM1 is my zkemkeeper.CZKEMClass object.
The following error i am getting.
System.Runtime.InteropServices.COMException: 'The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))'
Can you please help me with this ?
It is because COM dll files are not registered. you must have something like install.bat, run it in admin mode. Or find the Dll files from the download SDK folder, register all of them, then run the application. Problem will be resolved.

Teradata connection working for one site but not for the other

I have configured a Teradata driver and connecting to TD from one website which works fine. But when we try to connect to TD using the same driver through a different website hosted on the same server I'm getting following error:
ERROR [IM003] Specified driver could not be loaded due to system error 126: The specified module could not be found. (Teradata, D:\Apps\Program Files\Teradata\Client\14.10\ODBC Driver for Teradata nt-x8664\Lib\tdata32.dll).
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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: ERROR [IM003] Specified driver could not be loaded due to system error 126: The specified module could not be found. (Teradata, D:\Apps\Program Files\Teradata\Client\14.10\ODBC Driver for Teradata nt-x8664\Lib\tdata32.dll).
The DSN was missing on the other server and that's what was causing this error. Hope it would be helpful to someone.

When I deploy my web project on IIS, I get the following error

When i deploy my web project after publishing, on IIS. it gives me the following error.
Server Error in '/' Application.
Could not load file or assembly 'System.Web' or one of its dependencies. The system cannot find the file specified.
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.IO.FileNotFoundException: Could not load file or assembly 'System.Web' or one of its dependencies. The system cannot find the file specified.
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 'System.Web' 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].
Try the following (If using 64 bit IIS - replace framework by framework 64):-
Run command prompt as admin.
2a. If using version 3.5 Type
cd c:\windows\microsoft.net\framework\v2.0.50727
and press enter.
2b. If using version 4.0 or 4.5 type
cd c:\windows\microsoft.net\framework\v4.0.30319
and press enter.
3. Type
aspnet_regiis -i
and press enter.

Compiler Error Message: CS0009 - mscorlib.dll

When I try to run my web application, the following error occurs:
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS0009: Metadata file
'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' could not
be opened -- 'File is corrupt.'
It seems to me that the .NET framework 4 installation is corrupt, but I am using Windows 8.1, and I'm not sure how to repair this, as it is integrated into the Windows installation.
I manually copied the corrupted file from a different computer with the same Windows installation. It took some permission changing, but I managed to do it.

Windows 2008 64 bit OS Retrieving the COM class factory failed

I am doing excel automation at Server Side through my website .The code uses excel interop dlls. The server I am deploying is 64 bit windows 2008 . I tried most of the options I researched in web but still getting below message.
Options tried :
1) Configured IIS 7 Aplication pool to accept 32 bit app -failed
2) Rebuild the code with Target platform as X86 - failed
3) Created desktop folders under C:\Windows\SysWOW64\config\systemprofile\Desktop - failed
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Resources