On Feb 1, 10:03 pm, "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote:
> I found this on the first try with a Google search:
>
>
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=53068&SiteID=1 >
> --
> Chris Tacke
> OpenNETCF Consulting
> Managed Code in the Embedded World
www.opennetcf.com > --
>
> "nafi" <hnbnafi...@gmail.com> wrote in message
>
> news:1170316517.117389.228070@m58g2000cwm.googlegroups.com...
>
>
>
> > On Jan 23, 12:58 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
> > no instrument no spam DOT com> wrote:
> >>HRESULTis a common return type from many Windows API calls. There
> >> should
> >> be anhresultfield in the exception that is being thrown and from which
> >> the
> >> message you indicated originated. Add error checking to your code to
> >> catch
> >> the exception and, in the debugger, inspect the exception object...
>
> >> Paul T.
>
> >> "nafi" <hnbnafi...@gmail.com> wrote in message
>
> >>news:1169300188.302880.269700@v45g2000cwv.googlegroups.com...
>
> >> > hi ,
> >> > "HRESULT".....what does it mean ??....why it happens??.....can u
> >> > explain me?
> >> > thank u
> >> > Paul G. Tobey [eMVP] wrote:
> >> >> "seeHRESULT". Did you?
>
> >> >> Paul T.
>
> >> >> "nafi" <hnbnafi...@gmail.com> wrote in message
> >> >>news:1169178237.191679.270490@v45g2000cwv.googlegroups.com...
> >> >> > hi,
> >> >> > now i'm working with replication using VS.Net2003 and SQL2000.....i
> >> >> > couldn't syncronize ....i got error like " A request to send data to
> >> >> > the computer runningIIShasfailed.For more information ,seeHRESULT"
> >> >> > ......here my codes
>
> >> >> > Dim rep As SqlCeReplication
> >> >> > Try
> >> >> > rep = New SqlCeReplication
>
> >> >> > rep.PublisherSecurityMode =
> >> >> > SecurityType.NTAuthentication
>
> >> >> > rep.InternetUrl =
> >> >> > "
https://152.226.128.226/Northwind/sscesa20.dll"
>
> >> >> > rep.InternetLogin = "Administrator"
>
> >> >> > rep.InternetPassword = "nafipassword"
>
> >> >> > rep.Publisher = "TP-B4EYXYGNF6AN\TP"
>
> >> >> > rep.PublisherDatabase = "Northwind"
>
> >> >> > rep.PublisherLogin = "sa"
>
> >> >> > rep.Publication = "NorthwindProducts"
>
> >> >> > rep.Subscriber = SUBSCRIBER
>
> >> >> > rep.SubscriberConnectionString = "Data
> >> >> > source=\My
> >> >> > Documents\Products.sdf"
>
> >> >> > If File.Exists("\My Documents\Products.sdf")
> >> >> > Then
> >> >> > rep.Synchronize()
> >> >> > Else
> >> >> > MessageBox.Show("You must first create a database",
> >> >> > "Error")
> >> >> > End If
>
> >> >> > End Try
>
> >> >> > can anyone help me!!
> >> >> > Thank u- Hide quoted text -
>
> >> - Show quoted text -
>
> > Thanks Mr.Poul T for ur explanation aboutHRESULT.
> > i got the
> >HRESULT= -2147012867
> > Native Error=28037
> > do u have any suggestions to solve this error?
>
> > Thanks
> > -nafi- Hide quoted text -
>
> - Show quoted text -
i aleady check that settings.....but still i can't solve..