My intranet App doesn"t work without the internet connection

My intranet App doesn"t work without the internet connection

am 18.04.2008 15:43:04 von marianewsgroupcom

I have an application on ASP.NET installed on Windows Server 2003 and IIS 6.0
with SQL Server 2005, when my internet connection is broken the app doesn't
work. I have my LAN DNS. The app, website and DB are on the same server.
The dns is in another server. I usually use my app in this way:
http://servername/websitename . Please, I appreciate your help with this
problem.

"maria@newsgroup.com"

Re: My intranet App doesn"t work without the internet connection

am 18.04.2008 16:27:35 von avidfan

when its not working try to ping the server and see what ip address it tries
to go to. this may also depend on your router setup, if the servername
resolves to your external ip address then the router may be trying to send
it through the external interface which may fail if not connected to the
internet. also from the server try to ping the sql server by the same way
you reference it in the code, either servername, domain name or ip to see if
that works.

note that i have also seen clients get confused, and even when you have
internal dns set up to give you the lan address for the server they can end
up getting the external ip address... and once they have that you have to
close down everything and either reboot or do ipconfig/flushdns to get the
cache cleared... note that the flushdns won't work if something like outlook
or ie or maybe some other programs are still running, they seem to lock the
cache so it won't flush properly.


"maria@newsgroup.com" wrote in
message news:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.com...
>I have an application on ASP.NET installed on Windows Server 2003 and IIS
>6.0
> with SQL Server 2005, when my internet connection is broken the app
> doesn't
> work. I have my LAN DNS. The app, website and DB are on the same server.
> The dns is in another server. I usually use my app in this way:
> http://servername/websitename . Please, I appreciate your help with this
> problem.
>
> "maria@newsgroup.com"
>

Re: My intranet App doesn"t work without the internet connection

am 18.04.2008 21:39:01 von marianewsgroupcom

Hi Dave:
The first option, I did it, when its not working I had ping the server, and
it resolved my internal address. The SQL server is the same server, and it
works too.

I would do the option with the flushdns, and I let you know the result.

Thanks for your help. I appreciate it.

"Dave" wrote:

> when its not working try to ping the server and see what ip address it tries
> to go to. this may also depend on your router setup, if the servername
> resolves to your external ip address then the router may be trying to send
> it through the external interface which may fail if not connected to the
> internet. also from the server try to ping the sql server by the same way
> you reference it in the code, either servername, domain name or ip to see if
> that works.
>
> note that i have also seen clients get confused, and even when you have
> internal dns set up to give you the lan address for the server they can end
> up getting the external ip address... and once they have that you have to
> close down everything and either reboot or do ipconfig/flushdns to get the
> cache cleared... note that the flushdns won't work if something like outlook
> or ie or maybe some other programs are still running, they seem to lock the
> cache so it won't flush properly.
>
>
> "maria@newsgroup.com" wrote in
> message news:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.com...
> >I have an application on ASP.NET installed on Windows Server 2003 and IIS
> >6.0
> > with SQL Server 2005, when my internet connection is broken the app
> > doesn't
> > work. I have my LAN DNS. The app, website and DB are on the same server.
> > The dns is in another server. I usually use my app in this way:
> > http://servername/websitename . Please, I appreciate your help with this
> > problem.
> >
> > "maria@newsgroup.com"
> >
>
>
>

Re: My intranet App doesn"t work without the internet connection

am 21.04.2008 18:40:03 von marianewsgroupcom

Hi Dave:
I did the ipconfig /flushdns on the APP server, and the clients, Disconecct
the internet, and try ipconfig all the clients resolved good the app server
Ip address, but the app continue working slowly. Please if you have any other
tick let me know.

Waiting for your help.

Thanks,

"maria@newsgroup.com" wrote:

