Skip to content

Instantly share code, notes, and snippets.

@dcrosby42
Created March 9, 2011 15:37
Show Gist options
  • Save dcrosby42/862414 to your computer and use it in GitHub Desktop.
Save dcrosby42/862414 to your computer and use it in GitHub Desktop.
Vendor "Wes" cannot submit vendor info.
System.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at SubSonic.DataProviders.DbDataProvider.ExecuteQuery(QueryCommand qry)
at SubSonic.Repository.SubSonicRepository`1.Update(T item, IDataProvider provider)
at GRCityPointsLib.Models.Vendor.Update(IDataProvider provider)
at GRCityPointsLib.Repositories.VendorRepository.Update(Vendor vendor)
at GRCityPoints.Controllers.VendorController.Edit(VendorViewModel edited)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
-----------------------------------------
Current User: Wes
Request was: POST to VendorController.Edit()
Route Data: id = 1425
Query String:
-----------------------------------------
Cookies:
System.Web.HttpCookieCollection
-----------------------------------------
Server variables:
ALL_HTTP=HTTP_CACHE_CONTROL%3ano-cache%0d%0aHTTP_CONNECTION%3aKeep-Alive%0d%0aHTTP_CONTENT_LENGTH%3a2971%0d%0aHTTP_CONTENT_TYPE%3amultipart%2fform-data%3b+boundary%3d---------------------------7db38f10b0246%0d%0aHTTP_ACCEPT%3aimage%2fjpeg%2c+image%2fgif%2c+image%2fpjpeg%2c+application%2fx-ms-application%2c+application%2fxaml%2bxml%2c+application%2fx-ms-xbap%2c+*%2f*%0d%0aHTTP_ACCEPT_ENCODING%3agzip%2c+deflate%0d%0aHTTP_ACCEPT_LANGUAGE%3aen-US%0d%0aHTTP_COOKIE%3a__utmc%3d49318567%3b+__utma%3d49318567.1871595529.1299677970.1299677970.1299677970.1%3b+__utmb%3d49318567.16.10.1299677970%3b+__utmz%3d49318567.1299677970.1.1.utmcsr%3d(direct)%7cutmccn%3d(direct)%7cutmcmd%3d(none)%3b+.ASPXAUTH%3d2CA7A20126449E0A859219134C5ECDC76DB95E22214145ADF13F94F69726E30ECF34BAD146EF20F87B12FC9AF560F865E2930196627316D218AB62BC377919D37821CF74BB5AA23647D327B66C4A7BD2DC7614A760A1239A8F5A1E4D327CC27F%3b+ASP.NET_SessionId%3dy4520cxvtvahbzrvoiyxoios%0d%0aHTTP_HOST%3apoints.mygrcity.us%0d%0aHTTP_REFERER%3ahttp%3a%2f%2fpoints.mygrcity.us%2fVendor%2fEdit%2f1425%0d%0aHTTP_USER_AGENT%3aMozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+6.1%3b+WOW64%3b+Trident%2f4.0%3b+SLCC2%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.5.30729%3b+.NET+CLR+3.0.30729)%0d%0a&ALL_RAW=Cache-Control%3a+no-cache%0d%0aConnection%3a+Keep-Alive%0d%0aContent-Length%3a+2971%0d%0aContent-Type%3a+multipart%2fform-data%3b+boundary%3d---------------------------7db38f10b0246%0d%0aAccept%3a+image%2fjpeg%2c+image%2fgif%2c+image%2fpjpeg%2c+application%2fx-ms-application%2c+application%2fxaml%2bxml%2c+application%2fx-ms-xbap%2c+*%2f*%0d%0aAccept-Encoding%3a+gzip%2c+deflate%0d%0aAccept-Language%3a+en-US%0d%0aCookie%3a+__utmc%3d49318567%3b+__utma%3d49318567.1871595529.1299677970.1299677970.1299677970.1%3b+__utmb%3d49318567.16.10.1299677970%3b+__utmz%3d49318567.1299677970.1.1.utmcsr%3d(direct)%7cutmccn%3d(direct)%7cutmcmd%3d(none)%3b+.ASPXAUTH%3d2CA7A20126449E0A859219134C5ECDC76DB95E22214145ADF13F94F69726E30ECF34BAD146EF20F87B12FC9AF560F865E2930196627316D218AB62BC377919D37821CF74BB5AA23647D327B66C4A7BD2DC7614A760A1239A8F5A1E4D327CC27F%3b+ASP.NET_SessionId%3dy4520cxvtvahbzrvoiyxoios%0d%0aHost%3a+points.mygrcity.us%0d%0aReferer%3a+http%3a%2f%2fpoints.mygrcity.us%2fVendor%2fEdit%2f1425%0d%0aUser-Agent%3a+Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+6.1%3b+WOW64%3b+Trident%2f4.0%3b+SLCC2%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.5.30729%3b+.NET+CLR+3.0.30729)%0d%0a&APPL_MD_PATH=%2fLM%2fW3SVC%2f2%2fROOT&APPL_PHYSICAL_PATH=C%3a%5cinetpub%5cMyGRCityPoints%5c&AUTH_TYPE=Forms&AUTH_USER=User_1401&AUTH_PASSWORD=&LOGON_USER=User_1401&REMOTE_USER=User_1401&CERT_COOKIE=&CERT_FLAGS=&CERT_ISSUER=&CERT_KEYSIZE=&CERT_SECRETKEYSIZE=&CERT_SERIALNUMBER=&CERT_SERVER_ISSUER=&CERT_SERVER_SUBJECT=&CERT_SUBJECT=&CONTENT_LENGTH=2971&CONTENT_TYPE=multipart%2fform-data%3b+boundary%3d---------------------------7db38f10b0246&GATEWAY_INTERFACE=CGI%2f1.1&HTTPS=off&HTTPS_KEYSIZE=&HTTPS_SECRETKEYSIZE=&HTTPS_SERVER_ISSUER=&HTTPS_SERVER_SUBJECT=&INSTANCE_ID=2&INSTANCE_META_PATH=%2fLM%2fW3SVC%2f2&LOCAL_ADDR=10.2.254.31&PATH_INFO=%2fVendor%2fEdit%2f1425&PATH_TRANSLATED=C%3a%5cinetpub%5cMyGRCityPoints%5cVendor%5cEdit%5c1425&QUERY_STRING=&REMOTE_ADDR=69.128.222.98&REMOTE_HOST=69.128.222.98&REMOTE_PORT=35902&REQUEST_METHOD=POST&SCRIPT_NAME=%2fVendor%2fEdit%2f1425&SERVER_NAME=points.mygrcity.us&SERVER_PORT=80&SERVER_PORT_SECURE=0&SERVER_PROTOCOL=HTTP%2f1.1&SERVER_SOFTWARE=Microsoft-IIS%2f7.0&URL=%2fVendor%2fEdit%2f1425&HTTP_CACHE_CONTROL=no-cache&HTTP_CONNECTION=Keep-Alive&HTTP_CONTENT_LENGTH=2971&HTTP_CONTENT_TYPE=multipart%2fform-data%3b+boundary%3d---------------------------7db38f10b0246&HTTP_ACCEPT=image%2fjpeg%2c+image%2fgif%2c+image%2fpjpeg%2c+application%2fx-ms-application%2c+application%2fxaml%2bxml%2c+application%2fx-ms-xbap%2c+*%2f*&HTTP_ACCEPT_ENCODING=gzip%2c+deflate&HTTP_ACCEPT_LANGUAGE=en-US&HTTP_COOKIE=__utmc%3d49318567%3b+__utma%3d49318567.1871595529.1299677970.1299677970.1299677970.1%3b+__utmb%3d49318567.16.10.1299677970%3b+__utmz%3d49318567.1299677970.1.1.utmcsr%3d(direct)%7cutmccn%3d(direct)%7cutmcmd%3d(none)%3b+.ASPXAUTH%3d2CA7A20126449E0A859219134C5ECDC76DB95E22214145ADF13F94F69726E30ECF34BAD146EF20F87B12FC9AF560F865E2930196627316D218AB62BC377919D37821CF74BB5AA23647D327B66C4A7BD2DC7614A760A1239A8F5A1E4D327CC27F%3b+ASP.NET_SessionId%3dy4520cxvtvahbzrvoiyxoios&HTTP_HOST=points.mygrcity.us&HTTP_REFERER=http%3a%2f%2fpoints.mygrcity.us%2fVendor%2fEdit%2f1425&HTTP_USER_AGENT=Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+6.1%3b+WOW64%3b+Trident%2f4.0%3b+SLCC2%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.5.30729%3b+.NET+CLR+3.0.30729)
=========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment