Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2006

Tip: Looking for answers? Try searching our database.

Web Service Software Factory Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nilkanth Desai - 08 Dec 2006 04:29 GMT
Hi,
     I am using Web Service Software Factiry July 2006 edition. I have
succflly created one small project with Client side imlementation. But While
Calling a service methid on pressing Save button on Client Form I am
receiving exceotuin as below.

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> Shiva.DataAccess.RepositoryFailureException: Unexpected error
occurred in the database server ---> System.Data.SqlClient.SqlException:
Procedure or function 'InsertShapeMst' expects parameter '@iD', which was not
supplied.
  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(TdsParserStateObject
stateObj)
  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
Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DbCommand command)
  at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DbCommand
command)
  at Shiva.DataAccess.Repository`1.Add(IInsertFactory`1 insertFactory,
TDomainObject domainObj) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\Generic\Repository.cs:line 96
  at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line 34
  --- End of inner exception stack trace ---
  at Shiva.DataAccess.ShapeRepository.HandleSqlException(SqlException ex,
IDbToBusinessEntityNameMapper mapper) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\ShapeRepository.cs:line 60
  at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line 38
  at Shiva.BusinessLogic.AddShape.RegisterShape(Shape shape) in
C:\Shiva\Source\Business Component\Shiva.BusinessLogic\AddShape.cs:line 14
  at Shiva.ServiceImplementation.ShapeService.AddNewShape(ShapeInfoRequest
AddNewShapeRequest) in
C:\Shiva\Source\Service\Shiva.ServiceImplementation\ShapeService.cs:line 33
  --- End of inner exception stack trace ---

         I am facing this trouble since long time Please anyone Who can
help me to solve this issue.

Nilkanth Desai
Pablo Cibraro [MVP] - 08 Dec 2006 15:06 GMT
Hi,

There is an error in your data layer.  You are trying to execute a store
procedure "InsertShapeMst" in SQL Server, but you are not proving the right
parameters to execute it (You need to provide a value for the parameter @iD.
in the store procedure)

Regards,
Pablo Cibraro.

> Hi,
>      I am using Web Service Software Factiry July 2006 edition. I have
[quoted text clipped - 63 lines]
>
> Nilkanth Desai

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.