> Hi Dave:
> The first option, I did it, when its not working I had ping the server, and
> it resolved my internal address. The SQL server is the same server, and it
> works too.
>
> I would do the option with the flushdns, and I let you know the result.
>
> Thanks for your help. I appreciate it.
>
> "Dave" wrote:
>
> > when its not working try to ping the server and see what ip address it tries
> > to go to. this may also depend on your router setup, if the servername
> > resolves to your external ip address then the router may be trying to send
> > it through the external interface which may fail if not connected to the
> > internet. also from the server try to ping the sql server by the same way
> > you reference it in the code, either servername, domain name or ip to see if
> > that works.
> >
> > note that i have also seen clients get confused, and even when you have
> > internal dns set up to give you the lan address for the server they can end
> > up getting the external ip address... and once they have that you have to
> > close down everything and either reboot or do ipconfig/flushdns to get the
> > cache cleared... note that the flushdns won't work if something like outlook
> > or ie or maybe some other programs are still running, they seem to lock the
> > cache so it won't flush properly.
> >
> >
> > "maria@newsgroup.com" wrote in
> > message news:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.com...
> > >I have an application on ASP.NET installed on Windows Server 2003 and IIS
> > >6.0
> > > with SQL Server 2005, when my internet connection is broken the app
> > > doesn't
> > > work. I have my LAN DNS. The app, website and DB are on the same server.
> > > The dns is in another server. I usually use my app in this way:
> > > http://servername/websitename . Please, I appreciate your help with this
> > > problem.
> > >
> > > "maria@newsgroup.com"
> > >
> >
> >
> >

Re: My intranet App doesn"t work without the internet connection

am 21.04.2008 20:56:37 von David Wang

"Working slowly" and "Doesn't work" sound like two different things.
And both cases usually have error responses and/or logging that
indicate next steps to troubleshoot.

Can you clarify exactly which problem you actually have? It really
sounds like the problem is either in your application, your
configuration of the application, or configuration of your internal
network's routing.

It sounds like your application is referencing its dependent resources
(like SQL Server) using the External name/address, in which case when
the Internet connection is gone from the server, that name will fail
to resolve (since the inbound Internet connection is also disconnected
and fails) and thus things can take a long time to timeout and
eventually fail.

In combination with what you are trying (which is to make sure names/
routing are connected regardless of how the server is connected to the
Internet), you need to make sure the application is actually using the
correct names to resolve to IP addresses.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Apr 21, 9:40=A0am, ma...@newsgroup.com
wrote:
> Hi Dave:
> I did the ipconfig /flushdns on the APP server, and the clients, Disconecc=
t
> the internet, and try ipconfig all the clients resolved good the app serve=
r
> Ip address, but the app continue working slowly. Please if you have any ot=
her
> tick let me know.
>
> Waiting for your help.
>
> Thanks,
>
>
>
> "ma...@newsgroup.com" wrote:
> > Hi Dave:
> > The first option, I did it, when its not working I had ping the server, =
and
> > it resolved my internal address. The SQL server is the same server, and =
it
> > works too.
>
> > I would do the option with the flushdns, and I let you know the result.
>
> > Thanks for your help. I appreciate it.
>
> > "Dave" wrote:
>
> > > when its not working try to ping the server and see what ip address it=
tries
> > > to go to. =A0this may also depend on your router setup, if the servern=
ame
> > > resolves to your external ip address then the router may be trying to =
send
> > > it through the external interface which may fail if not connected to t=
he
> > > internet. =A0also from the server try to ping the sql server by the sa=
me way
> > > you reference it in the code, either servername, domain name or ip to =
see if
> > > that works.
>
> > > note that i have also seen clients get confused, and even when you hav=
e
> > > internal dns set up to give you the lan address for the server they ca=
n end
> > > up getting the external ip address... and once they have that you have=
to
> > > close down everything and either reboot or do ipconfig/flushdns to get=
the
> > > cache cleared... note that the flushdns won't work if something like o=
utlook
> > > or ie or maybe some other programs are still running, they seem to loc=
k the
> > > cache so it won't flush properly.
>
> > > "ma...@newsgroup.com" wr=
ote in
> > > messagenews:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.c om...
> > > >I have an application on ASP.NET installed on Windows Server 2003 and=
IIS
> > > >6.0
> > > > with SQL Server 2005, when my internet connection is broken the app
> > > > doesn't
> > > > work. I have my LAN DNS. =A0 The app, website and DB are on the same=
server.
> > > > The dns is in another server. I usually use my app in this way:
> > > >http://servername/websitename. Please, I appreciate your help with th=
is
> > > > problem.
>
> > > > "ma...@newsgroup.com"- Hide quoted text -
>
> - Show quoted text -

