Server Error in '/' Application.

Ошибка преобразования значения nvarchar "256xxxmovie.top" в тип данных int.

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.Data.SqlClient.SqlException: Ошибка преобразования значения nvarchar "256xxxmovie.top" в тип данных int.

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.

Stack Trace:


[SqlException (0x80131904): Ошибка преобразования значения nvarchar "256xxxmovie.top" в тип данных int.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +388
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515
   System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) +385
   System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) +502
   System.Data.SqlClient.SqlDataReader.Read() +37
   SpecMashService.Project.GetGeneratorInfo(String id) in C:\Projects\SpecMashServ\Site\ProjectServer\Project.cs:212
   SpecMashService.GeneratorViewer..ctor(HeaderFooter hf) in C:\Projects\SpecMashServ\Site\generator-viewer.aspx.cs:58
   SpecMashService.GeneratorViewerPage.Init() in C:\Projects\SpecMashServ\Site\generator-viewer.aspx.cs:26
   STWebSite.BaseWebSitePage.OnInit(EventArgs e) in C:\Projects\SpecMashServ\Site\WebSiteServer\BaseWebSitePage.cs:115
   System.Web.UI.Control.InitRecursive(Control namingContainer) +186
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209