, 모든 것이 로컬로 실행할 때 기대 작품으로하지만 난 다음 오류 얻을 서버에 게시 할 때 :ASP.NET DATETIME2 문제는 내 ASP.NET 응용 프로그램에서
"The version of SQL Server in use does not support datatype 'datetime2'."
을 어떻게하면이 오류를 해결할 수 있습니다 ?
, 모든 것이 로컬로 실행할 때 기대 작품으로하지만 난 다음 오류 얻을 서버에 게시 할 때 :ASP.NET DATETIME2 문제는 내 ASP.NET 응용 프로그램에서
"The version of SQL Server in use does not support datatype 'datetime2'."
을 어떻게하면이 오류를 해결할 수 있습니다 ?
If you are using Entity Framework model in your project.
Then open entity model in html or xml mode. and change ProviderManifestToken="2008"
to ProviderManifestToken="2005". after that publish on server then check and let me know.
나는 그 일을 희망 .. –
변경 후 게시, 그 덕분에, –
사람 이름을 묻는 질문을 보니 좋은 "Sehta Umesh"이며 답변을주는 사람 이름은 "Umesh Sehta"입니다! –
이 기사에 따르면 SQL Server 2008+는 datetime2를 지원합니다. 귀하의 서버가 SQL 2008 이상을 실행하지는 않지만 귀하의 로컬 SQL Express는 실행된다고 가정합니다.
는 http://stackoverflow.com/questions/10224406/the-version-of-sql-server-in-use-does-not-support-datatype-datetime2 –