Re: My intranet App doesn"t work without the internet connection

am 21.04.2008 22:22:00 von marianewsgroupcom

Hi David:
I'm sorry, but I'm using incorrect the words. My application is working
slowly, what I'm trying to say, because it works, but slowly when the
internet connection fails.

"David Wang" wrote:

> "Working slowly" and "Doesn't work" sound like two different things.
> And both cases usually have error responses and/or logging that
> indicate next steps to troubleshoot.
>
> Can you clarify exactly which problem you actually have? It really
> sounds like the problem is either in your application, your
> configuration of the application, or configuration of your internal
> network's routing.
>
> It sounds like your application is referencing its dependent resources
> (like SQL Server) using the External name/address, in which case when
> the Internet connection is gone from the server, that name will fail
> to resolve (since the inbound Internet connection is also disconnected
> and fails) and thus things can take a long time to timeout and
> eventually fail.
>
> In combination with what you are trying (which is to make sure names/
> routing are connected regardless of how the server is connected to the
> Internet), you need to make sure the application is actually using the
> correct names to resolve to IP addresses.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
> On Apr 21, 9:40 am, ma...@newsgroup.com
> wrote:
> > Hi Dave:
> > I did the ipconfig /flushdns on the APP server, and the clients, Disconecct
> > the internet, and try ipconfig all the clients resolved good the app server
> > Ip address, but the app continue working slowly. Please if you have any other
> > tick let me know.
> >
> > Waiting for your help.
> >
> > Thanks,
> >
> >
> >
> > "ma...@newsgroup.com" wrote:
> > > Hi Dave:
> > > The first option, I did it, when its not working I had ping the server, and
> > > it resolved my internal address. The SQL server is the same server, and it
> > > works too.
> >
> > > I would do the option with the flushdns, and I let you know the result.
> >
> > > Thanks for your help. I appreciate it.
> >
> > > "Dave" wrote:
> >
> > > > when its not working try to ping the server and see what ip address it tries
> > > > to go to. this may also depend on your router setup, if the servername
> > > > resolves to your external ip address then the router may be trying to send
> > > > it through the external interface which may fail if not connected to the
> > > > internet. also from the server try to ping the sql server by the same way
> > > > you reference it in the code, either servername, domain name or ip to see if
> > > > that works.
> >
> > > > note that i have also seen clients get confused, and even when you have
> > > > internal dns set up to give you the lan address for the server they can end
> > > > up getting the external ip address... and once they have that you have to
> > > > close down everything and either reboot or do ipconfig/flushdns to get the
> > > > cache cleared... note that the flushdns won't work if something like outlook
> > > > or ie or maybe some other programs are still running, they seem to lock the
> > > > cache so it won't flush properly.
> >
> > > > "ma...@newsgroup.com" wrote in
> > > > messagenews:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.c om...
> > > > >I have an application on ASP.NET installed on Windows Server 2003 and IIS
> > > > >6.0
> > > > > with SQL Server 2005, when my internet connection is broken the app
> > > > > doesn't
> > > > > work. I have my LAN DNS. The app, website and DB are on the same server.
> > > > > The dns is in another server. I usually use my app in this way:
> > > > >http://servername/websitename. Please, I appreciate your help with this
> > > > > problem.
> >
> > > > > "ma...@newsgroup.com"- Hide quoted text -
> >
> > - Show quoted text -
>

Re: My intranet App doesn"t work without the internet connection

am 21.04.2008 23:21:03 von avidfan

ah yes, VERY different. check the order of your dns servers. if your
internet server is before your internal server you will be waiting for the
internet one to time out before using the internal one.

