Windows Azure - 无法创建角色入口点
我正在将ASP .NET 2.0 WebSite迁移到WebRole(ASP.NET 4.0和VS2010)。创建新的Web角色后,我将所有文件和文件夹从网站移动到WebRole,然后引用所有需要的dll。我构建并运行Web角色独立,一切都没问题。但是当我构建并运行WindowsAzureProject时,会出现以下错误
[fabric] Role state Stopping
[fabric] Role state Stopped
[fabric] Role state Aborted
[fabric] Role state Teardown
[fabric] Role state Destroyed
[runtime] Role entrypoint could not be created:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.CreateRoleEntryPoint(RoleType roleTypeEnum)
at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(RoleType roleTypeEnum)
和“操作被取消”状态
我需要几天才能解决但没有找到任何结果。我确实为所有参考dll设置了“Copy local”为true,但它也没有效果。我只是认为spring.core和spring.aop导致错误,但我不知道如何调试和捕获它崩溃的地方
在这种情况下请帮助我。非常感谢,抱歉我的英语不好
没有找到相关结果
已邀请:
3 个回复
梆晨灸碾
抢垢洛韧
摊揉售