在Plesk上托管时与msvcr100.dll相关的错误

时间:2015-02-16 15:22:59

标签: asp.net hosting plesk

我在使用Visual Studio运行它或使用本地IIS进行托管时创建了一个完美的应用程序,但是当我在Plesk上托管它并尝试运行它时它会给我以下错误...

`Error loading msvcr100.dll (ErrorCode: 5)`

来源错误:

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.

堆栈追踪:

[Exception: Error loading msvcr100.dll (ErrorCode: 5)]
   SqlServerTypes.Utilities.LoadNativeAssembly(String nativeBinaryPath, String assemblyName) +116
   SqlServerTypes.Utilities.LoadNativeAssemblies(String rootApplicationPath) +30
   CMS.Global.Application_Start(Object sender, EventArgs e) +58
[HttpException (0x80004005): Error loading msvcr100.dll (ErrorCode: 5)]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9936485
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): Error loading msvcr100.dll (ErrorCode: 5)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9950728
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

2 个答案:

答案 0 :(得分:1)

<fragment android:id="@id/mapid" class="com.google.android.gms.maps.MapFragment" android:layout_width="match_parent" android:layout_height="match_parent"/> </FrameLayout> 拒绝访问,这意味着正在运行的进程无法访问文件以根据this list of error codes加载库(例如,IIS),其中说:

  

ERROR_ACCESS_DENIED 5(0x5)访问被拒绝

您可以通过提及GetLastError的文档阅读更多信息:

  

要获取系统错误代码的错误字符串,请使用   FormatMessage函数。有关提供的错误代码的完整列表   操作系统,请参阅系统错误代码。

答案 1 :(得分:0)

正如Zaki所说,尝试重新安装Visual C ++ 2010 Redistributable Package,我建议先删除已安装的软件包。

向您的托管服务提供商寻求技术支持。