"maria@newsgroup.com" wrote in
message news:5B0FC0EF-3215-4283-9958-735BC5A3F543@microsoft.com...
> Hi David:
> I'm sorry, but I'm using incorrect the words. My application is working
> slowly, what I'm trying to say, because it works, but slowly when the
> internet connection fails.
>
> "David Wang" wrote:
>
>> "Working slowly" and "Doesn't work" sound like two different things.
>> And both cases usually have error responses and/or logging that
>> indicate next steps to troubleshoot.
>>
>> Can you clarify exactly which problem you actually have? It really
>> sounds like the problem is either in your application, your
>> configuration of the application, or configuration of your internal
>> network's routing.
>>
>> It sounds like your application is referencing its dependent resources
>> (like SQL Server) using the External name/address, in which case when
>> the Internet connection is gone from the server, that name will fail
>> to resolve (since the inbound Internet connection is also disconnected
>> and fails) and thus things can take a long time to timeout and
>> eventually fail.
>>
>> In combination with what you are trying (which is to make sure names/
>> routing are connected regardless of how the server is connected to the
>> Internet), you need to make sure the application is actually using the
>> correct names to resolve to IP addresses.
>>
>>
>> //David
>> http://w3-4u.blogspot.com
>> http://blogs.msdn.com/David.Wang
>> //
>>
>>
>>
>> On Apr 21, 9:40 am, ma...@newsgroup.com
>> wrote:
>> > Hi Dave:
>> > I did the ipconfig /flushdns on the APP server, and the clients,
>> > Disconecct
>> > the internet, and try ipconfig all the clients resolved good the app
>> > server
>> > Ip address, but the app continue working slowly. Please if you have any
>> > other
>> > tick let me know.
>> >
>> > Waiting for your help.
>> >
>> > Thanks,
>> >
>> >
>> >
>> > "ma...@newsgroup.com" wrote:
>> > > Hi Dave:
>> > > The first option, I did it, when its not working I had ping the
>> > > server, and
>> > > it resolved my internal address. The SQL server is the same server,
>> > > and it
>> > > works too.
>> >
>> > > I would do the option with the flushdns, and I let you know the
>> > > result.
>> >
>> > > Thanks for your help. I appreciate it.
>> >
>> > > "Dave" wrote:
>> >
>> > > > when its not working try to ping the server and see what ip address
>> > > > it tries
>> > > > to go to. this may also depend on your router setup, if the
>> > > > servername
>> > > > resolves to your external ip address then the router may be trying
>> > > > to send
>> > > > it through the external interface which may fail if not connected
>> > > > to the
>> > > > internet. also from the server try to ping the sql server by the
>> > > > same way
>> > > > you reference it in the code, either servername, domain name or ip
>> > > > to see if
>> > > > that works.
>> >
>> > > > note that i have also seen clients get confused, and even when you
>> > > > have
>> > > > internal dns set up to give you the lan address for the server they
>> > > > can end
>> > > > up getting the external ip address... and once they have that you
>> > > > have to
>> > > > close down everything and either reboot or do ipconfig/flushdns to
>> > > > get the
>> > > > cache cleared... note that the flushdns won't work if something
>> > > > like outlook
>> > > > or ie or maybe some other programs are still running, they seem to
>> > > > lock the
>> > > > cache so it won't flush properly.
>> >
>> > > > "ma...@newsgroup.com"
>> > > > wrote in
>> > > > messagenews:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.c om...
>> > > > >I have an application on ASP.NET installed on Windows Server 2003
>> > > > >and IIS
>> > > > >6.0
>> > > > > with SQL Server 2005, when my internet connection is broken the
>> > > > > app
>> > > > > doesn't
>> > > > > work. I have my LAN DNS. The app, website and DB are on the
>> > > > > same server.
>> > > > > The dns is in another server. I usually use my app in this way:
>> > > > >http://servername/websitename. Please, I appreciate your help with
>> > > > >this
>> > > > > problem.
>> >
>> > > > > "ma...@newsgroup.com"- Hide quoted text -
>> >
>> > - Show quoted text -
>>

Re: My intranet App doesn"t work without the internet connection

am 23.04.2008 17:16:01 von marianewsgroupcom

Hi Dave:
Thank you for your help. I have reviewed this part, and it isn't, because mi
internal DNS is first, and later the dns of my ISP.



"Dave" wrote:

