本文介绍了在Godaddy上托管Entity DataModel的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! <! - 有关如何配置ASP.NET应用程序的更多信息,请访问 http://go.microsoft.com/fwlink /?LinkId = 169433 - > < configuration> < configsections> b $ b <! - 有关Entity Framework配置的更多信息,请访问http://go.microsoft.com/fwlink/? LinkID = 237468 - > < connectionstrings> < add name =dbosconnectionstring> connectionString =182.50.133.79:3306; DataBase = JKlogistics_; Protocol = TCP; Port = 3306; user id = JKLogistic; pwd = Sritej77; providerName =MySql.Data.MySqlClient/> <! - < connectionstrings> < add name =DefaultConnectionprovidername =System.Data。 SqlClientconnectionstring =数据源=(L ocalDb)\ v11.0;初始目录= aspnet-Mvc4-20151120100225;集成安全性= SSPI; AttachDBFilename = | DataDirectory | \ aspnet-Mvc4-20151120100225.mdf> < add name =ssEntitiesconnectionstring =metadata = res://*/Model1.csdl | res://*/Model1.ssdl | res://*/Model1.msl; provider = Devart.Data.MySql; provider connection string =user id = root; password = mysqladmin; host = localhost; database = ss; persist security info = Trueprovidername =System.Data.EntityClient> < add name =ssEntities1connectionstring =metadata = res://*/ss.csdl | res://*/ss.ssdl | res://*/ss.msl; provider = Devart.Data.MySql; provider connection string =user id = root; password = mysqladmin; host = mypc; database = ssprovidername =System.Data.EntityClient> < add name =ssEntities2connectionstring = metadata = res://*/ss.csdl | res://*/ss.ssdl | res://*/ss.msl; provider = Devart.Data.MySql; provider connection string =user id = root; password = mysqladmin; host = mypc; database = ssprovidername =System.Dat a.EntityClient> - > < system.web> < securitypolicy> < trustlevel name =HighCustom> policyFile =web_highcustom.config/> <! - < location allowoverride =true> < system.web> < securitypolicy> < trustlevel name =Fullpolicyfile = 内部 > < trustlevel name =Highpolicyfile =web_hightrust.config> < trustlevel name =Medium> policyFile =web_mediumtrust.config/> < trustlevel name =Low> policyFile =web_lowtrust.config/> < trustlevel name =Minimal> policyFile =web_minimaltrust.config/> < trust level =Mediumoriginurl => - > < appsettings> < add key =webpages:Versionvalue =2.0.0.0> ; < add key =webpages:Enabledvalue =false> < add key =PreserveLoginUrlvalue =true> < add key =ClientValidationEnabledvalue =true> < add key =UnobtrusiveJavaScriptEnabledvalue =true> < system.web> < trust level =Full> < compilation debug =truetargetframework =4.5> < assemblies> < add assembly =System.Data.Entity,Version = 4.0 .0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089> < httpruntime targetframework =4.5> < authentication mode =None> < pages> < namespaces> < add namespace =System.Web.Helpers> < add namespace =System.Web.Mvc> < add namespace =System.Web .Mvc.Ajax> < add namespace =System.Web.Mvc.Html> < add namespace =System.Web.Optimization > < add namespace =System.Web.Routing> < add namespace =System.Web.WebPages> < profile defaultprovider =DefaultProfileProvider> < providers& gt; < add name =DefaultProfileProvidertype =System.Web.Providers.DefaultProfileProvider,System.Web.Providers,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35connectionstringname =DefaultConnectionapplicationname =/> < membership defaultprovider =DefaultMembershipProvider> < providers> < add name =DefaultMembershipProvidertype =System.Web.Providers.DefaultMembershipProvider,System.Web.Providers,Version = 1.0.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35connectionstringname =DefaultConnectionenablepasswordretrieval =falseenablepasswordreset =truerequiresquestionandanswer =falserequiresuniqueemail =falsemaxinvalidpasswordattempts =5minrequiredpasswordlength =6minrequirewindonalphanumericcharacters =0passwordattemptwindow =10applicationname =/> < rolemanager defa ultprovider =DefaultRoleProvider> < providers> < add name =DefaultRoleProvidertype =System.Web.Providers.DefaultRoleProvider,System.Web。 Providers,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35connectionstringname =DefaultConnectionapplicationname =/> < sessionstate mode =InProccustomprovider =DefaultSessionProvider> < providers> < add name =DefaultSessionProvidertype =System。 Web.Providers.DefaultSessionStateProvider,System.Web.Providers,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35connectionstringname =DefaultConnection> b $ b < system.webserver> < validation validateintegratedmodeconfiguration =false> < handlers> ; < remove name =ExtensionlessUrlHandler-ISAPI-4.0_3 2位> < remove name =ExtensionlessUrlHandler-ISAPI-4.0_64bit> < remove name =ExtensionlessUrlHandler-Integrated-4.0> < add name =ExtensionlessUrlHandler-ISAPI-4.0_32bitpath =*。 verb =GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONSmodules =IsapiModulescriptprocessor =%windir%\ Mesrosoft.NET \ Framework\v4.0.30319 \ aspnet_isapi.dll前提条件=classicMode,runtimeVersionv4.0,bitness32responsebufferlimit =0> < add name =ExtensionlessUrlHandler-ISAPI-4.0_64bitpath =*。 verb =GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONSmodules =IsapiModulescriptprocessor =%windir%\ Mesrosoft.NET \ Framework64 \v4.0.30319 \ aspnet_isapi.dll前提条件=classicMode,runtimeVersionv4.0,bitness64responsebufferlimit =0> < add name =ExtensionlessUrlHandler-Integrated-4.0path =*。 verb =GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONStype =System.Web.Handlers.TransferRequestHandlerprecondition =integratedMode,runtimeVersionv4.0> < runtime> < assemblybinding xmlns =urn:schemas-microsoft-com:asm.v1> < dependentassembly> < assemblyidentity name =System.Web.Helperspublickeytoken =31bf3856ad364e35> < bindingredirect oldversion = 1.0.0.0-2.0.0.0newversion =2.0.0.0> < dependentassembly> < assemblyidentity name = System.Web.Mvcpublickeytoken =31bf3856ad364e35> < bindingredirect oldversion =1.0.0.0-4.0.0.0newversion =4.0.0.0> < dependentassembly> < assemblyidentity name =System.Web.WebPagespublickeytoken =31bf3856ad364e35> < bindingredirect oldvers ion =1.0.0.0-2.0.0.0newversion =2.0.0.0> < entityframework> < defaultconnectionfactory type =System.Data.Entity.Infrastructure.LocalDbConnectionFactory,EntityFramework> < parameters> < parameter value =v12.0> 请帮助我,这是非常有条理的交付推荐答案您需要联系goDaddy支持,因为他们是必须进行更改的人。You need to contact goDaddy support as they are the ones who will have to make the changes. 这篇关于在Godaddy上托管Entity DataModel的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-06 11:12