Re: running IIS failed - DOTNET
This is a discussion on Re: running IIS failed - DOTNET ; On Jan 23, 12:58 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> HRESULT is a common return type from many Windows API calls. There should
> be an hresult ...
-
Re: running IIS failed
On Jan 23, 12:58 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> HRESULT is a common return type from many Windows API calls. There should
> be an hresult field 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...> 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:
> >> "see HRESULT". Did you?
>
> >> Paul T.
>
> >> "nafi" <hnbnafi...> 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 ,see HRESULT"
> >> > ......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 about HRESULT.
i got the
HRESULT= -2147012867
Native Error=28037
do u have any suggestions to solve this error?
Thanks
-nafi
-
Re: running IIS failed
I found this on the first try with a Google search:
http://forums.microsoft.com/MSDN/Sho...53068&SiteID=1
--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"nafi" <hnbnafisha> 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:
>> HRESULT is a common return type from many Windows API calls. There
>> should
>> be an hresult field 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...> 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:
>> >> "see HRESULT". Did you?
>>
>> >> Paul T.
>>
>> >> "nafi" <hnbnafi...> 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 ,see HRESULT"
>> >> > ......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 about HRESULT.
> i got the
> HRESULT= -2147012867
> Native Error=28037
> do u have any suggestions to solve this error?
>
> Thanks
> -nafi
>
-
Re: running IIS failed
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/Sho...53068&SiteID=1
>
> --
> Chris Tacke
> OpenNETCF Consulting
> Managed Code in the Embedded Worldwww.opennetcf.com
> --
>
> "nafi" <hnbnafi...> 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...> 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...> 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..
Thanks
Similar Threads
-
By Application Development in forum labview
Replies: 0
Last Post: 08-23-2007, 10:10 AM
-
By Application Development in forum IMAP
Replies: 1
Last Post: 03-21-2007, 09:57 PM
-
By Application Development in forum basic.visual
Replies: 3
Last Post: 07-05-2006, 10:05 PM
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 05-12-2004, 11:40 PM
-
By Application Development in forum Microsoft Exchange
Replies: 1
Last Post: 11-14-2003, 05:38 PM