> ah yes, VERY different. check the order of your dns servers. if your
> internet server is before your internal server you will be waiting for the
> internet one to time out before using the internal one.
>
> "maria@newsgroup.com" wrote in
> message news:5B0FC0EF-3215-4283-9958-735BC5A3F543@microsoft.com...
> > Hi David:
> > I'm sorry, but I'm using incorrect the words. My application is working
> > slowly, what I'm trying to say, because it works, but slowly when the
> > internet connection fails.
> >
> > "David Wang" wrote:
> >
> >> "Working slowly" and "Doesn't work" sound like two different things.
> >> And both cases usually have error responses and/or logging that
> >> indicate next steps to troubleshoot.
> >>
> >> Can you clarify exactly which problem you actually have? It really
> >> sounds like the problem is either in your application, your
> >> configuration of the application, or configuration of your internal
> >> network's routing.
> >>
> >> It sounds like your application is referencing its dependent resources
> >> (like SQL Server) using the External name/address, in which case when
> >> the Internet connection is gone from the server, that name will fail
> >> to resolve (since the inbound Internet connection is also disconnected
> >> and fails) and thus things can take a long time to timeout and
> >> eventually fail.
> >>
> >> In combination with what you are trying (which is to make sure names/
> >> routing are connected regardless of how the server is connected to the
> >> Internet), you need to make sure the application is actually using the
> >> correct names to resolve to IP addresses.
> >>
> >>
> >> //David
> >> http://w3-4u.blogspot.com
> >> http://blogs.msdn.com/David.Wang
> >> //
> >>
> >>
> >>
> >> On Apr 21, 9:40 am, ma...@newsgroup.com
> >> wrote:
> >> > Hi Dave:
> >> > I did the ipconfig /flushdns on the APP server, and the clients,
> >> > Disconecct
> >> > the internet, and try ipconfig all the clients resolved good the app
> >> > server
> >> > Ip address, but the app continue working slowly. Please if you have any
> >> > other
> >> > tick let me know.
> >> >
> >> > Waiting for your help.
> >> >
> >> > Thanks,
> >> >
> >> >
> >> >
> >> > "ma...@newsgroup.com" wrote:
> >> > > Hi Dave:
> >> > > The first option, I did it, when its not working I had ping the
> >> > > server, and
> >> > > it resolved my internal address. The SQL server is the same server,
> >> > > and it
> >> > > works too.
> >> >
> >> > > I would do the option with the flushdns, and I let you know the
> >> > > result.
> >> >
> >> > > Thanks for your help. I appreciate it.
> >> >
> >> > > "Dave" wrote:
> >> >
> >> > > > when its not working try to ping the server and see what ip address
> >> > > > it tries
> >> > > > to go to. this may also depend on your router setup, if the
> >> > > > servername
> >> > > > resolves to your external ip address then the router may be trying
> >> > > > to send
> >> > > > it through the external interface which may fail if not connected
> >> > > > to the
> >> > > > internet. also from the server try to ping the sql server by the
> >> > > > same way
> >> > > > you reference it in the code, either servername, domain name or ip
> >> > > > to see if
> >> > > > that works.
> >> >
> >> > > > note that i have also seen clients get confused, and even when you
> >> > > > have
> >> > > > internal dns set up to give you the lan address for the server they
> >> > > > can end
> >> > > > up getting the external ip address... and once they have that you
> >> > > > have to
> >> > > > close down everything and either reboot or do ipconfig/flushdns to
> >> > > > get the
> >> > > > cache cleared... note that the flushdns won't work if something
> >> > > > like outlook
> >> > > > or ie or maybe some other programs are still running, they seem to
> >> > > > lock the
> >> > > > cache so it won't flush properly.
> >> >
> >> > > > "ma...@newsgroup.com"
> >> > > > wrote in
> >> > > > messagenews:B5B38BA6-0257-433D-8525-A83EB1452820@microsoft.c om...
> >> > > > >I have an application on ASP.NET installed on Windows Server 2003
> >> > > > >and IIS
> >> > > > >6.0
> >> > > > > with SQL Server 2005, when my internet connection is broken the
> >> > > > > app
> >> > > > > doesn't
> >> > > > > work. I have my LAN DNS. The app, website and DB are on the
> >> > > > > same server.
> >> > > > > The dns is in another server. I usually use my app in this way:
> >> > > > >http://servername/websitename. Please, I appreciate your help with
> >> > > > >this
> >> > > > > problem.
> >> >
> >> > > > > "ma...@newsgroup.com"- Hide quoted text -
> >> >
> >> > - Show quoted text -
> >>
>
>
>